Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5675 Lượt xem

I would like to see the quantity as 1.0 instead of 1 on the website. I know that I can type manually a number with decimal.

talking about the product page and  cart lines. I cannot see where is this defined. I imagine a JS file in website_sale Any help will be appreciated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Magen,

Go through the below link:

\https://apps.odoo.com/apps/modules/12.0/website_cart_quantity

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Magen,

we can do it from currency (first off all we have enable multi currency group for the current user then only you can able to see currencies menu),  example USD see the following screen shot here Decimal Places is one means (for this we have to change rounding factory)under website quantity it will display as 1.0


Ảnh đại diện
Huỷ bỏ
Tác giả

I have it set

Rounding Factor 0.010000

Decimal Places 2

But I am talking about the quantity input in website eCommerce.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 23
2992
1
thg 3 22
8569
1
thg 8 20
4462
0
thg 5 17
3341
0
thg 9 24
721