[Skip to main content](#vessel-content)

#   Customize checkout text, how to use %s ?

##

- **[mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")**
- [![mireille76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39053-mireille76 "View mireille76's Profile") Topic Author
- [ Offline](/forum/user/39053-mireille76)

Less More

- Posts: 25
- Thank you received: 0
-
-

11 years 1 week ago [\#220712](#220712) by [mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")  *[Customize checkout text, how to use %s ?](/forum/27-checkout/880479-customize-checkout-text-how-to-use-s#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-&gt;Configuration-&gt;Languages :THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot; &quot; 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")* was created by *[mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")*

-- 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-&gt;Configuration-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDQ3OS1jdXN0b21pemUtY2hlY2tvdXQtdGV4dC1ob3ctdG8tdXNlLXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 1 week ago [\#220722](#220722) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Customize checkout text, how to use %s ?](/forum/27-checkout/880479-customize-checkout-text-how-to-use-s#220722 "-- 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-&gt;Configuration-&gt;Languages :THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot; &quot; 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDQ3OS1jdXN0b21pemUtY2hlY2tvdXQtdGV4dC1ob3ctdG8tdXNlLXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")**
- [![mireille76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39053-mireille76 "View mireille76's Profile") Topic Author
- [ Offline](/forum/user/39053-mireille76)

Less More

- Posts: 25
- Thank you received: 0
-
-

11 years 1 week ago [\#220825](#220825) by [mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")  Replied by *[mireille76](/forum/user/39053-mireille76 "View mireille76's Profile")* on topic *[Customize checkout text, how to use %s ?](/forum/27-checkout/880479-customize-checkout-text-how-to-use-s#220825 "-- 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-&gt;Configuration-&gt;Languages :THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot; &quot; 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")*

Okay, thank you for your answer.
Mireille

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDQ3OS1jdXN0b21pemUtY2hlY2tvdXQtdGV4dC1ob3ctdG8tdXNlLXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
