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

#   Editing content of %s in emails

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 2 months ago [\#170109](#170109) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  *[Editing content of %s in emails](/forum/35-orders-management/870841-editing-content-of-s-in-emails#170109 "-- HikaShop version -- : 3.0.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All  In many of the emails there are variables that are used that appear in the language file as %s.  I'd like to change the content of one of them globally without manually doing it.  E.g. I'd like to change ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT=&quot;Your order No. %s is now %s at %s&quot; to: Your order No. %s is now %s at Site Name  At the end point it currently comes out as: Your order No. 0014 is now confirmed at   shop.fava.org.au/  But I'd like it to say: Your order No. 0014 is now confirmed at the FamilyVoice Shop (with that hyperlinked)  But I'm not sure if going through the language section is the right way to do it, or if there is one setting globally for this particular variable.")* was created by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")*

-- HikaShop version -- : 3.0.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.28
-- Browser(s) name and version -- : All

In many of the emails there are variables that are used that appear in the language file as %s.

I'd like to change the content of one of them globally without manually doing it.

E.g. I'd like to change ORDER_STATUS_NOTIFICATION_SUBJECT="Your order No. %s is now %s at %s"
to: Your order No. %s is now %s at &lt;a href="%s"&gt;Site Name&lt;/a&gt;

At the end point it currently comes out as: Your order No. 0014 is now confirmed at [ shop.fava.org.au/](https://shop.fava.org.au/)
But I'd like it to say: Your order No. 0014 is now confirmed at the FamilyVoice Shop (with that hyperlinked)

But I'm not sure if going through the language section is the right way to do it, or if there is one setting globally for this particular variable.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#170116](#170116) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Editing content of %s in emails](/forum/35-orders-management/870841-editing-content-of-s-in-emails#170116 "-- HikaShop version -- : 3.0.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All  In many of the emails there are variables that are used that appear in the language file as %s.  I'd like to change the content of one of them globally without manually doing it.  E.g. I'd like to change ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT=&quot;Your order No. %s is now %s at %s&quot; to: Your order No. %s is now %s at Site Name  At the end point it currently comes out as: Your order No. 0014 is now confirmed at   shop.fava.org.au/  But I'd like it to say: Your order No. 0014 is now confirmed at the FamilyVoice Shop (with that hyperlinked)  But I'm not sure if going through the language section is the right way to do it, or if there is one setting globally for this particular variable.")*

Hi,

Yes going through the language section is the right way to do it. Just replace the current content by the one you wrote ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 2 months ago [\#170367](#170367) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  Replied by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")* on topic *[Editing content of %s in emails](/forum/35-orders-management/870841-editing-content-of-s-in-emails#170367 "-- HikaShop version -- : 3.0.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All  In many of the emails there are variables that are used that appear in the language file as %s.  I'd like to change the content of one of them globally without manually doing it.  E.g. I'd like to change ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT=&quot;Your order No. %s is now %s at %s&quot; to: Your order No. %s is now %s at Site Name  At the end point it currently comes out as: Your order No. 0014 is now confirmed at   shop.fava.org.au/  But I'd like it to say: Your order No. 0014 is now confirmed at the FamilyVoice Shop (with that hyperlinked)  But I'm not sure if going through the language section is the right way to do it, or if there is one setting globally for this particular variable.")*

I don't think that's going to work in this one though: ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %s at %s on the %s at %s"

It currently renders "We are pleased to confirm the creation of your order No. 0014 at [ shop.fava.org.au/](https://shop.fava.org.au/) on the 05 September 2014 at 16:17" but if I changed the second %s, it would render "... order No. 0014 at FamilyVoice Shop on the [ shop.fava.org.au/](https://shop.fava.org.au/) at 05 September 2014."

I'd need to replace the second "%s", but as each variable is the same and are treated (presumably) in order, I can't just take a %s that is in the middle. I'd need to change what the actual "%s" variable is, I think.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#170381](#170381) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Editing content of %s in emails](/forum/35-orders-management/870841-editing-content-of-s-in-emails#170381 "-- HikaShop version -- : 3.0.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.28 -- Browser(s) name and version -- : All  In many of the emails there are variables that are used that appear in the language file as %s.  I'd like to change the content of one of them globally without manually doing it.  E.g. I'd like to change ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT=&quot;Your order No. %s is now %s at %s&quot; to: Your order No. %s is now %s at Site Name  At the end point it currently comes out as: Your order No. 0014 is now confirmed at   shop.fava.org.au/  But I'd like it to say: Your order No. 0014 is now confirmed at the FamilyVoice Shop (with that hyperlinked)  But I'm not sure if going through the language section is the right way to do it, or if there is one setting globally for this particular variable.")*

Hi,

You can use:
ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE="We are pleased to confirm the creation of your order No. %1s at &lt;a href="%3s"&gt;FamilyVoice&lt;/a&gt; at %4s"

The following user(s) said Thank You: [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MDg0MS1lZGl0aW5nLWNvbnRlbnQtb2Ytcy1pbi1lbWFpbHM/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.057 seconds

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