VirtueMart
Delete out of stock products
The deletion of out of stock products is a three-step procedure.
- Export all products
- Clean up the list of products
- Import list of products to delete
Export all products
The first step is to export all products and their stock level.
- Create a new export template of the type Product export
- Add the fields
product_sku
product_in_stock - Export the template
- Save the file on your computer
Clean up the list of products
Second step is to clean up the list of products by removing all products where the stock is more than 0
- Open the file in your favourite spreadsheet
- Sort the sheet on the product_in_stock field
- Delete all rows where the stock is greater than 0
- Add the column product_delete
- Set the column product_delete to Y for all rows
- Save the file
Import list of products to delete
Third step is to import the file to delete the products
- Create a new import template of the type Product import
- Set the template to use Column headers for configuration
- Import the file
- The products in the file will now have been removed
Product Information
VirtueMart Product Information
This image will show which VirtueMart fields are linked to the RO CSVI fields. This can be used to find out how to link the correct fields for your import or export.
VirtueMart | RO CSVI Import | RO CSVI Export |
---|---|---|
Published? | published | published |
Product SKU | product_sku | product_sku |
Product Name | product_name | product_name |
Product Alias | slug | slug |
URL | product_url | product_url |
Manufacturer | manufacturer_name | manufacturer_name |
Product Categories | category_path | category_path |
Shopper Group | shopper_group_name | shopper_group_name |
Product Details Page | layout | layout |
On Featured | product_special | product_special |
VirtueMart Waitinglists import with RO CSVI
This tutorial explains how to create a VirtueMart Waitinglist import template, add the fields and how to run the import. Step by step we show you how to perform each task. A video will show you the steps in action so you can follow that as well.
VirtueMart Shopper Fields import with RO CSVI
This tutorial explains how to create a VirtueMart Shopper fields import template, add the fields and how to run the import. Step by step we show you how to perform each task. A video will show you the steps in action so you can follow that as well.
VirtueMart Order Items import
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 items import
- Set Action to Import
- Set Component to VirtueMart
- Set Operation to Order item
- 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 item 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
"product_sku";"virtuemart_order_id";"order_status_name";"product_quantity";"product_item_price";"product_final_price"
"H01";"9";"Refunded";"10";"9,50";"85"