The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [configurable-swatches]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
195 views

Help - Magento 1.9.2.3 Error - Configurable Product regular price return 0 if choose color options

I have configurable product if choose different color in products page price return 0, configuration : In my configurable productpage, How to solve the issue. Any help.
1
vote
0answers
30 views

Magento 2 How can I get selected swatch options on wishlist page?

I am trying to get selected swatches color, the size on wishlist page in Magento 2.3 If I add a simple product in wishlist then attribute value is showing but when I am trying to get selected options ...
0
votes
0answers
15 views

Magento 2 change swatch image size to product page only

Is it possible to change the swatch image size of only the swatches in product page? So Small images in category page: And larger images at product page
0
votes
1answer
117 views

Magento 2 configurable product price not update

Magento 2.2.8 .I have created Configurable product with Color + Size attribute. Product price is not update When select(Click) attribute on Product details page. I am using Luma theme.
0
votes
0answers
19 views

Default Magento thumbnail loading instead of thumbnail for Configurable product

For some reason when a Configurable Product is set up and this is the product that is viewable on the catalog page, when a different swatch is selected instead of the default a thumbnail does not load ...
3
votes
1answer
201 views

How to change product name dynamically in configurable product when click swatches Magento 2.3

How to Change the Configurable products name dynamically when i click configurable swatches, currently price change when click swatches .I need to change name too. please suggest better way! Thank You,...
2
votes
1answer
54 views

How can I show “Only X left” on configurable products on Magento 2.2.8?

I want to know how I can show the function "Only X left" on configurable products on magento 2. I've tried so many ways, but nothing works. I see how to do this to M1, but nothing to M2.
0
votes
0answers
41 views

How to get configurable product stock quantity inside swatches-product.js file

