Questions tagged [swatches]

Alternative way of presenting the selection of options for configurable products

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

Setup color swatches image update (update image without size selection)

is it possible to update the image on colour selection? without having to select size? I successfully setup swatches, but the image only updates after I select size. thanks
0
votes
2answers
680 views

create a complex html swatch

I want to create a complex swatch that consists of html code I can style and includes not just the attribute value (like size or color) but also the price and maybe the attribute unit like (cm, m, ...)...
3
votes
1answer
629 views

Displaying new set of thumbnails in Configurable Product Swatches

So, this question has been asked multiple times in the past and yet I didn't find an answer for it. I am running Magento 1.9.2 which comes with Configurable Product Swatches. Now I can display ...
5
votes
1answer
3k views

Visual swatches for attribute with input type multiselect

In Magento 2.1.1 CE visual swatches works with select-type attributes out of box, but not witth multiselect. Is there any simple way to make it work also with multiselect-type? Can it be achieved ...
1
vote
0answers
965 views

Is it possible to use text swatches as multiselect on category pages? (Magento 2)

The webshop has a attribute called weight. On the product page of a configurable product, the customer can choose the attribute value of this attribute. To show these attribute values as little tiles, ...
1
vote
1answer
83 views

Configurable swatch not available in backend

I am using Magento ver. 1.9.1.1 in here Configurable swatch not available in backend. I follow this for configurable swatch http://www.venustheme.com/configurable-swatches-guide-for-magento-1-9-1/ I ...
0
votes
1answer
2k views

How to add brand logo at grid and product page in magento 2?

I want to show brand logo on both pages
1
vote
2answers
2k views

Product List - Configurable swatchs don't update price

I have a configurable product with a size attribute that I am showing in the products list and in the product page and depending on the size of the product, the image and the price is changed. But I ...
1
vote
1answer
5k views

Magento 2: Get image from the swatch id

