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

#   Get db data under payment method

##

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#326702](#326702) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326702 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")* was created by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.4
-- Browser(s) name and version -- : FireFox

Hi

Let me see if I can can explain what I would like to do ![:-)](/media/kunena/emoticons/3.png ":-)")

When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page.
This extra text has to be a link containing the order number and the total price.

Can I make it like this some way?

Regards
Thomas

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

5 years 11 months ago [\#326723](#326723) 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 *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326723 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hello Thomas,

If you wan to edit the "Thank you" page, the solution will be to directly edit the code of the "After_end" file of the "Checkout" view of your front-end template via "Hikashop-&gt;Display-&gt;Views".
For more information :
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Kind regards,
Mohamed.

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#326744](#326744) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326744 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Thank you ...

But I need to show something depending of the payment method that has been chosen - and that should be order number and total amount.

This I also need ind the emails sent to the customer.

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

5 years 11 months ago [\#326765](#326765) 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 *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326765 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hello,

Good, note that you'll find both of these informations through the following variable : "$this-&gt;order"

Kind regards,
Mohamed.

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#326809](#326809) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326809 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

But where do I add this to get it to show, when I chose a certain payment method?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAxMzcyLWdldC1kYi1kYXRhLXVuZGVyLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#326824](#326824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326824 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi,

You need to use a PHP condition.
For example: Code:

if($this-&gt;order-&gt;order_payment_method=='paypal') { echo $this-&gt;order-&gt;order_number; }

As said previously, if you want to add it at the end of the checkout on the default thank you page, you can edit the file "after_end" via the menu Display&gt;Views.
Now of course, you'll have to adapt the code to the situation.

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#326912](#326912) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326912 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Thank you!

Are you sure about that file?

I tried that, but nothing appears after and order - I even tried a simple echo, with same result.

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.4.0
* @author hikashop.com
* @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;&lt;?php
$app = JFactory::getApplication();
$app-&gt;enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE') );

if($this-&gt;order-&gt;order_payment_method=='mobilepay') {
echo $this-&gt;order-&gt;order_number;
}

if(!empty($this-&gt;url))
$app-&gt;enqueueMessage(JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE',$this-&gt;url));

$app = JFactory::getApplication();
$app-&gt;triggerEvent('onHikashopOrderTrackingDisplay', array($this-&gt;order));

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAxMzcyLWdldC1kYi1kYXRhLXVuZGVyLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#326926](#326926) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326926 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

That's the default thank you page.
However, if you entered a URL in the "return URL" setting of your payment method, it will use that URL and not the default thank you page of HikaShop. In that case, I don't know exactly what you should do as I don't know how is made the URL you chose on your website.
Also, with some payment methods, where there is no redirection to the payment gateway for the payment at the end of the checkout, it's possible it is another view file.
The modification in the after_end view file is the most generic one, and thus what we first recommend to not confuse the merchants with too much information.
If you want a precise answer, I would need you to tell me which payment methods you're using and how you configured them.

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#326985](#326985) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#326985 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi

I don't use any return URL, just the default thank you page.
I have set up the bank transfer plugin with these settings.

But I still can't get the page to show anything entered into the after_end file ![:-(](/media/kunena/emoticons/22.png ":-(")

Regards
Thomas

- [ ![2020-12-05&#95;00-13-34.png](/forum/attachment/51334) ](/forum/attachment/51334 "...5&#95;00-13-34.png") [ ](/forum/attachment/51334?download=1 "...5&#95;00-13-34.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAxMzcyLWdldC1kYi1kYXRhLXVuZGVyLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#327021](#327021) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327021 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi,

The bank transfer payment method doesn't redirect to a payment gateway at the end of the checkout and thus it doesn't use the "after_end" view file which is used when the customer comes back from the payment gateway.
For the bank transfer payment plugin, it's the file plugins/hikashoppayment/banktransfer/banktransfer_end.php which is used.
The order number is available with $this-&gt;order_number and the order total with $this-&gt;amount in that file.
To override it, you should copy that file to templates/YOUR_TEMPLATE/hikashoppayment/banktransfer_end.php via FTP and modify that copy. That way, you won't loose your changes when you update HikaShop.

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#327102](#327102) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327102 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi

Makes sense!
And thanks, I'll make the override ![:-)](/media/kunena/emoticons/3.png ":-)")

Regards
Thomas

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago -  5 years 11 months ago [\#327103](#327103) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327103 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Weird ...
I can insert TEST! on the page, but when I copy the content to test, I don't see that?
The second
Code:

&lt;div class="hikashop_banktransfer_end" id="hikashop_banktransfer_end"&gt; &lt;span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('PLEASE_TRANSFERT_MONEY',$this-&gt;amount).'&lt;br/&gt;'. $this-&gt;information.'&lt;br/&gt;'. JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt; TEST! TEST! &lt;div class="hikashop_banktransfer_end" id="hikashop_banktransfer_end"&gt; &lt;span class="hikashop_banktransfer_end_message" id="hikashop_banktransfer_end_message"&gt; &lt;?php echo JText::_('ORDER_IS_COMPLETE').'&lt;br/&gt;'. JText::sprintf('PLEASE_TRANSFERT_MONEY',$this-&gt;amount).'&lt;br/&gt;'. $this-&gt;information.'&lt;br/&gt;'. JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$this-&gt;order_number).'&lt;br/&gt;'. JText::_('THANK_YOU_FOR_PURCHASE');?&gt; &lt;/span&gt; &lt;/div&gt;

Last edit: 5 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAxMzcyLWdldC1kYi1kYXRhLXVuZGVyLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#327114](#327114) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327114 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi,

It could be because the HTML elements have the same ID which is not valid in HTML ?
[ www.w3schools.com/html/html\_id.asp](https://www.w3schools.com/html/html_id.asp)

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#327169](#327169) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327169 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hello

Seems to have been a cache issue, so I get what I want now ![:-)](/media/kunena/emoticons/3.png ":-)")
Thanks!

Would it be possible on that page to make a check on which bank transfer option the customer has made?

I have set up 2 types of bank transfer and would like to show different messages to them?

Kind regards
Thomas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTAxMzcyLWdldC1kYi1kYXRhLXVuZGVyLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 11 months ago [\#327179](#327179) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327179 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Hi,

You should be able to based on their id: Code:

if($this-&gt;order-&gt;order_payment_id == XX) { // display something for the bank transfer payment method with the id XX } else { // display something for the other bank transfer payment methods }

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

5 years 11 months ago [\#327201](#327201) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Get db data under payment method](/forum/32-content-creation/901372-get-db-data-under-payment-method#327201 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.4 -- Browser(s) name and version -- : FireFox  Hi  Let me see if I can can explain what I would like to do :-)  When a user orders an item and chooses a certain offline payment method, I would like that the emails sent to him has extra text added below the payment info - and also on the Thank you page. This extra text has to be a link containing the order number and the total price.  Can I make it like this some way?  Regards Thomas")*

Perfect!

Thank you so much ![:-)](/media/kunena/emoticons/3.png ":-)")

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

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