Home › Forums › WoodMart support forum › variable product on category page
variable product on category page
- This topic has 8 replies, 2 voices, and was last updated 1 year, 4 months ago by Luke Nielsen.
-
AuthorPosts
-
July 20, 2023 at 11:11 am #482875
hofitdParticipantHi
I have variable products and want to show the product in different colors in archive page.
Most products only have have 1 attribute variation – color.
But there are some products which also have size attribue – so it contains 2 variations (size and color).
These products are displayed on the archive page as different products, so for example – red color is displayed 5 times becuase it has 5 sizes.
It should only be displayed once, as it’s 1 color, why does it also show each size as a different product in the archive?
Please advise
it’s urgent.Attachments:
You must be logged in to view attached files.July 20, 2023 at 12:31 pm #482904
Luke NielsenKeymasterHello,
The “Show single variation” option has such work, the product has the “Size” variation, therefore, option splits this into different products as well. You can disable it via Theme Settings -> Shop -> Product variations.
Kind Regards
July 31, 2023 at 2:54 pm #485385
hofitdParticipantHi
The whole point is to show the different products in the archive page.
If I choose the “color” variation to be displayed on the archive page, how come sizes variations are also displayed on the archive page?
There is a logic to show the colors becuase most times they have different images, but sizes most times doesn’t have different images.
So I understand that it splits all variation but we need some logic begind this feature, and there is absolutely no logic to show the same product 7 times with different sizes and same image.
In UX terms I would expect to see 2 different colors of the same product, and when I choose the color in the archive page I should choose the size in the single page.If my request is not logical to you, and you believe it’s not relevant to all users, please guide me how I can customize the code so it will show colors only.
Thank you
HofitJuly 31, 2023 at 4:44 pm #485425
Luke NielsenKeymasterHello,
At the moment, the option cannot work in another way because at the time of product output, we cannot know whether 2 variations have different images, but for each variation, we have the option to hide it in the archive which you can use:
https://monosnap.com/file/rNrkuLq4wGwNhU2ySQatALUpwcVnme
Kind Regards
July 31, 2023 at 6:37 pm #485475
hofitdParticipantok it might be a solution. but then if I remove all variations (becuase all of them have both color and size) – I must show the parent product in the archive, otherwise this product will never be displayed on the archive page.
My goal is to show the variation colors without the parent products, so what am I supposed to do in this case that I disable all variations in archive page?
July 31, 2023 at 6:55 pm #485481
hofitdParticipantok I managed to achieve what I needed by setting 2 extra variations for color with any size and only these 2 are displayed in the archive using that checkbox.
However, I set a gallery for each variation but when it’s clicked from the archive it shows the product’s main gallery instead of the variation gallery.My goal is that if the user clicks the white short he will see all the images of the white shirt.
The correct gallery is displated only after the size variation is also get selected.
But I don’t understand why, becuase I set a gallery for this variation.I also attached some screenshots
Attachments:
You must be logged in to view attached files.August 1, 2023 at 11:39 am #485615
Luke NielsenKeymasterHello,
Please navigate to Products -> Attributes -> in the settings of the attribute enable the “Change product image on attribute click” option, then recheck the issue.
https://monosnap.com/file/hgPNvuGFvaSWFtvZp1wF8u7yxGqBhd
Kind Regards
August 1, 2023 at 12:01 pm #485627
hofitdParticipantHi
It fixed the issue with switching between the black and white color.
But the issue that the variation gallery is not displayed when clicking the variable product on archive page still remains.
If they clicked white shirt on the archive page. they want to see the white shirt images, so why is the main product gallery displayed instead of the variation gallery?
Regards
HofitAugust 2, 2023 at 9:42 am #485868
Luke NielsenKeymasterHello,
At the moment, when you click on a white swatch, the white shirt appears: https://take.ms/6LpMSW
Please let me know if I missed something.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register