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

#   Bank transfer end

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 7 months ago [\#267408](#267408) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#267408 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer_end.php and add all our modifications there. However this would change order created email too.

Is there a way to modify that file and have different layout for email and checkout end?

Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....

I am looking for easiest solution.

Kind Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4OTgxNC1iYW5rLXRyYW5zZmVyLWVuZD90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

9 years 7 months ago [\#267417](#267417) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#267417 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

For the emails, you can edit them via the menu System&gt;Emails and add an "if" on $data-&gt;order_payment_id or $data-&gt;order_payment_method
[ www.hikashop.com/forum/4-how-to/76543-wh...nt-method.html#82369](https://www.hikashop.com/forum/4-how-to/76543-where-do-i-find-data-order-payment-method.html#82369)
For the end of the checkout, you can edit the file "end" of the view "checkout" and base your code on :
[ www.hikashop.com/forum/checkout/865128-d...kout-end.html#226549](https://www.hikashop.com/forum/checkout/865128-display-invoice-at-checkout-end.html#226549)
to load the order data and use $order-&gt;order_payment_id and $order-&gt;order_payment_method for your "if" in your code.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 7 months ago [\#267459](#267459) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#267459 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

Thanks for replay. I think you have misunderstood a little bit my question. But anyway i get you point that we should modify end view file and add if condition for every payment method. It will require more work then modifyingpayment plugins ...end.php file.

Have a great Easter

Kind Regards

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 7 months ago -  9 years 7 months ago [\#267577](#267577) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#267577 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

I do have one more question.

I have added this to end view file to check how it works.
Code:

.... echo '&lt;br/&gt;'.JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE', $url); }elseif($this-&gt;order-&gt;order_payment_id == '15'){ ?&gt; &lt;div class="checkout_end_notice checkout-body"&gt; &lt;?php echo $this-&gt;order-&gt;order_number; ?&gt; &lt;/div&gt; &lt;? } else { echo $this-&gt;html; .......

It works fine for manual bank transfer payment plugin.
The question is how we can redirect to same page/url ( ..../checkout/confirm/cart_id-4576 ) with payment method like Paypal? I assume that the after_end view file is used with such payment methods?

Right now we have set return url to article in plugin config... If we remove it, it redirects to home page with thank you message.

Kind Regards

Last edit: 9 years 7 months ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4OTgxNC1iYW5rLXRyYW5zZmVyLWVuZD90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

9 years 7 months ago [\#267592](#267592) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#267592 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

That's right, you would have to add your code to after_end and remove the return URL of your payment method.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 6 months ago [\#268398](#268398) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268398 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

I need another help here. I am trying to modify after_end view.

How can I have same url with cart_id? I could create hidden menu item and redirect it there but is there a way to have same page like end view does? ( [ www.mysite.com/checkout/confirm/cart\_id-4576](http://www.mysite.com/checkout/confirm/cart_id-4576) )
Right now it redirects to home page and shows all details between modules...

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4OTgxNC1iYW5rLXRyYW5zZmVyLWVuZD90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

9 years 6 months ago [\#268408](#268408) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268408 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

That URL will only work if you have a cart with the id 4576 linked to your user and that you went through the checkout.
Otherwise, it will redirect you to the checkout or the URL when the cart is empty.
Unfortunately, I don't have enough context on what you're trying to do or why to be able to say more than that.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 6 months ago [\#268437](#268437) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268437 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

I will try to be more clear.
Right now when you do checkout with manual bank transfer payment at thank you page end view use menu item which is created via joomla...however after_end view does not, it redirects to home page. I would like to have same behiviour with after_end.

I have done some thank you page and would like to have it for all payment methods. Only aome text would be different based on payment id....

I hope you see my point.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4OTgxNC1iYW5rLXRyYW5zZmVyLWVuZD90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

9 years 6 months ago [\#268444](#268444) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268444 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

Then I don't see why you're talking about the confirm page ?
Why not just enter the URL of your custom thank you page in the "return URL" setting of your payment methods ?
If you need to get the payment method name of the order in your custom thank you page, you can use such PHP code: Code:

&lt;?php $app = JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;get($order_id); echo $order-&gt;order_payment_method; ?&gt;

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 6 months ago [\#268464](#268464) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268464 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

Cause I don't want it be accessed later. With end view all is fine. If you try to access checkout menu item you will get cart empty message. Is there a way to have same behavior?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg4OTgxNC1iYW5rLXRyYW5zZmVyLWVuZD90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

9 years 6 months ago [\#268519](#268519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bank transfer end](/forum/4-how-to/889814-bank-transfer-end#268519 "Hi,  I am looking for advise. We need to modify checkout bank transfer end page. I think the easiest way would be to create override of the banktransfer&#95;end.php and add all our modifications there. However this would change order created email too.  Is there a way to modify that file and have different layout for email and checkout end?  Or we should do it via hikashop view override. As we have 4 payment methods it would require to add 4 if conditions....  I am looking for easiest solution.  Kind Regards")*

Hi,

Sure, for example:
&lt;?php
$app = JFactory::getApplication();
$order_id = $app-&gt;getUserState('com_hikashop.order_id');
if(empty($order_id))
$app-&gt;redirect('URL where you want to redirect when the order_id is not present');
?&gt;

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

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

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