콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
5085 화면

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 

아바타
취소

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

베스트 답변

Does anyone solved this issue sir ? 

아바타
취소
베스트 답변

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

아바타
취소
베스트 답변

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 ! 

아바타
취소
베스트 답변

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.


아바타
취소

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.

관련 게시물 답글 화면 활동
1
2월 16
4283
3
4월 25
2138
2
1월 25
3237
0
10월 23
1602
1
9월 22
2355