- Posts: 25
- Thank you received: 0
Customize checkout text, how to use %s ?
- mireille76
-
Topic Author
- Offline
Less
More
11 years 1 week ago #220712
by mireille76
Customize checkout text, how to use %s ? was created by mireille76
-- 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
-- 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.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 1 week ago #220722
by Mohamed Thelji
Replied by Mohamed Thelji on topic Customize checkout text, how to use %s ?
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.
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.
- mireille76
-
Topic Author
- Offline
Less
More
- Posts: 25
- Thank you received: 0
11 years 1 week ago #220825
by mireille76
Replied by mireille76 on topic Customize checkout text, how to use %s ?
Okay, thank you for your answer.
Mireille
Mireille
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds