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

#   How can I change"Next" button to "Go to Checkout"

##

- **[samoskill](/forum/user/25206-samoskill "View samoskill's Profile")**
- [![samoskill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/25206-samoskill "View samoskill's Profile") Topic Author
- [ Offline](/forum/user/25206-samoskill)

Less More

- Posts: 11
- Thank you received: 0
-
-
-
-

13 years 3 months ago [\#118409](#118409) by [samoskill](/forum/user/25206-samoskill "View samoskill's Profile")  *[How can I change"Next" button to "Go to Checkout"](/forum/27-checkout/861018-how-can-i-change-next-button-to-go-to-checkout#118409 "Hi.  I saw this on the FAQ How can I change the &quot;Next&quot; button text for the last step in the checkout ?  In the menu Display -&gt; Views, edit the &quot;step&quot; file (in the good template). Instead of : if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::&#95;('HIKA&#95;NEXT'),'next',... Write : if($this-&gt;nextButton){ if(count($this-&gt;steps)-1 == $this-&gt;step+1){$button&#95;value = JText::&#95;('HIKA&#95;FINALIZE');}else{ $button&#95;value = JText::&#95;('HIKA&#95;NEXT');} echo $this-&gt;cart-&gt;displayButton($button&#95;value,'next',... And in System -&gt; Configuration -&gt; Languages, edit your traduction file, add a line like that: HIKA&#95;FINALIZE=&quot;Finalize&quot; &quot;Finalize&quot; is for the example, but you can set whatever you want.  I didn't know how to change it because am not so familiar with PHP script. Please can you provide how i can change this line of code on my website, (if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::&#95;('HIKA&#95;next'),'next',$this-&gt;params,hikashop&#95;completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step+1)),'if(hikashopCheckChangeForm(&#92;'order&#92;',&#92;'hikashop&#95;checkout&#95;form&#92;')){ if(hikashopCheckMethods()){ document.getElementById(&#92;'hikashop&#95;validate&#92;').value=1; document.forms&#91;&#92;'hikashop&#95;checkout&#95;form&#92;'&#93;.submit();}} return false;','id=&quot;hikashop&#95;checkout&#95;next&#95;button&quot;'); }  So i can just copy and replaced.")* was created by *[samoskill](/forum/user/25206-samoskill "View samoskill's Profile")*

Hi.

I saw this on the FAQ
How can I change the "Next" button text for the last step in the checkout ?

In the menu Display -&gt; Views, edit the "step" file (in the good template). Instead of : if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::_('HIKA_NEXT'),'next',... Write : if($this-&gt;nextButton){ if(count($this-&gt;steps)-1 == $this-&gt;step+1){$button_value = JText::_('HIKA_FINALIZE');}else{ $button_value = JText::_('HIKA_NEXT');} echo $this-&gt;cart-&gt;displayButton($button_value,'next',... And in System -&gt; Configuration -&gt; Languages, edit your traduction file, add a line like that: HIKA_FINALIZE="Finalize" "Finalize" is for the example, but you can set whatever you want.

I didn't know how to change it because am not so familiar with PHP script. Please can you provide how i can change this line of code on my website, (if($this-&gt;nextButton){
echo $this-&gt;cart-&gt;displayButton(JText::_('HIKA_next'),'next',$this-&gt;params,hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step+1)),'if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\')){ if(hikashopCheckMethods()){ document.getElementById(\'hikashop_validate\').value=1; document.forms[\'hikashop_checkout_form\'].submit();}} return false;','id="hikashop_checkout_next_button"');
}

So i can just copy and replaced.

---

The Word is made flesh in my life

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MTAxOC1ob3ctY2FuLWktY2hhbmdlLW5leHQtYnV0dG9uLXRvLWdvLXRvLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26396
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 3 months ago [\#118410](#118410) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How can I change"Next" button to "Go to Checkout"](/forum/27-checkout/861018-how-can-i-change-next-button-to-go-to-checkout#118410 "Hi.  I saw this on the FAQ How can I change the &quot;Next&quot; button text for the last step in the checkout ?  In the menu Display -&gt; Views, edit the &quot;step&quot; file (in the good template). Instead of : if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::&#95;('HIKA&#95;NEXT'),'next',... Write : if($this-&gt;nextButton){ if(count($this-&gt;steps)-1 == $this-&gt;step+1){$button&#95;value = JText::&#95;('HIKA&#95;FINALIZE');}else{ $button&#95;value = JText::&#95;('HIKA&#95;NEXT');} echo $this-&gt;cart-&gt;displayButton($button&#95;value,'next',... And in System -&gt; Configuration -&gt; Languages, edit your traduction file, add a line like that: HIKA&#95;FINALIZE=&quot;Finalize&quot; &quot;Finalize&quot; is for the example, but you can set whatever you want.  I didn't know how to change it because am not so familiar with PHP script. Please can you provide how i can change this line of code on my website, (if($this-&gt;nextButton){ echo $this-&gt;cart-&gt;displayButton(JText::&#95;('HIKA&#95;next'),'next',$this-&gt;params,hikashop&#95;completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step+1)),'if(hikashopCheckChangeForm(&#92;'order&#92;',&#92;'hikashop&#95;checkout&#95;form&#92;')){ if(hikashopCheckMethods()){ document.getElementById(&#92;'hikashop&#95;validate&#92;').value=1; document.forms&#91;&#92;'hikashop&#95;checkout&#95;form&#92;'&#93;.submit();}} return false;','id=&quot;hikashop&#95;checkout&#95;next&#95;button&quot;'); }  So i can just copy and replaced.")*

Hi,

"Next" is just a translation of "HIKA_NEXT".
You can just change the translation text to change the button text.

Regards,

---

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

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

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

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