system-cache-management-flush-magento-cache

Clearing the Swatch Cache

Swatch images are resized and cached before they are used. Swatch images are stored on the server in the Magento installation directory, at the following location: [Magento install directory]/media/catalog/swatches/ Whenever changes are made to existing swatch images, the swatch cache must be flushed before the changes can be seen in the store. To flush the swatch cache: 1. On the …

storefront-configurable-swatches-color-size

Swatch Localization

If you use a language other than English for attribute values, it is recommended that you upload swatch images to each configurable product record, rather than upload the images to Media Storage. Swatch image file names that are uploaded to Media Storage are also used as CSS classes, and can only include the characters a-z, A-Z, and 0-9. Characters from non-Latin …

magento-label-image

Method 2: Upload Swatches to Configurable Product

This method features custom swatches that are uploaded to the configurable product. Each associated product has a product image that depicts the variation. When you click each swatch, the corresponding product image appears. 1. An image is uploaded to each associated product that shows the product variation. 2. The Color attribute of the product variation is set to the correct …

magento-color-swatch-in-action

Method 1: Upload Images to Configurable Product

When you view this product in the store and click a swatch, the corresponding product appears as the main product image. You can click any swatch to change the image. Also, notice in the example below that the fourth swatch is a miniature version of the Royal Blue product image. Because there isn’t a Royal Blue swatch available, the fall-back …

magento-product-swatches

Setting Up Dynamic Images

Dynamic images change when the corresponding swatch is clicked, and can be used on the product and product listing pages. The easiest way to understand this is to see how the products are set up. With this technique, each associated product must have an image that depicts the variation, even if the products are different sizes of the same color. …

catalog-product-swatch-charcoal-image

Method 2: Upload Swatches as Product Images

Use this method to associate swatch images with a specific product. Swatches uploaded with this method take precedence over those uploaded to Media Storage. 1. On the Admin menu, select Catalog > Manage Products. 2. Find the product the configurable product in the list, and open the record in edit mode. 3. If the image is intended for a specific store …

catalog-configurable-swatches-upload-media-storage

Method 1: Upload Swatches to Media Storage

Before uploading swatch images, make sure that the file names exactly match the corresponding attribute values. For example, if you upload a file named “gray.png,” it will match the attribute value “Gray,” but not “Grey.” All file names are converted to lowercase. In addition, any characters other than a-z and 0-9 are replaced with a hyphen. Therefore, the swatch name “Royal …

catalog-product-configurable-swatches-media-storage

Uploading Swatch Images

The swatches folder in Media Storage is the most common place where uploaded swatch images are stored. Swatch images that are uploaded to Media Storage are globally available and can be used by any product. The name of each uploaded image file must exactly match the attribute value that it represents. In this example, each file name is a color. …

catalog-configurable-swatch-slide-image

Preparing Swatch Images

A swatch image can provide an accurate representation of color, and also illustrate a pattern or texture. There are two different methods you can use to create swatches for your products. You can use either method, or a combination of both. The default method is to create global swatches that represent a plain color, and upload them to Media Storage. …

catalog-configurable-swatch-color

Adding Swatch Attribute Values

As you add products to your catalog, you will need to update the attribute values that correspond to each swatch. For example, if you sell clothing, you will need to add new colors to the color attribute to match the products. You can add as many values as you need to any attribute that is represented by a swatch. We …