Digits after decimal alpha user points

  • Posts: 19
  • Thank you received: 1
10 years 5 months ago #159617

Hello,

How am I able to remove the digits after the decimal using the 'Alpha User Points' payment method? I would like to display the full amount of points, with no digits after the decimal.

Screenshot: cl.ly/image/0p2h0F200V0Z

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #159622

Hi,

The text is displayed using a translation, the format for the number is included in the translation and it looks like you change it because it's not the official text.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
10 years 5 months ago #159757

So could you tell me what phrase should be edited to remove the digits after the decimal?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 5 months ago #159789

Hi,

Simply change your message translation with a translation override and use the %d variable in your translation so that it displays without any decimals.
You can read more about translation overrides here:
hikashop.com/download/languages.html#modify

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum