woocommerce product attributes images swatches

How To Enable WooCommerce Attribute Images Swatches in Flasome WordPress Theme

Are you here to enable WooCommerce Product Attributes Images Swatches For variable products in Flatsome theme? You are in the right place.

If you followed my last tutorial on how to create WooCommerce color swatches, you are going to find this tutorial easy.

So, if you are here for the first time, you should check the previous tutorial to enable color product attribute swatches. I am assuming you have the free and premium version of plugin downloaded. Don’t worry if you missed somehow. Download them now.

How To Enable WooCommerce Attribute Images in Flatsome Theme

Installing the WooCommerce Attribute variation swatches and photo plugin is the same of installing other WordPress plugins. Just upload it and activate it from Plugins >> Add New. And follow the next steps to configure it.

Step 01: Create Image Attribute

To create Image attribute globally, head to Products >> Attributes. Insert your attribute title in the Name field. In this tutorial, I’ve termed attribute name: Image.

Leave the Slug field empty. The system automatically generates the attribute slug. Select image from attribute Type dropdown. Press Add Attribute button to save the changes.

Adding Image Swatches

After Image attribute created, you will notice a list is created on the right side. it shows Image added attribute added.

Step 02: Create Attribute Variations

Newly created Image attribute is empty. There is no variation inside the attribute. To add variation under the image attribute, press Configure term link.

For demonstration purpose, I’ll add three variations. Ramie, Leather, and Wool.

To create variation, insert variation title in the Name field. Keep slug field empty to let the system automatically generate it. Upload variation image from your computer or Media Libra clicking button Upload / Add image.

When your image selection completed press Add new Image button to finish the process

Like the attribute list. a image variation list would be created like the following.

Step 03: Enable Attribute Variation in Variable Product

It’s time to enable image swatches inside a variable product. To enable image swatches in your desired product. Get into your desired product edit mode. Make sure you have variable product selected from Product Data.

Selecting the Variable product from Product data dropdown, head to the Attributes Tab. Click on Custom product attribute dropdown. In this dropdown, you can see all your globally created attributes. As we’ve only created a Image attribute, it’s now showing Image attribute.

Select the Image attribute and click on Add. You can see the following screens appears afterward.

If you want to select all available variations of the color attribute, click on Select all button. If you want to deselect all selected variations at once. Click on Select none button. Add all variations selecting Select All button, checked Used for variations settings and click on Save Attributes button. Check the following screenshot for guideline.

Now get into Variations tab. Click on Add Variation dropdown. Here you will notice two options. First one is Add Variation and the second one is Create variations from all attributes.

In this tutorial, I am going to select Create variation from all attributes and click Go button. It’ll add all available variations like the following.

You can see the above image that LeatherRamie, and Wool image variations are there. From this screen you can add variation image, variation price, and other variation specific details. When you have done with adding all your required details in each variation, click the Save Changes button.

Remember! Don’t forget to add the price in each variation, otherwise, variations won’t be visible on the product frontend.

If you can successfully add variation. You can see the following swatches in your product frontend.

Simple Settings

The WooCommerce variation swatches and photo is a powerful plugin. It allows you to enable Tooltip, disable plugin default stylesheet, and switch between Round and Square shapes.

If you want to select Shape style from Round to Square and enable Tooltip, the frontend product page looks like the following.

Advanced Settings

To provide ultimate flexibility, WooCommerce Attribute Image Swatches plugin offers a couple of advanced settings to give you more. The settings allow you to control variation swatches width, height, and font-size. The awesome part, I’ll post is the Attribute Behavior option to present out of stock variation smartly. The Attribute Behavior can make out of stock variation blur, hide and cross.

If you select a Blur option from Attribute Behavior, the out of stock variation would look like the following screenshot.

Customize Tooltip and Swatch On the Store/Archive Pages

Customizing tooltip image and making swatches enabled is the premium feature of this plugin. To enable this, you have to download Premium Version of WooCommerce Variation Swatches plugin first.

Enable Tooltip

You can customize tooltip background and text color from the Advanced settings. Check the following screenshot to customize the tooltip style.

The tooltip frontend Preview looks like the following screenshot.

Enable Swatches on Store Pages

To enable image swatches on the store pages. Navigate to Archive / Shop page. Check the settings Show on archive to show image swatches in the store/archive page. Even In Flatsome theme you can enable swatches before and after add to cart button in the store from Archive Swatches Position settings. On top of that you can exclusively control the size of image variation swatch from this settings.

After making swatches enabled on the store page, it looks like the following screenshot.

Conclusion:

This technology will boost your site usability and conversion. If you face any issue while installing this plugin in Flatsome Theme, let me know in the comment below. I’ll try to help you out. If you need any topic in your desired requirement. Let me know in the comment. I’ll try to cover it in the next tutorial.