Closed
Description
Preconditions
- Magento CE 2.1.0
Steps to reproduce
- Create a product attribute with Catalog Input Type for Store Owner set to "Visual swatch"
- Create configurable product with the attribute above set to the configurations
- Check the image swatch size in frontend ( Product List )
- In "YOUR THEME/etc/view.xml" add changes for the image swatches
<?xml version="1.0"?>
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
<media>
<images module="Magento_Catalog">
<image id="swatch_image" type="swatch_image">
<width>90</width>
<height>30</height>
</image>
<image id="swatch_thumb" type="swatch_thumb">
<width>120</width>
<height>40</height>
</image>
<image id="swatch_image_base" type="swatch_image">
<width>90</width>
<height>30</height>
</image>
<image id="swatch_thumb_base" type="swatch_thumb">
<width>120</width>
<height>40</height>
</image>
</images>
</media>
</view>
- Flush Cache & recheck the image swatch size
Expected result
- The Image swatch to change size
Actual result