Questions tagged [configurable-swatches]

The tag has no usage guidance.

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

Sort Magento 2 Text Swatches Options

I want to make swatches in sorting in natural sorting order. Like using below PHP function: "strnatcasecmp" I know it can be done through admin like drag and drop to size/color option. But I only ...
0
votes
2answers
38 views

how to refresh a part of the page when configurable variation is selected in magento 2.3

I want to reload a div section on the product detail page of the configurable product when the configurable variation is selected. How do I achieve that? require(['jquery','jquery/ui'],function($){ ...
0
votes
0answers
27 views

How to select an associated product of a configurable product to display in catalogsearch page?

Without any configuration, the green pant is shown by default when I search for 'yoga pant'. My question is How can I make, for example, blue pant size 34 and its price and stock status as well to ...
0
votes
0answers
37 views

Issue with Configurable Products Out of stock Products Price does not fluctuate in Magento 2.3.2

we are facing issue in Magento 2.3.2 version: Here we are using default Magento 2 Mutli-inventory Management. In Configurable Products I made some changes to show Out of Stock Products to display ...
0
votes
0answers
58 views

Getting TypeError: $(…).AddFotoramaVideoEvents is not a function in magento 2.3.3

The image gallery is not loading on product detail page getting an error like Uncaught TypeError: $(...).AddFotoramaVideoEvents is not a function at $.<computed>.<computed>....
0
votes
1answer
37 views

Dropdown swatch has to display the concerned text

This image has the dropdown swatch with the color like blue, red ,etc inside it. If its a text swatch then it displays as 16mp or 48mp based on the values clicked but here in drop down swatch I ...
1
vote
1answer
53 views

change product detail based on configurable product dropdown

In both the above images, the size (Twin XL,Twin, Full, etc) is selected and the above size of the product changes dynamically as (39x80x12),(54x75x12). I tried to make changes in the ...
1
vote
1answer
35 views

Magento 2: Unable to resize the swatch image

view.xml: <image id="swatch_image_base" type="swatch_image"> <width>500</width> <height>600</height> </image> <...
0
votes
1answer
36 views

Magento 2: on swatch image hover upadate product image on category page

How to update the swatch image on hover rather than click ? I have created the custom module to show the color count,here is my code: <?php namespace Swatch\SwatchCount\Block\Product; class ...
0
votes
1answer
93 views

How magento 2.3 generates swatch images?

I want to resize default generated swatch images but upon doing that swatch images get blurred. So my question is, how to resize Magento swatch so that it will look nice? I have tried modifying ...
1
vote
0answers
19 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 ...
0
votes
1answer
31 views

Add Configurable Product to Wish List

When a user clicks "Add to Wishlist" on a product that uses swatching, it saves the configurable product ID, not the simple product id. How can I get it to save the simple product id in the wish list ...
3
votes
1answer
396 views

Magento 1.9 - How to debug - Configurable product price changed to 0 if chooses colors attribute

I have configurable product if choose different color in products page price return 0, configuration : In my configurable productpage, Note : I am using this extension, https://pluginarchive.com/...
1
vote
0answers
78 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
26 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
251 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
21 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 ...
4
votes
2answers
743 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
78 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
45 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
89 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
121 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 ...
2
votes
0answers
192 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
147 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
35 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="...
1
vote
1answer
775 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
19 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
158 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
22 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
27 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
165 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
21 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
124 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
90 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
48 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.
3
votes
0answers
82 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
217 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
421 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
56 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
1answer
429 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
30 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
211 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
399 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
26 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
80 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
221 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
80 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
265 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
127 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
315 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 ...