VirtueMart

Use of override, disabler and noninheritable fields

| VirtueMart

VirtueMart has an option to display parent product custom fields in child products. There are two ways of controlling the display of parent product values in child products. This document explains on how to use the specific fields for parent and child products in the use of override, disabler and noninheritable fields. We have three custom fields Size, Color and Type of type string explained with examples in the document.

When working with custom fields, we recommend to Update available fields so RO CSVI can recognise the newly added custom fields in VirtueMart.

1. Disable from parent product

Disable display of parent product custom fields value so it is not visible for all the child products. This is done by checking disinh checkbox in parent product for custom fields. RO CSVI supports this by feature with custom_noninheritable field. The value of the field should be set to Y in import file.

Sample Example content 

product_sku,product_parent_sku,product_name,custom_title,custom_value,custom_price,custom_noninheritable
10001,,parent product,Size~Color~Type,XL~Red~Cotton,0~50~60,Y~Y~Y
10001A,10001,child product,Size~Color~Type,L~Green~Nylon,0~30~40,,

Disable from parent product

2. Disable from child product

Control the display of parent product custom field value from individual child product so it is not visible in child product. To support this feature, RO CSVI has included quite a few fields so to identify the parent product custom fields. Usage of each field is explained below.

2.1. custom_parent_title

     Custom field name of parent product. Multiple values separated by ~.

2.2. custom_parent_value

     Custom field value of parent product. Multiple values separated by ~.

2.3. custom_parent_price

    Custom field price of parent product if any. Multiple values separated by ~.

2.4. custom_parent_disabler

    Set the value to Y if you want to disable the display of parent custom field in child product. Multiple values separated by ~.

2.5. custom_parent_override

    Set the value to Y if you want to override the display of parent custom field in child product. Multiple values separated by ~.

2.6. custom_parent_noninheritable

    Set the value to Y if you want to check disinh field in parent product. Multiple values separated by ~.

 Sample Example content for disabler field

product_sku,product_parent_sku,product_name,custom_title,custom_value,custom_price,custom_parent_title,custom_parent_value,custom_parent_price,custom_parent_disabler
10001,,parent product,Size~Color~Type,XL~Red~Cotton,0~50~60,,,
10001A,10001,child product,Size~Color~Type,L~Green~Nylon,0~30~40,Size~Color~Type,XL~Red~Cotton,0~50~60,Y~Y~Y

The below image shows the disabler fields from child product for parent product values with above example content

Disabler field for child product

Sample Example content for override field

product_sku,product_parent_sku,product_name,custom_title,custom_value,custom_price,custom_parent_title,custom_parent_value,custom_parent_price,custom_parent_override
10001,,parent product,Size~Color~Type,XL~Red~Cotton,0~50~60,,,
10001A,10001,child product,Size~Color~Type,L~Green~Nylon,0~30~40,Size~Color~Type,XL~Red~Cotton,0~50~60,Y~Y~Y

The below image shows the override fields from child product for parent product values with above example content

Override fields from child product

Sample Example content for noninheritable field

product_sku,product_parent_sku,product_name,custom_title,custom_value,custom_price,custom_parent_title,custom_parent_value,custom_parent_price,custom_parent_noninheritable
10001,,parent product,Size~Color~Type,XL~Red~Cotton,0~50~60,,,
10001A,10001,child product,Size~Color~Type,L~Green~Nylon,0~30~40,Size~Color~Type,XL~Red~Cotton,0~50~60,Y~Y~Y

The below image shows how the value of noninheritable field shows for child product and parent product values with above example content

For Child product

Noninheritable for child product

For Parent product

Noninheritable for parent product

Read more ...

VirtueMart Users Info export

| VirtueMart

Creating the export template

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Export
  5. Set Component to VirtueMart
  6. Set Operation to Users info
  7. Click Next: Select Source
  8. Destination is set default to Download. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Fields must be added otherwise there is nothing for CSVI to export. Click Edit template fields.
  13. A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
  14. When all fields are added you can close the window
  15. Click Next: Finalize
  16. All done here
  17. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

VirtueMart user info export create template

Add the fields to export

Template fields can be added by following these steps:

  1. Go to Components -> CSVI Pro -> 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. VirtueMart user info export create template fields

Run the export

The export can be run by following these steps:

  1. Go to Components -> CSVI Pro -> Export
  2. Select the template created earlier
  3. Click Export
  4. The export is run
  5. The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template

VirtueMart user info run export

 

Read more ...

