Back to Top

Opencart Marketplace Version2 Product Mass Upload XML File Demo

Updated 5 October 2017

This post will show you how to add and update products in mass using the XML file and will provide you an overview of the structure of the XML file.

Mass Upload Products (XML File)

For importing the products using the XML file –

  • Select the File Type as XML.
  • Select the Option to upload – New Products Only.
  • Click the Upload button to upload the XML file.
  • Lastly, click the “Save” button to import the products.

Seller-XML-Product-Upload

After entering all the information clicking the “Save” button will import all the products.

You can easily create a new XML file for uploading your products. Just use a notepad to write it up and save it with the XML extension or you can export your products to get a format for the XML file.

Start your headless eCommerce
now.
Find out More

The XML file starts with a <upload> tag and ends with a closing </upload> tag. Within these two tags, we can enter all the required information regarding the product being uploaded. Always remember that the tag name’s initial alphabet should always be a small letter. Also, while adding products it’s mandatory to include the category else the product will not be added.

If you are uploading more than one product then you must use the <product> and </product > tag within the <upload> tag. Else for a single product, there is no need to write the product data within the <product> and </product> tag.

Product-Tag-Information

Defining Product Description, Meta-Description, Keywords, & Title

You can add product description, meta-tag description, meta-tag keywords, meta-tag title and the product tags as per the snapshot below.Seller-Product-Description
Adding the – metatitle, meta-description, meta-keywords, and tags.
Meta-Description

How To – Define A Category

You can add multiple categories to a single product. You make use of the “///” separator if you have to add a product into a sub-category else directly write the category name.
Categories-Multiple-Assign

How To – Define Attributes

You can add the product’s attributes within the <product_attribute > and </product_attribute> tags. For the product attribute description, you can use the <product_attribute _description> within the <product_attribute> tag as shown below in the snapshot.
Product-Attribute-Seller-Add

How To – Define Options

Here the option name, type, value are essential for adding an option to the product. Option type must be in small letter and also in any language.
Product-Options-In-XML-File

How To – Add Special Entry For Product

You can add multiple special entries for a single product. You just have to enter the customer group, priority, price, date start and end date.

Special

How To – Define Discount Entry For Product

You can add multiple discount entry for the single or multiple products. You have to set the customer group, quantity, priority, the discounted price, the date start and Date end for the discount as per the snapshot below. Product-Discount-Entry

How To – Define Product SubImage(Thumbnail)

You can add multiple images for a product. You just have to provide the image path and the image sort order.
Product-Images

How To – Define Custom Field

For adding the custom field in XML file – name, type, and value is mandatory. Custom field type must be in small letter and custom field value must be same as the product option created in the admin side.
Custom-Field

**NoteCustom field is applicable for OC version 2.0.X

How To – Update Products(XML)

Select “Update Old Product’s” as shown in the below screenshot and enter valid parameters.

The product will be updated after clicking the next button.

SUCCESS_MESSAGE

 

Note:

The updated products in the updated product XML file should have the product id.

UPDATE_PRODUCT

How To – Update Attributes In XML File

If you want to update an attribute in the existing products, then those products should have the product id.

UPDATE_PRODUCT_ATTRIBUTE

After updating the XML file, upload it.

How To – Update Options In XML File

If you want to update an option of the existing products, then those products should have the product id. You can update multiple options for a single product and also update multiple values of an option for a single product. Option name, type, value are essential for updating an option. When you will update an option, the previous option will be deleted and the newly updated option will be applied.

UPDATE_PRODUCT_OPTION

After updating the XML file, upload it.

How To – Update Discount Entry In XML File

If you want to update discount entries in the existing product then, you have to add product id in XML file structure. Like below screenshot.

UPDATE_PRODUCT_DISCOUNT-ENTRY

After updating the XML file, upload it.

That’s all for the Opencart Marketplace Version2 Product Mass Upload XML File Demo. Still, have issues or want to give your suggestions to make this module better just raise a ticket at webkul.uvdesk.com

Current Product Version - 2.0.0.0

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content