Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

This question has been flagged
As a moderator, you can either validate or reject this answer.
Accept Reject



if point 2.04 = 2 point

if point 2.05 = 2.1 point

Avatar
Discard
Author Best Answer

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:


Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Related Posts Replies Views Activity
1
Nov 23
111
1
Nov 24
84
0
Sep 24
66
0
Aug 24
107
0
Jun 24
73