Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
4889 Weergaven

When showcasing a product with multiple variants on a website page (using the "products" block), the block shows all variant of the fetched product (e.g. jacket, red, size S; jacked, red, size M; jacket, blue, L; etc.) 

This is quite confusing for customers - is it possible to configure the block in a way that only the main products are displayed in the "product" block? 

i'm in odoo online v15 

Avatar
Annuleer

I would also like to know. This doesn't seem to be fixed in v16.

Looking for a solutions as well... Not very handy to show the products variants (for example all sizes of some clothes...).
I think it would make sense to have the opportunity to deselect specific attributes for the product block

Beste antwoord

Does anyone solved this issue sir ? 

Avatar
Annuleer
Beste antwoord

It is coming on v17.4 !

you can find the release notes for v17.4, and it says this:

Show product templates instead of variants in the "Products" building block, if desired.

It is currently on 'test' mode, so I am patiently waiting :)

Avatar
Annuleer
Beste antwoord

Can u explain it in brief process that how can i do that & can u please send the code of html or backend As i'm beginner so i don't understand very well ! 

Avatar
Annuleer
Beste antwoord

you can configure the "products" block on your website to only showcase the main products. Here's how you can achieve this:

  1. Modify the Product Display Logic: Adjust the logic in the backend or the code responsible for fetching and displaying the product variants. Instead of displaying all variants, modify it to only retrieve and showcase the main product variants.

  2. Define Main Product Variants: Determine which variants are considered the main ones for each product. This could be based on popularity, default settings, or any other criteria that aligns with your business needs.

  3. Update the Product Block Configuration: Within the "products" block configuration, update the settings to filter and display only the main product variants. This could involve specifying filters or conditions to ensure that only the desired variants appear.

By implementing these changes, your "products" block will present customers with a cleaner and less overwhelming view, focusing on the main product variants.


Avatar
Annuleer

Can you elaborate on how one is to do that? I don't know how to adjust backend code.

In the settings for the product blocks and carousels, there should be a setting for controlling whether variant details are shown.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
feb. 16
4175
3
apr. 25
2003
2
jan. 25
3110
0
okt. 23
1493
1
sep. 22
2194