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

Hi I'm trying to use odoo e-commerce platform and I have a question.

 when a product is customizable whenever I click on add-to-cart button after I confirm my choices for the  attributes of the product (color, size,…. etc) and needed quantities I find a new line each time I click add-to-cart for the same product with the same attributes  in my cart . I expected another behavior , it should update the quantity of the product I already added without creating new lines.

 
Is there a configuration for this behavior to be achieved?



아바타
취소
작성자 베스트 답변

I managed to achieve the desired behviour.


I realized that the add-to-cart button works as I was expecting but the button was creating different lines of the same product in the cart because one or more of the attributes used in the product was set as custome value for example:


Let's say you created a new product (e.g 'jacket') and you specified that this jacket comes in different colors so you specified an attribute(e.g color) as 'varying' and specified this value as custome value now when you add two products with the same color value ('varying') the add-to-cart button will add a line for each product even though technically they're the same variant.

아바타
취소
베스트 답변

Hi Mohammad.


Yes, there is a way to customize the behavior of the ‘Add to Cart’ button in Odoo. Here are the steps you can follow:


Go to 'Website' ‣ 'Configuration' ‣ 'Settings'.

Under the 'Shop - Checkout Process section', look for 'Add to Cart'.

Select one of the options available.


Hope this helps.

Regards,
Maciej Burzymowski

아바타
취소
작성자

Thanks a lot for your quick response .
I managed to acheve the desired behaviour using another way.

I posted my solution in the posts answers.

Best Regards