Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3508 มุมมอง

Product : Potato

Quantity: 1.5 kg

when a add to cart 1.5 it convert into 1.

Please give me the solution.

อวตาร
ละทิ้ง

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

ผู้เขียน คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Dharmesh,

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

Thank you
Marc

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 25
1014
4
ก.ค. 15
3839
2
ก.ค. 25
1152
2
ก.ค. 25
2852
1
มิ.ย. 25
2005