Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: importing custom fields (xml data)

$
0
0
On Categories, and the XML IMport
  1. In your XML it doesn't matter what category ID you use, as long as it's consistent within your import file.
  2. In the categories section at the end of the file, this defines the mapping of IDs to names.
In example below, as long as everywhere I define the product to be in categorid id = 12, that product will end up in the "Home/SOHO" category.
<categories>
    <en-AU>
      <NB_Store_CategoriesInfo>
        <CategoryID>12</CategoryID>
        <PortalID>2</PortalID>
        <Archived>false</Archived>
        <CreatedByUser>1</CreatedByUser>
        <CreatedDate>2013-09-20T21:48:50.3818011+12:00</CreatedDate>
        <ParentCategoryID>0</ParentCategoryID>
        <ListOrder>-1</ListOrder>
        <Lang>en-AU</Lang>
        <CategoryName>Home/SOHO</CategoryName>
        <ParentName></ParentName>
        <CategoryDesc />
        <Message />
        <ProductCount>0</ProductCount>
        <ProductTemplate />
        <ListItemTemplate />
        <ListAltItemTemplate>false</ListAltItemTemplate>
      </NB_Store_CategoriesInfo>
I generate my products out of QuoteWerks, so I just use the Folder ID that is defined in QuoteWerks.

Hope this makes sense.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>