Product variants

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hello everyone,
I have a question in my nopcommerce, I want to publish an article that has variables and that are displayed in a specific way.
For example: I have an X shirt that has the color yellow, green and red.
You can configure nopcommerce so that if I choose the color yellow, in the images that it shows of the product, it only shows the images with the yellow t-shirt (I am not interested that images of the same t-shirt appear in green or red).
I hope I have explained well.
Thank you
4 years ago
Is this what you want?

https://demo.nopcommerce.com/adidas-consortium-campus-80s-running-shoes


(see admin for config
https://admin-demo.nopcommerce.com/Admin/Product/Edit/25
)
4 years ago
New York wrote:

It is not exactly that. I would like that when you select a shoe color (For example) the other images with the other shoe colors did not come out (Not to confuse the customer)
4 years ago
If you're saying that you don't want to show the Thumb Images (that are under the large image), then you probably just need to edit the .cshtml page to 'hide' that section.  (Display: none;  Or maybe adjust the class/CSS, but it could affect other pages too).

<div class="picture-thumbs">
...
4 years ago
Hi,

I would like to do the same. That each variants has its own group of images.

On this example: https://demo.nopcommerce.com/adidas-consortium-campus-80s-running-shoes
The same images are for brown, blue and silver.

We would need that when you select blue, only images for blue appear. If you select silver, then only images assigned to silver will appear.


Thanks
4 years ago
A product attribute only allows for one picture.  If you need it to have a "group of images", you would have to customize for that, or create a single image from your multiple images.
4 years ago
Thank you for your prompt reply.

Couple of questions please.
1. When you mentioned that I need to customize, do you mean on source code or is there a setting that could help on this?
2. Creating a single image from my multiple images, do you mean an "image collage"? If I create this "image collage", how can I hide the others when a variant is selected?

----------------
Extra note that might help other readers:
https://demo.nopcommerce.com/adidas-consortium-campus-80s-running-shoes
What we are trying to avoid, since the original reply as well, is that
1-> when selecting the variant "blue", the logic will show the "blue image" assigned by default.
2-> But then, the "brown and silver images" still showing,
3-> so customers could still clicking on the "silver image" but the variant still selected as "blue".
4-> At this point, the customer is seeing the "silver image" but "blue" variant is selected,
5-> then clicking on "add to cart" will add the "blue" variant (and this is the scenario where a customer may get confuse).
(it sounds more complicate than it is, but hopefully above steps will steps will help for further helps)
4 years ago
Anyone on this one?
4 years ago
Yes, it would require a change to source code.

I agree it seems like a bug.  If clicking a color attribute changes the image, then clicking an image should change the color attribute too (IMHO ;)

You probably should create an issue here:
https://github.com/nopSolutions/nopCommerce/issues
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.