Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Addon [Soft-Solid] - Import Products From Xml File

 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 219 posts

Posted 14 November 2017 - 06:13 PM #1

[SoftSolid] - Import product from XML file

General information

This extension to CS-Cart and Multi-Vendor allows you to import products to store from XML file.
 

ss_xml_import_2_en.png


After addon installation we have default imports, which we can use as a base to define custom imports.
 

ss_xml_import_3_en.png
 

We need to perform following operations:

- configure import

- download categories from xml file (if they exist)

- map categories from xml file to categories in store

- load products
 

Import configuration


ss_xml_import_4_en.png

Here we set basic parameters of import. Each options is described under a question mark, which activates after hovering a cursor over it.
 

ss_xml_import_5_en.png

In margin fields we can type plus or minus values, which causes increasing or decreasing products prices.
 

ss_xml_import_6_en.png


Here we type tag or tags, in which all products are closed (you need to open xml file in browser to check its structure)


Warning: Fields “Product tag” in tab “Products” and “Opening tags” in tab “General” are conjoined. In case of categories, which are in seperate tag in XML file (are seperate section, for which products are referencing) we suggest to type in “Opening tags” field tags of main XML structure to category, and in “Product tag” other tags that are leading to products. This way, category tree will be parsed without problems.

 

ss_xml_import_7_en.png


Extension provides three methods of importing categories:


- categories in product record - categories are downloaded directly from products (entire XML file is parsed and list of categories attached to products is generated)

- categories in external tag - categories are in seperate section of XML file, and there is a reference to them in products section.

- no categories - products from XML file will be put in category defined in text field (it must exist in store)
 

Mapping fields means linking tags from XML file to store database fields. Using these links, data will be loaded to store.
 

Warning: If loaded data is in tag attributes, type tag and then attribute id with # between.
 

ss_xml_import_8_en.png


Here we see store categories assigned to categories in XML.
 

ss_xml_import_9_en.png


Categories can be assigned by typing their numbers or by choosing category edit under the rack.


ss_xml_import_10_en.png


After import configuration, we can set cyclic importing from cron. Prepared link can be found in “Cron settings”


Warning: To correctly assign products to categories during import, besides mapping categories in “Mapping objects” tab, you need to assign its “Field type” - Category to correct tag in XML file.

 

Features:

  • no core file changes
  • Compatibility CS-Cart version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x
  • Compatibility Multi-Vendor version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x


Please, do not hesitate contact us if you have any additional questions.

 

Link to addon

 

See our other addons in Marketplace.

 


Team of SoftSolid
cs-cart.pl