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

#   Add back button before next button on checkout

##

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 9 months ago [\#191564](#191564) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191564 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")* was created by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")*

-- HikaShop version -- : 2.3.5

Hello,

I am trying to add back button to my second step on checkout.
I am trying as hell but I have alway back button after next button.

I need to have back button before next.
[ ![buttonback.jpg](/forum/attachment/22542) ](/forum/attachment/22542 "buttonback.jpg")

Can anybody help me, please?

Thanks in advance

- [ ![buttonback.jpg](/forum/attachment/22542) ](/forum/attachment/22542 "buttonback.jpg") [ ](/forum/attachment/22542?download=1 "buttonback.jpg")

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 9 months ago [\#191570](#191570) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191570 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Hi,

It's not 100% clear, but it reads as if your only problem is for the button to show **before** the "next" button (= to the left of it).

Other than making sure that the code for the "Back" button is inserted before the one for the "Next" button, please check your CSS: there might be some float involved causing you issues with the button locations.

If I misunderstood your post, please excuse and try again...

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 9 months ago -  11 years 9 months ago [\#191571](#191571) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191571 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Hello,

thanks for your reply but I don't understand it as well.

Basicaly I need just this.

[ ![back2.jpg](/forum/attachment/22543) ](/forum/attachment/22543 "back2.jpg")

Its working on 1st step page (shipping and payment) and on page with adress fields it doesn't. I guess its due to container in which all adress fields are and there is also next button.

Thanks in advance
Filip

- [ ![back2.jpg](/forum/attachment/22543) ](/forum/attachment/22543 "back2.jpg") [ ](/forum/attachment/22543?download=1 "back2.jpg")

Last edit: 11 years 9 months ago by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile").

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 9 months ago [\#191573](#191573) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191573 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

I guess you're adding your "Back" button in the "checkout / step" view in the section Code:

if($this-&gt;nextButton) {

Not sure what you've done so far, but note that there are "if / else" conditions, which could require you to add your button code to more than only one of them.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 9 months ago [\#191574](#191574) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191574 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

If i put my code in this block if($this-&gt;nextButton) the back button isn't only on page with adress fields (sing in).

Maybe becasue it isn't next button but its registration / sign in button?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NTEzOS1hZGQtYmFjay1idXR0b24tYmVmb3JlLW5leHQtYnV0dG9uLW9uLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 9 months ago [\#191566](#191566) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191566 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Hi,

Please see the configuration of the checkout for the setting "continue shopping"
[ www.hikashop.com/support/support/documen...ml#checkout\_checkout](http://www.hikashop.com/support/support/documentation/54-hikashop-config.html#checkout_checkout)

Regards,

---

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

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 9 months ago [\#191692](#191692) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191692 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Hello,

thanks but it has same effect on login page.
[ ![issuebackbutton.jpg](/forum/attachment/22575) ](/forum/attachment/22575 "...backbutton.jpg")

I need to put back button in selected DIV before next button.
Filip

- [ ![issuebackbutton.jpg](/forum/attachment/22575) ](/forum/attachment/22575 "...backbutton.jpg") [ ](/forum/attachment/22575?download=1 "...backbutton.jpg")

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

11 years 9 months ago [\#191695](#191695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191695 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Hi,

In that case, you need to put your button code in the file "registration" of the view "user" before the line:
echo $this-&gt;cartClass-&gt;displayButton($registerButtonName,'register',$this-&gt;params,hikashop_currentUrl(),' hikashopSubmitForm(\''.$this-&gt;form_name.'\'); return false;','id="hikashop_register_form_button"');

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 9 months ago [\#191762](#191762) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Add back button before next button on checkout](/forum/27-checkout/875139-add-back-button-before-next-button-on-checkout#191762 "-- HikaShop version -- : 2.3.5  Hello,  I am trying to add back button to my second step on checkout. I am trying as hell but I have alway back button after next button.  I need to have back button before next.  Can anybody help me, please?  Thanks in advance")*

Thank you very much. You are great!

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

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