如何根据 Magento 可配置产品中的 select 不同属性集更改产品图像?

How can I change product image according to select diffrent attribute sets in Magento configuable product?

我正在使用 Magento 1.9,我添加了属性集并创建了一个可配置的产品,现在有不同的关联产品我需要根据 select 不同的尺寸和颜色

更改产品图像

它是 Magento 的默认功能。您只需要在样本中转换您的选项。查看下面的参考站点,其中解释了如何转换样本中的选项。

http://www.magetraining.com/us/blog/how-to-set-up-configurable-swatches-in-magento-versions-1-9-x/

GO to : System=>Configuration => Configurable Swatches =>Select 'Product Attributes to Color and Size and Save.

https://prnt.sc/fhpapg

使用这个扩展。

https://amasty.com/color-swatches-pro.html

或者您也可以在配置(可配置色板)中使用 Magento 的默认功能。