开发者

Magento 2 Different Swatch Types in the Category and Product Page

Would it be possible to use 2 different Swatch Types in the Category and Product Page?

My view.xml as follows. I'd like to use the swatch_image in the Category Page and swatch_image_base in the Product page for the swatches.

        <images module="Magento_Catalog">
            <image id="swatch_image" type="swatch_image">
                <width>30</width>
                <height>30</height>
            </image>
            <image id="swatch_thumb" type="swatch_thumb">
                <width>110</width>
                <height>90</height>
            </image>
            <image id="swatch_image_base" type="swatch_image">
                <width>60</width>
                <height>60</height>
            </image>

Is this possible to开发者_JS百科 do?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