VirtueMart

Delete out of stock products

| VirtueMart

The deletion of out of stock products is a three-step procedure.

  1. Export all products
  2. Clean up the list of products
  3. Import list of products to delete

Export all products

The first step is to export all products and their stock level.

  1. Create a new export template of the type Product export
  2. Add the fields
    product_sku
    product_in_stock
  3. Export the template
  4. 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

  1. Open the file in your favourite spreadsheet
  2. Sort the sheet on the product_in_stock field
  3. Delete all rows where the stock is greater than 0
  4. Add the column product_delete
  5. Set the column product_delete to Y for all rows
  6. Save the file

Import list of products to delete

Third step is to import the file to delete the products

  1. Create a new import template of the type Product import
  2. Set the template to use Column headers for configuration
  3. Import the file
  4. The products in the file will now have been removed

Read more ...

Product Information

| VirtueMart

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 Product information

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

 

Read more ...

VirtueMart Waitinglists import with RO CSVI

| VirtueMart

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.

Read more ...

VirtueMart Shopper Fields import with RO CSVI

| VirtueMart

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.

Read more ...

VirtueMart Order Items import

| VirtueMart

A template can be created by following these steps:

  1. Go to Components -> RO CSVI -> Templates
  2. Click New
  3. Give the template a name, say for example VirtueMart Order items import
  4. Set Action to Import
  5. Set Component to VirtueMart
  6. Set Operation to Order item
  7. Click Next: Select Source
  8. Source is set default to Load from your computer. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Nothing needed here as we set to Use column headers as configuration in step 10.
  13. Click Next: Finalize
  14. All done here
  15. 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:

  1. Go to Components -> RO CSVI -> Templates
  2. Click on Template fields
  3. In the Search Tools select your template
  4. 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:

  1. Go to Components -> RO CSVI -> Import
  2. Select the template created earlier with name VirtueMart order item import
  3. Click Select file
  4. Select the file to import
  5. Click Preview
  6. You now see a preview of the file as to how RO CSVI sees the file
  7. Click Start import
  8. The import is run
  9. 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"

vm_orderitem_import.csv

Read more ...