if point 2.04 = 2 point
if point 2.05 = 2.1 point
if point 2.04 = 2 point
if point 2.05 = 2.1 point
1. Go to /domains/onebakery.demo.satumalaysiahosting.com/public_html/language/en-GB/en-GB.com_hikashop.ini, find USERPOINTS_HAVE_X_POINTS and change $d to %.1f.
Result:
2. Go to /domains/onebakery.demo.satumalaysiahosting.com/public_html/plugins/hikashoppayment/userpoints/userpoints.php, find a function call 'getCartUsedPoints' and add round() function in the code below.
3. Then, go to administrator-->Hikashop-->Configuration-->Languages, find USERPOINTS_USER_FOR_DISCOUNT and change %s to %.1f (the second %s no need to change)
Result:
4. Go to /domains/onebakery.demo.satumalaysiahosting.com/public_html/components/com_altauserpoints/helpers/helpers.php, find a function call 'getFormattedPoints' and add round at the return position.
Result:
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
11月 23
|
111 | ||
|
1
11月 24
|
84 | ||
|
0
9月 24
|
65 | ||
|
0
8月 24
|
107 | ||
|
0
6月 24
|
73 |