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

#   can I add the text provided after paying also in the email that is send?

##

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

Less More

- Posts: 92
- Thank you received: 3
-
-

9 years 3 months ago [\#274292](#274292) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274292 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")* was created by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")*

I have a payment type "banktransfer" and I would like to add the text of the bank account information also in the email sent after selecting this payment type.

I cannot find this text in the translation. So how could I refer to it in the email section?

- [ ![2017-07-19&#95;2206.png](/forum/attachment/39261) ](/forum/attachment/39261 "...07-19&#95;2206.png") [ ](/forum/attachment/39261?download=1 "...07-19&#95;2206.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84OTEyMDYtY2FuLWktYWRkLXRoZS10ZXh0LXByb3ZpZGVkLWFmdGVyLXBheWluZy1hbHNvLWluLXRoZS1lbWFpbC10aGF0LWlzLXNlbmQ/dG1wbD1tYXJrZG93bg==) 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: 86357
- Thank you received: 14289
-
-

9 years 3 months ago [\#274313](#274313) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274313 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")*

Hi,

What text exactly do you want to add in the email ?

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

9 years 3 months ago [\#274342](#274342) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274342 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")*

the text provided in the field "bank account information" of the payment type configuration of Hika.

Also see my attachment.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84OTEyMDYtY2FuLWktYWRkLXRoZS10ZXh0LXByb3ZpZGVkLWFmdGVyLXBheWluZy1hbHNvLWluLXRoZS1lbWFpbC10aGF0LWlzLXNlbmQ/dG1wbD1tYXJrZG93bg==) 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: 86357
- Thank you received: 14289
-
-

9 years 3 months ago [\#274351](#274351) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274351 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")*

That text is already in the email sent to the customer after the order is created.
You can see the code which does that in the preload of the email (when you edit it via the menu System&gt;Emails): Code:

ob_start(); if($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax&gt;0) echo '&lt;p&gt;' . JText::_('ORDER_VALID_AFTER_PAYMENT') . '&lt;/p&gt;'; if(in_array($data-&gt;order_payment_method, array('banktransfer', 'check', 'purchaseorder'))) { $amount = $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax, $data-&gt;cart-&gt;order_currency_id); $paymentClass = hikashop_get('class.payment'); $payment = $paymentClass-&gt;get($data-&gt;order_payment_id); $information = $payment-&gt;payment_params-&gt;information; if(preg_match('#^[a-z0-9_]*$#i',$information)){ $information = JText::_($information); } if($data-&gt;order_payment_method=='banktransfer'){ echo '&lt;p&gt;' . JText::sprintf('PLEASE_TRANSFERT_MONEY',$amount).'&lt;br/&gt;'.$information.'&lt;br/&gt;'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$data-&gt;order_number) . '&lt;/p&gt;'; }elseif($data-&gt;order_payment_method=='check'){ echo '&lt;p&gt;' . JText::sprintf('PLEASE_SEND_CHECK',$amount).'&lt;br/&gt;'.$information.'&lt;br/&gt;'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_CHECK',$data-&gt;order_number) . '&lt;/p&gt;'; }elseif($data-&gt;order_payment_method=='purchaseorder'){ echo '&lt;p&gt;' . JText::sprintf('PLEASE_SEND_PURCHASEORDER',$amount).'&lt;br/&gt;'.$information.'&lt;br/&gt;'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_PURCHASEORDER',$data-&gt;order_number) . '&lt;/p&gt;'; } } else { if($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax&gt;0 &amp;&amp; hikashop_level(1) &amp;&amp; $config-&gt;get('allow_payment_button',1)) { $pay_url = 'index.php?option=com_hikashop&amp;ctrl=order&amp;task=pay&amp;order_id='.$data-&gt;order_id.$url_itemid; if(empty($customer-&gt;user_cms_id) &amp;&amp; !empty($data-&gt;order_token)) { $pay_url .= '&amp;order_token='.urlencode($data-&gt;order_token); } $pay_url = hikashop_frontendLink($pay_url); if($config-&gt;get('force_ssl',0) &amp;&amp; strpos('https://',$pay_url) === false) { $pay_url = str_replace('http://','https://',$pay_url); } echo '&lt;p&gt;&lt;a href="'. $pay_url .'"&gt;'.JText::_('PAY_NOW') . '&lt;/a&gt;&lt;/p&gt;'; } } $content = ob_get_clean(); $vars['ORDER_SUMMARY'] .= $content;

So unless you changed that code, or removed the ORDER_SUMMARY tag from the HTML version of the email, that text will be in the email notification sent to the customer.

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

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

Less More

- Posts: 92
- Thank you received: 3
-
-

9 years 3 months ago [\#274420](#274420) by [ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")  Replied by *[ezomerdijk](/forum/user/38681-ezomerdijk "View ezomerdijk's Profile")* on topic *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274420 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")*

Ah, off course. The "problem" is that I sent a payment link when I have checked the order.

And after going to the payment page, the customer selects "banktransfer" and than get a "order status notification" email...

Pfoeh. Is there an easy way? besides from scanning the code from one email and pasting the right pieces to the other? (cause just copy and paste doesn't work).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3BheW1lbnQtbWV0aG9kcy84OTEyMDYtY2FuLWktYWRkLXRoZS10ZXh0LXByb3ZpZGVkLWFmdGVyLXBheWluZy1hbHNvLWluLXRoZS1lbWFpbC10aGF0LWlzLXNlbmQ/dG1wbD1tYXJrZG93bg==) 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: 86357
- Thank you received: 14289
-
-

9 years 3 months ago [\#274422](#274422) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[can I add the text provided after paying also in the email that is send?](/forum/29-payment-methods/891206-can-i-add-the-text-provided-after-paying-also-in-the-email-that-is-send#274422 "I have a payment type &quot;banktransfer&quot; and I would like to add the text of the bank account information also in the email sent after selecting this payment type.  I cannot find this text in the translation. So how could I refer to it in the email section?")*

Hi,

It's that code that is important to display the information of the payment method: Code:

&lt;?php $paymentClass = hikashop_get('class.payment'); $payment = $paymentClass-&gt;get($data-&gt;order_payment_id); $information = $payment-&gt;payment_params-&gt;information; if(preg_match('#^[a-z0-9_]*$#i',$information)){ $information = JText::_($information); } echo $information; ?&gt;

You should be able to add that in any HTML version of the order notification emails where you want it to be displayed.

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

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