How to configure image swatches

Image swatches replace default dropdown menus with clickable image swatches, allowing customers to visually select product variations. This documentation will walk you through the process of setting up image swatches using the WCBoost – Variation Swatches plugin.

Configure Image Swatches for Global Attributes

Global attributes can be re-used for multiple products in your store. They’re ideal for consistent attributes like patterns or designs that appear in various product lines.

To set up image swatches for global attributes, follow these steps:

  1. From the WordPress dashboard, go to “Products > Attributes“.
  2. Create a new attribute or edit an existing one that you want to display as image swatches.
  3. In the attribute settings, locate the “Type” dropdown and select “Image“. Save your changes to enable image swatches for this attribute.
How to configure image swatches - wcboost variation swatches configure image type
  1. Next, add options to your attribute by clicking “Configure terms“.
How to configure image swatches - wcboost variation swatches configure image terms
  1. For each term, provide a name (e.g., “Polo” for the attribute “Neck Type”) and upload a representative image in the Image setting.
  2. Click on the “Add new” button to save the attribute option.
How to configure image swatches - wcboost variation swatches configure image swatches

You can repeat the steps above to add more image options for your attribute.

Now you have set up image swatches for your global attribute. These image swatches will be automatically applied to any product that uses this attribute.

Configure Image Swatches for Custom Attributes

Custom attributes are specific to individual products and are typically used for unique variations that don’t apply to other items in your store.

Our plugin supports converting custom attributes to image swatches. For variable products that require unique image swatches, you can follow these steps to set up image swatches for custom attributes:

How to configure image swatches - wcboost variation swatches configure custom image swatches
  1. Go to Products > All Products and edit the desired product, or you can create a new product.
  2. In the “Product Data” section, select the product type as “Variable product”.
  3. Add custom attributes to your product in the “Attributes” tab.
  4. Open the “Swatches” tab. You will see the list of all attributes that are assigned to the product.
  5. Find the attribute you want to customize and set its type to “Image”.
  6. Upload specific images for each attribute option.
  7. Once you’ve set images for all attribute options, don’t forget to update the product to save your changes.

These image swatches will be displayed on the product page and allow your customers to choose their preferred product option.

This feature can also be used to adjust the image of a global image attribute for a single product. For example, a product has a Color attribute, but you want to use image swatches instead of color swatches for this specific product. You can set the Type option to Image again and then you can upload images for all options of this Color attribute.

References