Home

Article Index

RO CSVI Breakdesigns Custom fields - Stockable custom fields with String Custom fields

Stockable Custom fields with String custom fields

This case explains how to import Stockable custom fields using only String custom fields.

1. Go to VirtueMart Custom Fields page, create two string custom fields. One with name Size and  other with name Color.

String Color custom field

2. In the same VirtueMart Custom Fields page, create a custom field of type Plugins and for Stockable custom fields. Name it as Size and Color. Add the two created string custom fields Size and Color to this custom field. Save the field.

 

 

3. Create VirtueMart Product import template from RO CSVI.

4. Run the import with below content.

"product_sku";"custom_title";"custom_value";"custom_multiple";"product_name";"product_in_stock";"product_price";"product_parent_sku";"published"
"10001";"Size and Color~Size and Color";"stockablecustomfields~stockablecustomfields";"Y~Y";"Sample Parent Product";"0";"100";"";"1"
"100011";"Size~Color";"M~Green";"";"Sample First Child Product ";"1";"";"10001";"1"
"100012";"Size~Color";"L~Red";"";"Sample Second Child Product ";"1";"";"10001";"1"