I have attribute color_swatch which is visual swatch and it has some items with images. In my code I can take this data: [swatch_id] => 57 [color_swatch] => Red [swatch_id] => 58 [...
2
votes
2answers
2k views

Magento 2 resize swatches images

I want to resize swatch images See this http://awesomescreenshot.com/0d466soja3 We will change this color swatches to product images and i want to resize this & if we can remove this resize ...
3
votes
2answers
1k views

Magento 1.9.2.4 configurable swatches don't change main image

I've been stuck for hours on this one. Product I'm working on: this site I've made this configurable product, enabled swatches and added photos for each of those associated products. However when I ...
1
vote
0answers
265 views

swatches with infinite scroll for category pages

I am creating an infinite scroll for category pages in magento 1.9.2. the crux of it is jQuery.ajax({ url: pageurl+'p='+next, success: function(result){ jQuery('#...
3
votes
2answers
2k views

Configurable Swatches not working after 1.9.3 Upgrade

After upgrading Magento from 1.9.2.4 to 1.9.3, configurable swatches appears to be broken on the product page for all themes. When you click on color swatches (other than the default) the product ...
3
votes
2answers
4k views

Magento 2, List of configurable products with attribute options & add to cart

Scenario: I have a requirement to show a list of products, where a customer can quickly add them to the basket. This list can contain simple or configurable products, and if a configurable is listed, ...
1
vote
2answers
850 views

Swatches update gallery but only with the first product

I have my swatches working on configurable products, they are working well to add product in the cart, but I have an odd behaviour, only the photos of the first products are returned by the Ajax ...
4
votes
3answers
5k views

Execute JavaScript code after swatches are displayed in category view

I'm trying to trigger custom event whenever Magento displays the product swatches in category view. It looks like Magento uses ajax to load these swatches, they are not displayed on page load, they "...
0
votes
2answers
698 views

Magento 1.9 : Swatch Image is not appearing at frontend

My swatch option name is Black - 100% Italian Leather (Italian Leather) and my image name is black_-_100%_Italian_Leather_(Italian_Leather).png I had also try with this name but not work black--...
0
votes
2answers
1k views

How to remove swatch options that are not available?

in magento RWD theme, I would like to alter the way the swatches function so that subsequent swatches are dependant on the previous selection, and unavailable swatches to be removed. For example, a ...
0
votes
1answer
767 views

How to make the swatch images change on above option select?

Using the default configurable swatches in a Rwd based theme, and I would Like below option swatches to change depending on the above options selected. For example, if I select Design 1 for the ...
7
votes
2answers
11k views

Magento 2 create custom swatch attribute programmatically

I would like to create attributes with swatch option programatically in Magento 2.
4
votes
2answers
4k views

Configurable product image not switching with swatch change

I am trying to get configurable swatches working in a custom theme in a 1.9 build. I am basically using this method of importing the functionality in the theme. The swatches are working fine, they are ...
0
votes
1answer
305 views

JS event on configurable product frontend

I am working on the configurable product view page. I want to add an event to check if all options are checked before an AJAX call. I tried a solution like this to override the widget ...
2
votes
0answers
1k views

Add programatically a text swatch option attribute

I can use the method addAttributeOption() from Magento\Eav\Setup\EavSetup to add options to a dropdown attribute, something like this: $this->getCategorySetup()->addAttributeOption( [ ...
2
votes
3answers
1k views

Receiving 500 Internal Server Error [duplicate]

I did not even change any code or configure other than changing image in my slide show, which I have done earlier but I am continuously receiving these two errors on some of my pages including ...
3
votes
1answer
2k views

text swatch now showing out of stock Magento 2

Setting up configurable products and using the text swatch option to select shirt sizes. The issue is the out of stock shirt text swatches are still showing up, clickable, and have not styling to show ...
4
votes
1answer
4k views

Change configurable swatches order in Magento 2

I want to know how can I change/set configurable swatches sort order in a products list page in Magento 2 ? For example in the case above I want to have from top to bottom: Colors Shapes Sizes ...
3
votes
1answer
200 views

RWD swatches not changing images

When working with the rwd theme and the configurable product image swatches on some products the product images are not changing when changing options. Sadly this does not happen on all products or ...
2
votes
1answer
460 views

Magento2 Quickview Slider and Swatches Issue List Page

I have added quick view on list page. But I could not load slider in image thumb in quick view also configurable options/swatches are not visible. Does any one have faced this issue? Below is the ...
1
vote
0answers
112 views

Display Configurable Swatches in subcategories displayed on parent category page?

Having a bit of a strange issue here, with a very unique scenario. Currently my main categories have no products, but they have a child category with products, and a grandchild category with products,...
2
votes
3answers
1k views

How can I have the size and color of out of stock products displayed?

I would need help regarding the out of stock and color/size display function on Magento based website. I show the items on my website, even after they went out of stock. But the problem is that ...
0
votes
0answers
458 views

How to stop changing of base image when size is selected in details page?

I have two configurable swatches in details page. Color & size. When I select the size the base image is changing. I want the base image to change only for color swatches and not for size swatches....
2
votes
1answer
253 views

swatches on custom page

I'm trying to load a product view into another page, here is how I'm trying to achieve <?php Mage::register('product',$product);?> <?php $customview = Mage::app()->getLayout()->...
4
votes
0answers
1k views

Is there any way that one swatch is selected by default (magento configurable swatches)

I am trying use Magento Configurable swatches in my website (for colors). But I am facing some issues, in Product details page, we have to select one color swatch. In Product Listing Page, we are ...
5
votes
2answers
2k views

"Undefined Index Notice" in EavAttribute.php when adding a swatch option

I am using Magento 2 and I created an attribute called hair_color that is of a visual swatch input type. I have inputted 140 swatch options for this attribute, but on the 141 I keep getting this error:...
0
votes
1answer
2k views

Magento 2: Multiple choice swatch attribute

I have a product (a 'box') which my customers will add three items to the box product. Is there a way for me to create a multiple choice swatch attribute to allow the users to select the three things ...
3
votes
1answer
733 views

Swatcher PNG trancparency doesn't work and makes background black (Magento 2)

Transparent part of my PNG Files get black on color swatcher images. In product photos it seems to work fine. Anyone know how to fix that?
2
votes
5answers
14k views

Magento 2: How to change image size of swatches?

I found the file to change the image size of Swatches here and it works when I change it in that place: vendor/magento/module-swatches/etc/view.xml However, if I move it to my theme it doesn't ...
0
votes
1answer
923 views

Configurable swatches on category page showing Out Of Stock Products

I am working with a site and currently the configurable color swatches show every single out of stock associated products' swatch color on the category page, but not on the product info page. Is this ...
5
votes
1answer
2k views

Magento 2 error in swatchRenderer.js

I have overridden magento SwatchRenderer.js file in app\code\Mydirectory\CustomSwatches\view\frontend\web\js\SwatchRenderer.js. My problem is I get an error in my product page load: Uncaught ...
2
votes
0answers
413 views

How can I get Visual Swatch option imange in magento 2 product view page

I have attribute option Id but I can't get the image of swatch. Is there any way of getting image.
2
votes
0answers
4k views

Swatch customization issues

well we have heavily customized Magento 2 website. The swatch customizing is done in: app\code\My_Package\CustomSwatches\view\frontend\web\js\SwatchRenderer.js by overriding: vendor\magento\module-...
0
votes
1answer
231 views

Configurable Swatches Image Problems

I have the weirdest problem. I think it has to do with an ERP we installed on Magento 1.9.3 but I'm not sure. I have configurable products that have different sizes. I use the configurable swatch ...
2
votes
0answers
95 views

swatches not working in list page

Am working in magento 1.9.2.3. The configurable color swatches is not working in list page of mobile view while it is working fine in list page of desktop view.It is also working well in details page ...
0
votes
2answers
973 views

Remove price increase on configurable swatches

I am having trouble removing the price increase from configurable swatches. As you can see in the image it says +$10.00 - this bit is what i am trying to remove. The price should still change but the ...
0
votes
1answer
1k views

Magento 2 Visual Swatches Configuration

I'm trying to locate where the dimensions for the Visual Swatches in Magento 2 are defined. Or if they are not longer configurable via the admin the block that defines them.
4
votes
5answers
4k views

Magento 2 replace a core javascript

I was trying to replace magento 2 core javascript file for Swatches render which is located at app/code/Magento/Swatches/view/frontend/web/js/SwatchRenderer.js . And I followed official guide for this ...
0
votes
2answers
3k views

color swatches not displaying in details page

I have created configurable swatches for color attribute in my custom theme.The color swatch is displayed in product list page. But it is not displaying in product details page.Kindly anyone guide me ...
2
votes
0answers
174 views

Configurable swatches 1.9.2 max attributes [closed]

I am using configurable swatches that was included with the new version of Magento...It works great, until I reach what seems to be the max number of allowed swatch-ed attributes. How would I go about ...
3
votes
1answer
1k views

get configurable swatches in homepage product list (Custom product list)

I have populated bestselling products on homepage. It's populating list of products as desired. Now i have enabled configurable swatches & have enabled on product listing(i'm using rwd theme). I ...
1
vote
0answers
36 views

Simple product images on product page, search/category and basket pages

I know people have asked about being able to using a simple product's image on configurable products before but none of the solutions seem to cover everything we're looking for. What we want is to: ...