Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
4914 Zobrazení

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
Zrušit

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

Nejlepší odpověď

Does anyone solved this issue sir ? 

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit

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.

Related Posts Odpovědi Zobrazení Aktivita
1
úno 16
4190
3
dub 25
2012
2
led 25
3129
0
říj 23
1497
1
zář 22
2208