Need to add option data attribute for configurable products. Product.Config.prototype.loadOptions = function() { this.settings.each(function(element) { element.disabled = false; ...
0
votes
0answers
45 views

Magento 1.9 Configurable Products Options and cart issue

I'm working on a magento 1.9 site, it have strange issue, we we go to a configurable product page it don't show the product options and ad to cart button. -The list pages show the other two option ...
0
votes
0answers
61 views

Magento 2.3.0 swatch attributes - Display Out of Stock Products

I am using 2 attributes color & size for configurable product. If associated simple product has been out_of_stock then the related swatch option is disabled if more than one attribute. But If I ...
1
vote
0answers
118 views

How to load simple product images on configurable product in magento 2?

How we can show the images on page when load of simple product of configurable product. By default configurable product image show but what i want when we click on color option then its associated ...
3
votes
0answers
121 views

Magento 2 : How to get Swatches attribute options in popup?

Magento2 - popup open in ajax response. So all values come from the controller and set in the popup, but attributes options are not shown. \vendor\magento\module-checkout\view\frontend\templates\cart\...
1
vote
0answers
32 views

Add configurable swatches inside Related Product block in magento2 product view page

I have added below code inside the following path: /app/design/frontend/magento/theme/Magento_Catalog/layout/catalog_product_view.xml //code inside related product block <block class="...
0
votes
1answer
319 views

Magento2 Swatch change Image does not slide to first Image

I have a problem with product gallery changing swatch (f.e. color). I have a configurable product with different size and different color. each configurable product has it's own color image (I added "...
0
votes
0answers
16 views

How to show Swatches red line when the product is out of stock

Current my swatches are working but not what I expected. I have a product and the colour is black and silver Which has 2 options and if i put black colour and the option 1 out of stock the swatches ...
0
votes
0answers
83 views

Show % discount in configurable products magento 2

I have added the following code in /public_html/vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml <?php if ( $block->hasSpecialPrice()): ?> &...
0
votes
0answers
21 views

Configurable Products Availability Message

At magento 1.9.4 i use configurable products, I would like to set custom stock message for configurable products and change when a options (color) is selected for simple products i have the ...
1
vote
1answer
23 views

When Configurable swatches enabled, thumbnails not loading picture to main [closed]

I have an issue with magento 1.9.4 When i enable configurable swatches the thumbnails not load picture in the main but on click it goes to top of page. Do anyone know what file or template is ...
0
votes
3answers
102 views

Magento2 Display all associated simple products if all of sizes are out of stock?

sizes options not showing on configurable products if all sizes out of stock. Any way to show out of stock sizes?
0
votes
0answers
20 views

Magento 1 Configurable product gallery issue

I have a create a configurable product with colors attribute, and each simple product has its own images. I have already add three images for the main configurable product and i also add the ...
2
votes
1answer
87 views

Error when importing configurable product programmatically

I am programming a custom import system with Magento libraries, but when I import configurable products I get an SQL error. This is my configurable product function (only a part of my code): ...
1
vote
1answer
54 views

Configurable Product Dropdown Image Switch

I upgraded my site from EE 1.14.1.0 to 1.14.3.10 and now when I navigate to a configurable product that uses a drop down (not swatches) to change the image, the image does not change. I have looked ...
0
votes
0answers
30 views

add configurable swatches and add to cart button to product list

Im on magento 1.9.2.4 and I need to display the product swatches and the add to cart button to the configurable products in the product list (catalog_category_layered). After doing some research I ...
0
votes
0answers
45 views

magento 2 “out of stock” not displaying in configurable swatch option product

In my magnto 2.2 "out of stock" option product was not dispalying in configurable swatch product. I like to list all option even if "out of stock". Please help to solve this solution.
2
votes
0answers
65 views

Size option not showing on product view page for configurable product in Magento2

Color Options showing but size option not showing also all setting in admin is correct When i click on add to cart button it's show size required field but not size options are there I checked ...
0
votes
0answers
190 views

Magento 2: Update visual swatch option image when options are changed

I have products that are configurable by 2 attributes, format and pattern. Format is a text swatch and pattern is a visual swatch that uses the product image. All my simple products have a swatch ...
0
votes
0answers
158 views

Option product quantity is zero, not displaying in configurable product in magento 2.2

I tried admin panel settings Products -> Catalog ->inventory Dispaly product if out of stock (yes). But still for configurable product of my swatch option quantity is (0) zero, that option(child) ...
2
votes
2answers
366 views

Magento swatch is not disabled when configurable product is not on stock

I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, ...
0
votes
1answer
48 views

Productimg.php errorlog in system.log

I update Magento from 1.9.3.0 to 1.9.3.7 magento log this error in system.log Warning: array_merge_recursive() expects at least 1 parameter, 0 given in /home/example/domains/example.com/...
0
votes
0answers
24 views

Magento 1.9 Image swatch not switching images

Magento 1.9 image swatch not changing images when clicking swatch options. We have set attribute color with labels and also include it at attribute sets.
0
votes
1answer
336 views

magento2 swatch attributes

How to show swatch images on the info tab in the product page? by default, magento2 shows the value of swatches in the info tab on the product page and shows swatch images on top of product for ...
0
votes
0answers
39 views

Magento 2 : How to add div to separate Swatch and Custom Option

I've a configurable product with custom options. I can see default HTML structure is like There's div with ID product-options-wrapper which contains HTML for swatch and Options. For Swatched there'...
0
votes
0answers
27 views

configurableSwatches not working after update

I've updated from 1.8 to 1.9.3.10 I've managed to make the update after several problems, but in the end what has worked was: (I'm working on a dev site to "try" the update procedure) 1) update ...
1
vote
0answers
193 views

How to show dropdown configurable attribute in Product Category View in Magento 2?

I have color attribute of type visual swatch, which is displayed on category view as well as catalog search view below the product images, on selecting the swatches, it changed the image as well price....
1
vote
2answers
275 views

Custom swatch message 'This is a required field'

Is there a way to customize the 'This is a required field' message when you don´t select a swatch option? I want to change it to "Please select a color" and "Please select a size" Thanks!
0
votes
1answer
25 views

Magento After adding the double quote in attribute option swatch images not change in front-end

In Magento 1.9.1, I have added a size attribute and add a option to that size attribute as Large 9.5" Tall x 7.5" Diameter & Small 2" Tall x 5.75" Diameter. After adding this option with double ...
0
votes
1answer
67 views

Issue while Configuring color swatches in Magento 1.9.3.10

I am using Magento 1.9.2.10 to configure color swatches i have followed the below link to do this: https://www.templatemonster.com/help/magento-how-to-add-and-manage-configurable-swatches.html#gref ...
1
vote
0answers
188 views

Magento 2.2.6, Configurable Products: Blank Image-Area after deselecting “visual swatch” on product-page

Preconditions 1. Update from Magento 2.2.4 to 2.2.6 Steps to reproduce 1. Add Product in the Backend 2. Create Configurations 4. Use Attributes with the input type "Visual Swatch" 3. Save Product 4....
1
vote
1answer
63 views

Text next to Swatch on Layered navigation

Magento 1.9.3 Is it possible to get the name of the configurable swatch next to the swatch box in the layered navigation? EG. [ ] White (1) Currently its just [ ] (1) and you can hover for the ...
0
votes
1answer
176 views

In Magento 2, how to bypass cache for a custom block template extended from \Magento\Swatches\Block\Product\Renderer\Listing\Configurable?

Recently I customized category listing page to auto-select the color swatch in listing page when a color swatch is selected in the layered navigation filter. Everything is working fine with cache ...
1
vote
1answer
104 views

How to show swatches on category page in Magento 1.9

I was trying to show configurable color swatches on category listing page but unable to get it, I used below code but it just shows the name of color but I want to show swatches same as on product ...
1
vote
1answer
219 views

Want to display label or respected value on the visual swatch attribute at Layered navigation?

I have created size attribute with visual swatch field now in the fronted when we hover at option it is displaying the value/s for the users. Instead of changing to text swatch how to display the ...
0
votes
1answer
356 views

Magento 2 : How to get product size Swatches in Configurable product page?

I have a custom module in my product page which allows customers to ask them notify them when an out of stock product size comes back in stock. I want to get out of stock product size swatches on a ...
1
vote
0answers
262 views

Change configurable product price selecting a swatch

Good morning, i'm working on a magento 2.2.5 store and i have a question about configurable products configurations. I have some products where the price is different betweent the configurations. ...
1
vote
0answers
743 views

How to select by default first swatches from dependent options color & size in magento 2

I have tier prices for the products but it is showing after selecting swatches. I have two attributes "Color & Size" for configurable products. Color attributes have swatch image and Size ...
3
votes
0answers
60 views

Magento 2 Sizes showing in a wrong order for configurable products

I have just upgraded my Magento to 2.2.5 via composer. I realized that the Sizes from the dropdown on product page is displaying in a wrong order, see screenshot. But in Admin, under product ...
0
votes
0answers
269 views

Magento2 swatch-renderer.js:1184 Uncaught TypeError: Cannot read property 'updateData' of undefined

I am getting swatch-renderer.js:1184 Uncaught TypeError: Cannot read property 'updateData' of undefined error on product details for some products. While debugging notice that I am getting an error to ...
0
votes
1answer
44 views

Pass extra class for stock in Swatch Magento2

I want to pass an extra class to swatch class which is formed via swatch renderer js based on the stock. The reason is the swatches are not being hidden if they are out of stock. This is what I am ...
1
vote
0answers
63 views

Magento 1.9 fatal error Mage_Configurableswatches_Helper_Productimg' not found

i faced with a Fatal error: Class 'Mage_Configurableswatches_Helper_Productimg' not found in /app/Mage.php on line 547 while flushing the swatch image cache. Please let me know how to fix this issue?
0
votes
2answers
359 views

Configurable swatches Not working Magento 1.9

Configurable swatches Not working on product page it is not selection.