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

#   Last screen of the checkout

##

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

Less More

- Posts: 48
- Thank you received: 0
-
-

14 years 7 months ago -  14 years 7 months ago [\#47244](#47244) by [guido](/forum/user/4278-guido "View guido's Profile")  *[Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47244 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")* was created by *[guido](/forum/user/4278-guido "View guido's Profile")*

In the last screen of the checkout, the customer sees what is has to do.
Is it possible to have a button, when its pressed you go to another page on the website.
Now there is nothing and the customer is possibly waiting for something.

With regards,

Guido

Last edit: 14 years 7 months ago by [guido](/forum/user/4278-guido "View guido's Profile"). Reason: adding infi

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

14 years 7 months ago -  14 years 7 months ago [\#47261](#47261) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47261 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

Hi guido,

You can add a button by this way:
Go in HikaShop &gt; Display &gt; views, and edit the view "checkout / end.php" in the good template.
Then add this line: Code:

?&gt;&lt;input class="button" type="button" value="&lt;?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?&gt;" onClick="document.location='index.php';"/&gt;&lt;?php

Under the two existing "echo".

You can change the text, and set the location as you want.

Last edit: 14 years 7 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

14 years 7 months ago [\#47283](#47283) by [guido](/forum/user/4278-guido "View guido's Profile")  Replied by *[guido](/forum/user/4278-guido "View guido's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47283 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

Thanks Xavier.

But i'm a nono with php, could you give an example where to place that line.

Guido

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

14 years 7 months ago [\#47288](#47288) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47288 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

Your PHP should be like that:
Code:

&lt;?php if(empty($this-&gt;html)){ echo JText::_('THANK_YOU_FOR_PURCHASE'); ?&gt;&lt;input class="button" type="button" value="&lt;?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?&gt;" onClick="document.location='index.php';"/&gt;&lt;?php }else{ echo $this-&gt;html; ?&gt;&lt;input class="button" type="button" value="&lt;?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?&gt;" onClick="document.location='index.php';"/&gt;&lt;?php } $this-&gt;nextButton = false;

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

14 years 7 months ago [\#47291](#47291) by [guido](/forum/user/4278-guido "View guido's Profile")  Replied by *[guido](/forum/user/4278-guido "View guido's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47291 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

[ ![www.masmus.nl-Beheer-MozillaFirefox&#95;2012-04-18&#95;16-47-14.jpg](/forum/attachment/3539) ](/forum/attachment/3539 "...8&#95;16-47-14.jpg")

i suppose i have to insert above code.
But where in that file, i suppose it is this file, see attachment.

Guido

- [ ![www.masmus.nl-Beheer-MozillaFirefox&#95;2012-04-18&#95;16-47-14.jpg](/forum/attachment/3539) ](/forum/attachment/3539 "...8&#95;16-47-14.jpg") [ ](/forum/attachment/3539?download=1 "...8&#95;16-47-14.jpg")

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

14 years 7 months ago [\#47292](#47292) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47292 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

It's not this file.
You have to edit the file "end.php" in the view "checkout".

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

14 years 7 months ago -  14 years 7 months ago [\#47295](#47295) by [guido](/forum/user/4278-guido "View guido's Profile")  Replied by *[guido](/forum/user/4278-guido "View guido's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47295 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

[ ![www.masmus.nl-Beheer-MozillaFirefox&#95;2012-04-18&#95;17-15-18.jpg](/forum/attachment/3540) ](/forum/attachment/3540 "...8&#95;17-15-18.jpg")

do you mean this file.

and if so, do i have to add the code at the bottom.

i think its this file, i changed it, but nothing to see at the checkout screen.

- [ ![www.masmus.nl-Beheer-MozillaFirefox&#95;2012-04-18&#95;17-15-18.jpg](/forum/attachment/3540) ](/forum/attachment/3540 "...8&#95;17-15-18.jpg") [ ](/forum/attachment/3540?download=1 "...8&#95;17-15-18.jpg")

Last edit: 14 years 7 months ago by [guido](/forum/user/4278-guido "View guido's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

14 years 7 months ago [\#47298](#47298) by [guido](/forum/user/4278-guido "View guido's Profile")  Replied by *[guido](/forum/user/4278-guido "View guido's Profile")* on topic *[Re: Last screen of the checkout](/forum/4-how-to/47244-last-screen-of-the-checkout#47298 "In the last screen of the checkout, the customer sees what is has to do. Is it possible to have a button, when its pressed you go to another page on the website. Now there is nothing and the customer is possibly waiting for something.  With regards,  Guido")*

i found it, wrong i searched in the wrong template, found it and it works.

Thanks

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