VirtueMart Users Info import

| VirtueMart

Creating the template

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name, say for example VirtueMart Users info import
  4. Set Action to Import
  5. Set Component to VirtueMart
  6. Set Operation to Users Info
  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.

VirtueMart users info import create template

Adding the template fields

Template fields can be added by following these steps:

  1. Go to Components -> CSVI Pro -> 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.

VirtueMart users info import create templatefields

Required fields

  • address_type
  • address_type_name
  • email

Criteria

These fields make up the criteria to determine if the record is going to be updated or added. If all the criteria fields match an existing record, the record will be updated. If not all the criteria fields match, the record will be added.

 

  • address_type
  • address_type_name
  • email

Run the import

The import can be run by following these steps:

  1. Go to Components -> CSVI Pro -> Import
  2. Select the template created earlier with name VirtueMart Users info 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 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

VirtueMart users info import process

Example file

virtuemart_usersinfo_import.csv

Read more ...

Export VirtueMart Products to J2Store Products

| VirtueMart

RO CSVI has a new feature of exporting data from one extension and importing into another extension, which we have named the bridge templates. This feature is available from RO CSVI 7.15.0 version onwards.  In this document we will explain how to export VirtueMart Products to J2Store Products.

Read more ...

Available Fields for VirtueMart

| VirtueMart

Here you will find all the available fields that can be used in the VirtueMart import and export routines. Please see the relevant tutorials on how to use these fields in a specific scenario.

Read more ...

VirtueMart Custom Fields import in RO CSVI

| 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 Custom field import
  4. Set Action to Import
  5. Set Component to VirtueMart
  6. Set Operation to Custom field
  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 Custom field 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

 

Example file

vm_customfields_import.csv

Read more ...

VirtueMart Media Items export

| VirtueMart

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Export
  5. Set Component to VirtueMart
  6. Set Operation to Media
  7. Click Next: Select Source
  8. Destination is set default to Download. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Fields must be added otherwise there is nothing for CSVI to export. Click Edit template fields.
  13. A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
  14. When all fields are added you can close the window
  15. Click Next: Finalize
  16. All done here
  17. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

VirtueMart media export create template

  • Go to Components -> CSVI Pro -> 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.

VirtueMart media export create template fields

  • Go to Components -> CSVI Pro -> Export
  • Select the template created earlier
  • Click Export
  • The export is run
  • The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template

VirtueMart media run export

Read more ...

Can I export prices for stockable children?

| VirtueMart

Currently it is not possible to export the prices of stockable children due to the complexity of both the VirtueMart plugin system and price calculations.

Read more ...

VirtueMart Orders export

| VirtueMart

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Export
  5. Set Component to VirtueMart
  6. Set Operation to Order
  7. Click Next: Select Source
  8. Destination is set default to Download. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Fields must be added otherwise there is nothing for CSVI to export. Click Edit template fields.
  13. A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
  14. When all fields are added you can close the window
  15. Click Next: Finalize
  16. All done here
  17. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

VirtueMart order export create template

  • Go to Components -> CSVI Pro -> 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.

VirtueMart order export create template fields

  • Go to Components -> CSVI Pro -> Export
  • Select the template created earlier
  • Click Export
  • The export is run
  • The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template

VirtueMart order run export

Read more ...

VirtueMart Orders Advanced export

| VirtueMart

A template can be created by following these steps:

  1. Go to Components -> CSVI Pro -> Templates
  2. Click New
  3. Give the template a name
  4. Set Action to Export
  5. Set Component to VirtueMart
  6. Set Operation to Order advanced
  7. Click Next: Select Source
  8. Destination is set default to Download. No need for change.
  9. Click Next: Select options
  10. The default values are OK, change if needed.
  11. Click Next: Select fields
  12. Fields must be added otherwise there is nothing for CSVI to export. Click Edit template fields.
  13. A new window opens with the Template fields page. You can add new fields by clicking New or Quick Add.
  14. When all fields are added you can close the window
  15. Click Next: Finalize
  16. All done here
  17. Click Close to return to the list of templates or Edit if you want to fine-tune the template further.

VirtueMart order advanced export create template

  • Go to Components -> CSVI Pro -> 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.

    VirtueMart order advanced export create template fields

  • Go to Components -> CSVI Pro -> Export
  • Select the template created earlier
  • Click Export
  • The export is run
  • The Log details page will be shown with information regarding the export if the Enable logging is enabled in the template
  • VirtueMart order advanced run export

    Read more ...