Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Add new category

  1. #1
    r_bachar is offline Junior Member
    Join Date
    Nov 2009
    Posts
    23

    Default Add new category

    Hello,

    is there a way to set a new category according to the product?

    for example i have a book named X and i the "books" category doesn't exist...

    how / where i should declare the new books category?

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Not sure I got this. Need a bit of details here. thanks

  3. #3
    r_bachar is offline Junior Member
    Join Date
    Nov 2009
    Posts
    23

    Default

    Hey,

    i mean if i have 10 products, with 5 belong to books category and 5 belong to T-shirt category...

    Now the T-shirt category exist in the system and the books category isn't.

    How oar where in the XML can i define the books category to be automatic generate when i upload these products?

  4. #4
    Mike The Last Boyscout is offline User
    Join Date
    Nov 2008
    Posts
    254

    Default

    If when you're doing an XML import, you specify an xpath for the category:

    C#/VB.NET Code:
      <CategoryRef>/cat1/cat1-1/cat-1-1-1</CategoryRef
    It will automatically create those categories/sub-categories for you!