VirtueMart
VirtueMart Orders import in RO CSVI
A template can be created by following these steps:
- Go to Components -> RO CSVI -> Templates
- Click New
- Give the template a name, say for example VirtueMart Order import
- Set Action to Import
- Set Component to VirtueMart
- Set Operation to Order
- Click Next: Select Source
- Source is set default to Load from your computer. No need for change.
- Click Next: Select options
- The default values are OK, change if needed.
- Click Next: Select fields
- Nothing needed here as we set to Use column headers as configuration in step 10.
- Click Next: Finalize
- All done here
- Click Close to return to the list of templates or Edit if you want to fine-tune the template further.
Adding the template fields
Template fields can be added by following these steps:
- Go to Components -> RO CSVI -> Templates
- Click on Template fields
- In the Search Tools select your template
- Click on New to add a single field or click on Quick Add to add multiple fields.
Quick Add
The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template.
Run the import
The import can be run by following these steps:
- Go to Components -> RO CSVI -> Import
- Select the template created earlier with name VirtueMart Order import
- Click Select file
- Select the file to import
- Click Preview
- You now see a preview of the file as to how RO CSVI sees the file
- Click Start import
- The import is run
- The Log details page will be shown with information regarding the import if the Enable logging is enabled in the template
Video showing the process
Creating an order
"order_number";"email";"user_currency";"payment_element";"order_total";"order_subtotal";"order_tax";"order_status_name"
"bfba03";"This email address is being protected from spambots. You need JavaScript enabled to view it.";"EUR";"standard";"10,50";"9,50";"1";"COM_VIRTUEMART_ORDER_STATUS_CANCELLED"
Creating an order keeping the order ID
"virtuemart_order_id";"email";"user_currency";"payment_element";"order_total";"order_subtotal";"order_tax";"order_status_name"
"260";"This email address is being protected from spambots. You need JavaScript enabled to view it.";"EUR";"standard";"10,50";"9,50";"1";"COM_VIRTUEMART_ORDER_STATUS_CANCELLED"
It is also possible to use the virtuemart_order_id instead of order_number but in the order import template the option "Keep Order ID" must be set to Yes.
Product Meta Information
VirtueMart | CSVI Import | CSVI Export |
---|---|---|
Custom Page Title | customtitle | customtitle |
Product Meta Description | metadesc | metadesc |
Product Meta Key | metakey | metakey |
Product Meta Robot | metarobot | metarobot |
Author | metaauthor | metaauthor |
Export shipping prices with Google Merchant export
Shipping prices
The shipping prices let you set shipping prices per product based on the product price.
Requirements
The shipping field on the list of export fields must be the custom_shipping field. RO CSVI uses VirtueMart core vmpsplugin to calculate this field.
Output
custom_shipping field is available in Google Merchant export.
Set the custom_shipping field as one of the export field in Google merchant export.
In Google Merchant export this field gets three values on export, title of the shipment, price and country code. Sample of XML output would
<g:shipping>
<g:country>IN</g:country>
<g:service>Self Pickup</g:service>
<g:price>78.00</g:price>
</g:shipping>
If there is no matching shipment, this node will not available in export XML.
VirtueMart Product Description Fields
This page shows which fields you can use for import and export of the VirtueMart production description fields.