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

#   Back button on the Checkout Steps

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 3 months ago [\#118520](#118520) by [pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")  *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118520 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")* was created by *[pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")*

I wan't to create a back button because some people don't now how the breadcrum works.

&lt;a href="#" onclick="history.back();return false;"&gt;Go back&lt;/a&gt;

But is there a other way?

And if it's not how can i get the same button as next?

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

13 years 3 months ago [\#118534](#118534) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118534 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Hi,

You can probably use the code: Code:

&lt;input type="button" value="Previous" onclick="window.location.href('&lt;?php echo $this-&gt;params,hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step-1)); ?&gt;')"/&gt;

In the view "checkout / step".

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 3 months ago [\#118542](#118542) by [pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")  Replied by *[pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118542 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

the code comes a button but not with the good css and the button don't work

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

13 years 3 months ago [\#118547](#118547) 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 *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118547 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Something like this will probably do the job, you'll just have to add some CSS code to customize it : Code:

&lt;?php if($this-&gt;step &gt; 0){ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step-1)); ?&gt;"&gt; BACK &lt;/a&gt; &lt;?php } ?&gt;

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 3 months ago -  13 years 3 months ago [\#118548](#118548) by [pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")  Replied by *[pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118548 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

When i replace the code (old code) the button disappears?

Last edit: 13 years 3 months ago by [pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 3 months ago [\#118566](#118566) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118566 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Hi,

Can you please explain using an image what you want exactly for the result ?
I don't understand if you want a button or not.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 3 months ago [\#118574](#118574) by [pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")  Replied by *[pvankrugten](/forum/user/12449-pvankrugten "View pvankrugten's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118574 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

See picture, i wan't a back button the same is next

- [ ![hf190c91.png](/forum/attachment/11673) ](/forum/attachment/11673 "hf190c91.png") [ ](/forum/attachment/11673?download=1 "hf190c91.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 3 months ago [\#118596](#118596) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#118596 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Hi,

You can use the code given by Xavier and Mohamed with a little modification Code:

&lt;?php if($this-&gt;step &gt; 0){ ?&gt; &lt;input type="button" value="Previous" onclick="window.location.href = '&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step-1), false, false, true); ?&gt;'; return false;"/&gt; &lt;?php } ?&gt;

But you have to add a class in the input and change your CSS in order to have the look you want.
You can't use the same class than the next button. The arrow is not display in the same direction.
So it require some customization from your side.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 91
- Thank you received: 3
-
-

12 years 9 months ago [\#143240](#143240) by [miracle](/forum/user/17825-miracle "View miracle's Profile")  Replied by *[miracle](/forum/user/17825-miracle "View miracle's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#143240 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

If you use this, you can also make a value Previous in your language file and get the word Previous in the languages you want.
Code:

&lt;?php if($this-&gt;step &gt; 0){ ?&gt; &lt;input type="button" value="&lt;?php echo JText::_('Previous') ?&gt;" onclick="window.location.href = '&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step-1), false, false, true); ?&gt;'; return false;"/&gt; &lt;?php } ?&gt;

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

12 years 9 months ago [\#143264](#143264) 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 *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#143264 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Thanks for your feedback ![:)](/media/kunena/emoticons/3.png ":)").

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

12 years 1 month ago [\#174185](#174185) by [joomwalker](/forum/user/28642-joomwalker "View joomwalker's Profile")  Replied by *[joomwalker](/forum/user/28642-joomwalker "View joomwalker's Profile")* on topic *[Back button on the Checkout Steps](/forum/4-how-to/861040-back-button-on-the-checkout-steps#174185 "I wan't to create a back button because some people don't now how the breadcrum works.  Go back  But is there a other way?  And if it's not how can i get the same button as next?")*

Hi there, if you want to stay with the text "Back" and still control the text via the language files, have a look here.....

[ TOPIC: Add Back Button on Checkout Pages](http://www.hikashop.com/forum/4-how-to/63243-add-back-button-on-checkout-pages.html#174183)

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

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