Questions tagged [visualswatch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

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?
0 votes
0 answers
82 views

how to add swatch attribute options through api

How can I add swatch attributes options thorugh rest api? I want api which allows to add attribute options for all attributes which are text swatch,visual swatch.
0 votes
0 answers
8 views

Is there a way to change the native visualization behavior of Magento 2 swatch function?

Apologies I am no developer, but I am trying to build a swatch UX for my ecomm site on Adobe commerce cloud platform Magento 2.4.2. I require a progressive swatch display where the sorted ...
  • 1
0 votes
0 answers
41 views

How to disable deselecting of swatch on detail page?

I am trying to disable deselecting a swatch so user must choose another, because then I am getting 'undefined' image error. I have 2 swatches i.e. color and size. Firstly, if I can disable this ...
  • 107
0 votes
1 answer
129 views

Update color visual swatch attribute images Magento 2.4

we need to update only images from existing color attribute options. How to achieve this?
  • 6,205
0 votes
1 answer
329 views

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 ...
1 vote
0 answers
66 views

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 ?
  • 11
0 votes
2 answers
112 views

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/...
  • 111
1 vote
0 answers
51 views

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 ...
1 vote
0 answers
1k views

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 ...
0 votes
0 answers
2k views

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 ...