fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Generating swatches automatically

Steven Turner

Hi

We would like to know how to generate swatches from a product import in Woocommerce.

Can you help please?

Thanks, Steven

 

 

 

Hakik Zaman

Hi Steven,

Thanks for reaching out to us. Product attribute terms are displayed as swatches.

You can download the WooCommerce plugin and unzip it. Then check the woocommerce > sample-data > sample_products.csv

You will get an idea from the sample_products.csv file to understand the structure. Then create your own CSV file and import it using the WooCommerce import.

Thank You

Steven Turner

Hi Hakik

 

Thanks for responding.  I don’t know where woocommerce > sample-data > sample_products.csv is located.

Do you have a  screen grab please?

Thanks, Steven

 

Steven Turner

Don’t worry, a misunderstanding.  We’ve found the sample data file.

Thanks, Steven

 

Steven Turner

Hi Hakik

We have been through the sample data file.  We are quite familiar with importing and exporting product data.  The issue we have is that our source data has 3.5k individual products and they are all slightly different, some have 83 different colours and some only 3 or 4.

We can not see which field to add the hex codes in the data base to create the swatches.

Can you help please?

Thanks, Steven

Hakik Zaman

Hi Steven,

Please check this CSV: https://we.tl/t-ear6Fp5L8j with the Swatches Attributes field. I hope this will give you an idea.

Note: Before importing the CSV (you will create), you have to install and activate the WooCommerce and Variation Swatches plugin. If you are not using the Pro version you should avoid the dual color attribute (inside the sample CSV). Because dual color attribute is a premium feature.

Thank You