Developer forum

Forum » Ecommerce - Standard features » Import products from XML - problem

Import products from XML - problem

Sonni Tost
Reply

Hi all,

I am trying to import products (with Import/Export) from xml into the webshop - but it fails.

I have tried to export the products from the eCommerce (to see the xml format) - but if i copy the file and strips it down into a single product and try to import that - it fails with the following error:

XML error, unknown tag: ProductExclude FromIndex
XML error, unknown tag: ProductExclude FromCustomizedUrls
XML error, unknown tag: ProductExclude FromAllProducts

I am using the xml below.

Are there better ways of doing an import? I have to perfom the import once with products and product groups from another shop.

<?xml version="1.0" encoding="utf-8"?>
<Products>
    <Product>
        <ProductID>PROD250</ProductID>
        <ProductLanguageID>LANG1</ProductLanguageID>
        <ProductVariantID />
        <ProductGroupID>GROUP14</ProductGroupID>
        <ProductNumber>10002</ProductNumber>
        <ProductName>Supa Bike</ProductName>
        <ProductShortDescription>Supa Dupa bike 100 mph guaranteed!</ProductShortDescription>
        <ProductLongDescription>&lt;ul&gt;
        &lt;li&gt;Aluminum hardtail frame is lightweight and delivers solid performance on the trail&lt;/li&gt;
        &lt;li&gt;100mm of plush front suspension adds control and comfort in variable terrain&lt;/li&gt;
        &lt;li&gt;Shimano 24-speed drivetrain with 11/32T cassette gives you plenty of gearing options to choose from&lt;/li&gt;
        &lt;li&gt;EZ Fire trigger shifters for quick and effortless shifts&lt;/li&gt;
        &lt;li&gt;Aluminum handlebar, stem and adjustable seatpost supply core-level strength, style and performance&lt;/li&gt;
        &lt;li&gt;Kenda Komodo tires use a non-directional tread design to shed mud without compromising speed&lt;/li&gt;
        &lt;li&gt;ProMax mechanical disc brakes provide low maintenance, all-weather stopping power&lt;/li&gt;
        &lt;/ul&gt;</ProductLongDescription>
        <ProductImageSmall />
        <ProductImageMedium />
        <ProductImageLarge>/Billeder/Ecom/Products/10001.jpg</ProductImageLarge>
        <ProductLink1 />
        <ProductLink2 />
        <ProductPrice>999</ProductPrice>
        <ProductStock>25</ProductStock>
        <ProductWeight>0</ProductWeight>
        <ProductVolume>0</ProductVolume>
        <ProductManufacturerID />
        <ProductActive>True</ProductActive>
        <ProductPeriodID />
    </Product>
</Products>

Kind Regards

 

Sonni T.


Replies

 

You must be logged in to post in the forum