Customize checkout text, how to use %s ?

  • Posts: 25
  • Thank you received: 0
9 years 1 week ago #220712

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6.6

Hello,
I want to customize the text appearing when order is finished.
I found that I can do this by modifing text in Hikashop->Configuration->Languages :THANK_YOU_FOR_PURCHASE=" "
But I do not understand how to put order number or order total amount in the text.
It seems that %s is used sometimes for order number, sometimes for order amount, ...
Could you please explain me how this works ?

Thank you very much for your answer,
Mireille

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

  • Posts: 12953
  • Thank you received: 1778
9 years 1 week ago #220722

Hello Mireille,
The %s means that the value will be dynamic and will be set through PHP code, so if you want to change it, you'll have to directly edit the code of the file where the translation key is used.

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

  • Posts: 25
  • Thank you received: 0
9 years 1 week ago #220825

Okay, thank you for your answer.
Mireille

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

Time to create page: 0.065 seconds
Powered by Kunena Forum