Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
4893 Widoki

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 

Awatar
Odrzuć

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

Najlepsza odpowiedź

Does anyone solved this issue sir ? 

Awatar
Odrzuć
Najlepsza odpowiedź

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 :)

Awatar
Odrzuć
Najlepsza odpowiedź

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 ! 

Awatar
Odrzuć
Najlepsza odpowiedź

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.


Awatar
Odrzuć

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
lut 16
4178
3
kwi 25
2006
2
sty 25
3116
0
paź 23
1493
1
wrz 22
2200