VirtueMart eshop solution is based on Joomla! (Content Management System). Import module can migrate, update or insert new items from XML datafeed from your product supplier. Module provide sophisticated settings for each XML feed product or category. You can set margins for each item or category which will be inserted or updated.
Import module is written in PHP language and it is completedly independent on VirtueMart. Hence you cannot afraid of any problem with intercompatibility of module and VirtueMart.
If you have supplier or wholesaler who enables you receive orders from your eshop we offer VirtueMart dropshipping integration.
During XML import it is necessary to process parameters described below.
Parameters of items
Reference - an internal parameter which connects items from XML feed with VirtueMart.
Category - prior to the import it is necessary to make an agreement where items are to be imported. There are three possibilities (*):
- Import module creates the same category structure from XML feed
- The administrator creates own categories and map XML categories to them in import module administration.
- All items are imported to one category called “Import”. After the first import the administrator moves items to the final category manually.
Price - price is inserted with or without conversion ratio (*)
Images - images are downloaded during first occurence of item in VirtueMart database i.e. insert of item)
Availability - it can be written to PrestaShop database same as in XML feed or some conversion can be carried out (*)
(*) needs of customers vary and thus it is necessary to determine how the imported items will be operated in the first place. After that it is possible to arrange XML import scripts.
Action for items and their parameters included in XML feed are two possibilities:
Insert an item
If an item isn t in the VirtueMart the module inserts the item to the VirtueMart database with corresponding parameters (see below). It is performed only once for each item.
If PrestaShop includes an item the module updates the parameters of the item. It is essential to set the updated parameters in administration. The parameters which are updated is neccessary set in administration.
Import solution for VirtueMart
- The main settings in administration of VirtueMart provide category mapping between XML feed and PrestaShop
- XML adapteradapter prepares data from XML feed in an internal format for the main import script (point 3.) in dependency on settings (point 1.)this adapter is necessary to fit (edit) for XML feed. XML feeds of suppliers can involve different formats of data. This editting can be carried out by me or by your programmer. It takes several hours. I can provide a running XML adapter from another supplier as model.
- Import script executed by CRON deamon performs the import of articles from XML feed into the PrestaShop database you can execute this script by CRON in any time writing a log into database informing about import process.
Import solution includes my services for arrangement of the XML adapter. I prepare the adapter for the format of your supplier trying to meet your needs at the same time with your needs.
The final price dependends on the complexity of XML processing.