I have been trying to bulk upload product templates for days now and cannot seem to get it. My xml file matches that of the one I exported. Ids all match up, but they aren't updating... any ideas?
Here is my xml:
<AbleCommerceExport>
<Store>
<Products>
<Product>
<ProductId>29819</ProductId>
<StoreId>1</StoreId>
<Price>280</Price>
<MSRP>350</MSRP>
<Sku>10069</Sku>
<ModelNumber>0101-0035C</ModelNumber>
<TaxCode>Taxable</TaxCode>
<Shippable>1</Shippable>
<WarehouseId>1</WarehouseId>
<Warehouse>Truck Gear Network</Warehouse>
<ProductTemplateId>0</ProductTemplateId>
<TemplateFields>
<ProductTemplateField>
<ProductId>29819</ProductId>
<InputFieldId>22</InputFieldId>
<InputValue>$50 - $100</InputValue>
</ProductTemplateField>
</TemplateFields>
<ProductProductTemplates>
<ProductProductTemplate />
<ProductId>29819</ProductId>
<ProductTemplateId>6</ProductTemplateId>
</ProductProductTemplates>
</Product>
</Products>
</Store
</AbleCommerceExport>
Bulk Upload of Product Templates
Re: Bulk Upload of Product Templates
The XML structure seems correct, however missing some information like product name and category. You can find such products without category information at:
"Administration > Catalog > Orphaned Items"
But closely looking at your provided xml I identified one issue, look at the following:
Also make sure that the respective ProductTemplate exists and having exact same fields.
"Administration > Catalog > Orphaned Items"
But closely looking at your provided xml I identified one issue, look at the following:
You specifying "<ProductProductTemplate />" , which is a empty closing tag, the above part of the XML should be something like:<ProductProductTemplates>
<ProductProductTemplate />
<ProductId>29819</ProductId>
<ProductTemplateId>6</ProductTemplateId>
</ProductProductTemplates>
Code: Select all
<ProductProductTemplates>
<ProductProductTemplate>
<ProductId>29819</ProductId>
<ProductTemplateId>6</ProductTemplateId>
</ProductProductTemplate>
</ProductProductTemplates>
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter