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

Product : Potato

Quantity: 1.5 kg

when a add to cart 1.5 it convert into 1.

Please give me the solution.

Ảnh đại diện
Huỷ bỏ

Please use short and concise titles. The purpose of the body text is to describe your issue.

Tác giả Câu trả lời hay nhất

I have fix it, by using change the onchange event of Qautity text box field. It's onchange function alws get the integer value and I have change it by using convert the Quantity text box value integer to Float and finally I get the 1.5 kg and make the payment as per.


Thank you.

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

Hi Dharmesh,

Can you please share the code lines with us and where did you make the changes?

Thank you
Marc

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 25
1012
4
thg 7 15
3838
2
thg 7 25
1130
2
thg 7 25
2835
1
thg 6 25
2003