How To Enable WooCommerce Product Attribute Images Swatches in Flatsome WordPress Theme

Are you here to enable WooCommerce Product Attributes Images Swatches For variable products in the Flatsome theme?

Great! You are in the right place.

If you followed our 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. We’re assuming you have the free and premium versions of the plugin downloaded. Don’t worry if you missed it somehow. You can download it instantly! 

How To Enable WooCommerce Product Attribute Images Swatches in Flatsome Theme

Installing the WooCommerce Attribute variation swatches and photo plugin is the same as installing other WordPress plugins in the Flatsome theme. 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 an Image attribute globally, head to Products >> Attributes. Insert your attribute title in the Name field. In this tutorial, I’ve termed the attribute name: Image.

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

Adding Image Swatches

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


Step 02: Create Attribute Variations

The 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 purposes, we’ll add three variations. Ramie, Leather, and Wool.

See also  Blog Vs Website: What is the Difference?

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

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


Like the attribute list. an 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 products selected from Product Data.


Selecting the Variable product from the Product Data dropdown, head to the Attributes Tab. Click on the Custom product attribute dropdown. In this dropdown, you can see all your globally created attributes. As we’ve only created an Image attribute, it’s now showing an 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 the Select all button. If you want to deselect all selected variations at once. Click on the Select none button. Add all variations by selecting the Select All button, checking Used for variations settings, and clicking on the Save Attributes button. Check the following screenshot for guidelines.


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


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


You can see in the above image that LeatherRamie, and Wool image variations are there. From this screen, you can add variation images, variation prices, and other variation-specific details. When you have done 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 photos 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, the 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, we’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 the tooltip image and making swatches enabled is the premium feature of this plugin. To enable this, you have to download the Premium Version of the WooCommerce Variation Swatches plugin first.

Enable Tooltip

You can customize the 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 the Archive / Shop page. Check the settings Show on the archive to show image swatches on the store/archive page. Even In the Flatsome theme, you can enable swatches before and after adding to the cart button in the store from Archive Swatches Position settings. On top of that, you can exclusively control the size of the image variation swatch from these settings.


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



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

Subscribe To Our Newsletter!
Hi, I’m Mohamed. I share delicious recipes that I have cooked and loved. I’ve been food blogging for over 10 years and have a Diploma in Nutrition. You will find many healthy recipes as well as my favourite comfort food on the blog because I believe in a balanced diet.

Related Posts

Fintech’s biggest hits and misses of 2023

As 2023 comes to a close, we’re here to look back at the biggest fintech stories of the year. Silicon Valley Bank’s implosion felt like a fintech…

It’s critical to regulate AI within the multi-trillion-dollar API economy

Alex Akimov Contributor With two decades of tech leadership experience, Alex Akimov, former head of API at Adyen, now revolutionizes embedded finance at Monite by building best-in-class…

EU’s provisional deal on gig worker rights fails to get enough backing from Member States

Not so fast on that Christmas present for precarious gig workers in the EU: A political deal announced mid month, which aims to bolster platform workers rights…

Arduino exploring India manufacturing to limit counterfeit sales

Arduino is considering manufacturing in India. The startup, best known for its open source microcontroller boards, hopes to restrict the rise of counterfeit boards and cater to…

Top robotics names discuss humanoids, generative AI and more

Last month, I took an extended break. In a bid to keep my robotics newsletter Actuator (subscribe here) up and running, however, I reached out to some…

Pornhub owner pays US government $1.8M to resolve sex trafficking probe

Pornhub’s parent company Aylo Holdings will pay $1.8 million to the U.S. government to resolve a charge of profiting off of sex trafficking. The company, formerly known…