Questions tagged [visualswatch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers

How to create product visual swatch attribute programmatically with images in 2.4.6

I want to create custom products visual swatch attribute with custom images . Please let me know if anyone have any example. Thanks !!
Mukesh Prajapati's user avatar
0 votes
1 answer

Magento 2 Import Visual Swatch and Text Swatch Attribute Options Programatically

I have an attribute with attribute ID 'color'. Which has options with visual swatches. and another attribute with ID 'material' which has options with Text swatches. Now for the 'color' attribute I ...
m2dev's user avatar
  • 63
0 votes
1 answer

Magento 2 how to hide swatch on configurable product if it is out of stock?

I don't use MSI and i want so that swatches that are not available are hidden on the configurable product. How can this be done?
David Young's user avatar
0 votes
1 answer

Update color visual swatch attribute images Magento 2.4

we need to update only images from existing color attribute options. How to achieve this?
Msquare's user avatar
  • 8,665
0 votes
1 answer

Configurable product with image swatch only on product page

Is it possible to show image swatches only on product page, and on category pages, related, upsell sliders to stay default color swatches. By default magento configuration its colors or image swatches ...
Alek Pangos's user avatar
1 vote
0 answers

Magento2 How To Add Visual Swatch in product option. as a Customizable Options Type

Same as per Image i want to add option...So how can i add or devlope a Module ?
Meet 's user avatar
  • 11
0 votes
2 answers

Magento 2.3.0 error while changing dropdown attribute to visual swatches

Fatal error: Uncaught Error: Call to a member function serialize() on null in /vendor/magento/module-swatches/Helper/Data.php:162 Stack trace: #0 /vendor/magento/module-swatches/Model/Plugin/...
Ram singh's user avatar
  • 121
1 vote
0 answers

Magento 2: Display Swatchs in my template file

I am fetching configuration products from SKU, I am displaying configuration by dropdown, and using selected value I am generating proper SKU of that product. Ex: if customer select 'MH01' and select ...
Sagar Parikh's user avatar
1 vote
0 answers

Magento 2 visual swatch not showing in frontend

I created different attributes with visual swatches, and assigned each one to differnt attribute sets. I have differnt products with different attribute sets, but for some reason visual swatches are ...
Oscar Vazquez's user avatar
0 votes
0 answers

Magento 2.3.1 CE visual swatch images showing blank

We have upgraded Magento 2.2.3 CE to Magento 2.3.1 CE recently we have been facing an issue i.e the visual swatch images are not displaying for the configurable product options on the frontend details ...
Nagaraju Kasa's user avatar