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

#   Change final button to Submit Order in checkout

##

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 6 months ago [\#13429](#13429) by [momentis](/forum/user/364-momentis "View momentis's Profile")  *[Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13429 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")* was created by *[momentis](/forum/user/364-momentis "View momentis's Profile")*

I have my checkout process using the following workflow:

login,cart_coupon,address,confirm_cart,end

My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm_cart), I would like the "Next" button to change to "Submit Order". Is that possible? If so, how?

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 6 months ago [\#13431](#13431) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13431 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

I found this section of code in the 'step' view:
Code:

if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::_('NEXT'),'next',$this-&gt;params,hikashop::completeLink('checkout&amp;task=step&amp;step='.$this-&gt;step+1),'if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\'))document.forms[\'hikashop_checkout_form\'].submit(); return false;','id="hikashop_checkout_next_button"'); }

Looks like I need to play around with this area of the file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEzNDI5LWNoYW5nZS1maW5hbC1idXR0b24tdG8tc3VibWl0LW9yZGVyLWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 6 months ago -  14 years 8 months ago [\#13434](#13434) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13434 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

Yes. Here is a pointer: [ www.hikashop.com/en/forum/4-how-to/9242-...ext-button.html#9242](http://www.hikashop.com/en/forum/4-how-to/9242-label-next-button.html#9242)

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

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 6 months ago [\#13435](#13435) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13435 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

Thanks for the usual level of prompt service!!! I tried searching the forum - REALLY - before posting!

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 6 months ago [\#13439](#13439) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13439 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

Nicolas,

The code worked PERFECTLY!! Thanks!

As an aside, is there any way to add a "Back" button into the step process in checkout? I know a user can click on the progress bar at the top to go back, but the button may be more intuitive.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEzNDI5LWNoYW5nZS1maW5hbC1idXR0b24tdG8tc3VibWl0LW9yZGVyLWluLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 6 months ago [\#13441](#13441) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13441 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

You could add something like that:

echo $this-&gt;cart-&gt;displayButton(JText::_('Back'),'back',$this-&gt;params,hikashop::currentUrl(),'history.back();return false;','id="hikashop_checkout_back_button"');

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

- **[momentis](/forum/user/364-momentis "View momentis's Profile")**
- [![momentis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar364.jpg)](/forum/user/364-momentis "View momentis's Profile") Topic Author
- [ Offline](/forum/user/364-momentis)

Less More

- Posts: 202
- Thank you received: 2
-
-

15 years 6 months ago [\#13444](#13444) by [momentis](/forum/user/364-momentis "View momentis's Profile")  Replied by *[momentis](/forum/user/364-momentis "View momentis's Profile")* on topic *[Re: Change final button to Submit Order in checkout](/forum/4-how-to/13429-change-final-button-to-submit-order-in-checkout#13444 "I have my checkout process using the following workflow:  login,cart&#95;coupon,address,confirm&#95;cart,end  My store has no prices, as it is a b2b store with our clients. When someone gets to the last step in the checkout process (confirm&#95;cart), I would like the &quot;Next&quot; button to change to &quot;Submit Order&quot;. Is that possible? If so, how?")*

Again, thanks! I wrapped it in an IF statement so it does not show on the first step in the process, like:
Code:

if($this-&gt;step!=0){ echo $this-&gt;cart-&gt;displayButton(JText::_('BACK'),'back',$this-&gt;params,hikashop::currentUrl(),'history.back();return false;','id="hikashop_checkout_back_button"'); }

That way it keeps the button functioning within the confines of the checkout process ONLY.

Many, many thanks!
Rick

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

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

[](#top)
