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

#   Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message

##

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 9 months ago [\#188930](#188930) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#188930 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")* was created by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")*

Hi,

I'm trying to get something like that:

Caro Sr(a) clientName,

Obrigado pela sua visita a [ www.mysite.com](http://www.mysite.com)
A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em emailCliente@domain.com.

**O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)**(this message is auto-gerated by hikashop)

Obrigado pela sua preferência e compra.
Com os melhores cumprimentos,
logoImage

Well I have tried to edit the message in languages but I need to input this RED\_VALUES to "%s" in translate text.
But when I try to change in "template/html/com_hikashop/checkout/end.php" I have only this:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.4 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if(empty($this-&gt;html)){ echo JText::_('THANK_YOU_FOR_PURCHASE'); }else{ echo $this-&gt;html; } $this-&gt;nextButton = false;

Well the BLOCKS WITH THIS COLOR i was changed in override language like this:

ORDER_IS_COMPLETE="&lt;p class='order_saudacao'&gt;Caro Sr(a) &lt;span&gt;%s&lt;/span&gt;,&lt;/p&gt;&lt;p class='order_agradecerVisita'&gt;Obrigado pela sua visita a &lt;a href='%s' target='_blank'&gt;%s&lt;/a&gt;.&lt;br&gt;A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em &lt;span&gt;%s&lt;/span&gt;.&lt;/p&gt;"

THANK_YOU_FOR_PURCHASE="&lt;p class='order_agradecerCompra'&gt;&lt;br&gt;Obrigado pela sua preferência e compra.&lt;br&gt;Com os melhores cumprimentos.&lt;br&gt;&lt;img style='max-width:100px; max-height:70px;' src='%s' /&gt;&lt;/p&gt;".

Now how i can change the code Code:

echo $this-&gt;html;

to get the code like I wanted.

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

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 9 months ago [\#188932](#188932) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  Replied by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#188932 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

Hi again.

I have found the places, but how to override this plugins?

for example /components/com_hikashop/extensions/plg_hikashoppayment_collectondelivery/collectondelivery_end.php

this code:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.4 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div class="hikashop_collectondelivery_end" id="hikashop_collectondelivery_end"&gt; &lt;span class="hikashop_collectondelivery_end_message" id="hikashop_collectondelivery_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('AMOUNT_COLLECTED_ON_DELIVERY',$this-&gt;amount,$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;payment_params-&gt;return_url)){ $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {window.location='".$this-&gt;payment_params-&gt;return_url."'});"); }

How can I override this in my template html folder?
Thanks

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 9 months ago [\#188937](#188937) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#188937 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

Hi,

Copy that file to the folder templates/YOUR_TEMPLATE/hikashoppayment/ and the copied file will override the original one.

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

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

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 9 months ago -  11 years 9 months ago [\#189386](#189386) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  Replied by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#189386 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

And I can copy from
**SITE/administrator/components/com\_hikashop/extensions/plg\_hikashoppayment\_collectondelivery/collectondelivery\_end.php**
to the
**FRONTEND\_SITE/templates/MY\_TEMPLATE/hikashoppayment/collectondelivery\_end.php** ?

Last edit: 11 years 9 months ago by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 9 months ago [\#189406](#189406) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#189406 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

Hi,

Sure

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

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

Less More

- Posts: 57
- Thank you received: 4
-
-

11 years 9 months ago [\#189514](#189514) by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")  Replied by *[rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#189514 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

But inside the **/html/com\_hikashop** folder?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 9 months ago [\#189521](#189521) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Whow to edit "THANK\_YOU\_FOR\_PURCHASE" message](/forum/27-checkout/874669-whow-to-edit-thank-you-for-purchase-message#189521 "Hi,  I'm trying to get something like that:  ,  Obrigado pela sua visita a A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em  O montante de 63,63 € irá ser cobrado no momento da entrega da sua encomenda (C5J4)(this message is auto-gerated by hikashop)  &#91;/color&#93;  Well I have tried to edit the message in languages but I need to input this to &quot;%s&quot; in translate text. But when I try to change in &quot;template/html/com&#95;hikashop/checkout/end.php&quot; I have only this:  Well the i was changed in override language like this:  ORDER&#95;IS&#95;COMPLETE=&quot;Caro Sr(a) %s,Obrigado pela sua visita a %s.A sua encomenda foi registada com sucesso e irá receber muito em breve, uma confirmação em %s.&quot;  THANK&#95;YOU&#95;FOR&#95;PURCHASE=&quot;Obrigado pela sua preferência e compra.Com os melhores cumprimentos.&quot;.  Now how i can change the code to get the code like I wanted.")*

No. As I said, you should put it in FRONTEND_SITE/templates/MY_TEMPLATE/hikashoppayment/
I didn't talk about the html/com_hikashop folder.

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

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