Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
4913 Vistas

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
Descartar

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

Mejor respuesta

Does anyone solved this issue sir ? 

Avatar
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar

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.

Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 16
4189
3
abr 25
2012
2
ene 25
3127
0
oct 23
1497
1
sept 22
2208