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

#   Bring "Finish" button to the top

##

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

Less More

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

12 years 1 month ago [\#175640](#175640) by [solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")  *[Bring "Finish" button to the top](/forum/27-checkout/872330-bring-finish-button-to-the-top#175640 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome  We are wanting to bring the &quot;Finish&quot; button to the top of the page so the users don't have to scroll below their product to click the &quot;Finish&quot; button...and finalize payment.  Can we move the bottom &quot;Finish&quot; button to the top and/or even create a second button that does the same thing...but just put it at the top of the final &quot;Checkout&quot; page?  Is this in a checkout view somewhere?  Thank you!")* was created by *[solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Chrome

We are wanting to bring the "Finish" button to the top of the page so the users don't have to scroll below their product to click the "Finish" button...and finalize payment.

Can we move the bottom "Finish" button to the top and/or even create a second button that does the same thing...but just put it at the top of the final "Checkout" page?

Is this in a checkout view somewhere?

Thank you!

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

12 years 1 month ago [\#175650](#175650) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Bring "Finish" button to the top](/forum/27-checkout/872330-bring-finish-button-to-the-top#175650 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome  We are wanting to bring the &quot;Finish&quot; button to the top of the page so the users don't have to scroll below their product to click the &quot;Finish&quot; button...and finalize payment.  Can we move the bottom &quot;Finish&quot; button to the top and/or even create a second button that does the same thing...but just put it at the top of the final &quot;Checkout&quot; page?  Is this in a checkout view somewhere?  Thank you!")*

Hi,

You have to edit the view "checkout / step" and move/copy the following part at the desired place: Code:

&lt;?php if($this-&gt;nextButton) { if($this-&gt;step == (count($this-&gt;steps) - 2)) { $checkout_next_button = JText::_('CHECKOUT_BUTTON_FINISH'); if($checkout_next_button == 'CHECKOUT_BUTTON_FINISH') $checkout_next_button = JText::_('NEXT'); } else $checkout_next_button = JText::_('NEXT'); echo $this-&gt;cart-&gt;displayButton($checkout_next_button,'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; this.disabled = true; document.forms[\'hikashop_checkout_form\'].submit();}} return false;','id="hikashop_checkout_next_button"'); $button = $this-&gt;config-&gt;get('button_style','normal'); if ($button=='css') echo '&lt;input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/&gt;&lt;/input&gt;'; } ?&gt;

You have to let it inside the HTML &lt;form&gt; tags.

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

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

Less More

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

12 years 1 month ago [\#175767](#175767) by [solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")  Replied by *[solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")* on topic *[Bring "Finish" button to the top](/forum/27-checkout/872330-bring-finish-button-to-the-top#175767 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome  We are wanting to bring the &quot;Finish&quot; button to the top of the page so the users don't have to scroll below their product to click the &quot;Finish&quot; button...and finalize payment.  Can we move the bottom &quot;Finish&quot; button to the top and/or even create a second button that does the same thing...but just put it at the top of the final &quot;Checkout&quot; page?  Is this in a checkout view somewhere?  Thank you!")*

Hi!

If I try to edit "checkout / step.php", and stay within that &lt;form&gt; element, it still stays @ the bottom of the page...even below "Convert Cart to Wishlist" button.

I'd like to at least go above the element:
&lt;div id="hikashop_payment_methods" class="hikashop_payment_methods"&gt;

...but that's not in "checkout / step.php" code file.

I am talking about this page:
index.php/hikashop-menu-for-user-control-panel/checkout/step/step-1

Please advise...thank you!

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

12 years 1 month ago [\#175785](#175785) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Bring "Finish" button to the top](/forum/27-checkout/872330-bring-finish-button-to-the-top#175785 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome  We are wanting to bring the &quot;Finish&quot; button to the top of the page so the users don't have to scroll below their product to click the &quot;Finish&quot; button...and finalize payment.  Can we move the bottom &quot;Finish&quot; button to the top and/or even create a second button that does the same thing...but just put it at the top of the final &quot;Checkout&quot; page?  Is this in a checkout view somewhere?  Thank you!")*

Hi,

Please us that content for the step view: Code:

&lt;div id="hikashop_checkout_page" class="hikashop_checkout_page hikashop_checkout_page_step&lt;?php echo $this-&gt;step; ?&gt;"&gt; &lt;?php if(hikashop_level(1)){ $open_hour = $this-&gt;config-&gt;get('store_open_hour',0); $close_hour = $this-&gt;config-&gt;get('store_close_hour',0); $open_minute = $this-&gt;config-&gt;get('store_open_minute',0); $close_minute = $this-&gt;config-&gt;get('store_close_minute',0); if($open_hour!=$close_hour &#124;&#124; $open_minute!=$close_minute){ function getCurrentDate($format = '%H'){ if(version_compare(JVERSION,'1.6.0','&gt;=')) $format = str_replace(array('%H','%M'),array('H','i'),$format); return (int)JHTML::_('date',time()- date('Z'),$format,null); } $current_hour = hikashop_getDate(time(),'%H'); $current_minute = hikashop_getDate(time(),'%M'); $closed=false; if($open_hour&lt;$close_hour &#124;&#124; ($open_hour==$close_hour &amp;&amp; $open_minute&lt;$close_minute)){ //are we before the open hour ? if($current_hour&lt;$open_hour &#124;&#124; ($current_hour==$open_hour &amp;&amp; $current_minute&lt;$open_minute)){ //we are before the open hour $closed=true; } //are we after the close hour ? if($close_hour&lt;$current_hour &#124;&#124; ($current_hour==$close_hour &amp;&amp; $close_minute&lt;$current_minute)){ //we are after the close hour $closed=true; } }else{ $closed=true; //are we before the close hour ? if($current_hour&lt;$close_hour &#124;&#124; ($current_hour==$close_hour &amp;&amp; $current_minute&lt;$close_minute)){ //we are before the close hour $closed=false; } //are we after the open hour ? if($open_hour&lt;$current_hour &#124;&#124; ($current_hour==$open_hour &amp;&amp; $open_minute&lt;$current_minute)){ //we are after the open hour $closed=false; } } if($closed){ $app=&amp; JFactory::getApplication(); $app-&gt;enqueueMessage(JText::sprintf('THE_STORE_IS_ONLY_OPEN_FROM_X_TO_X',$open_hour.':'.sprintf('%02d', $open_minute),$close_hour.':'.sprintf('%02d', $close_minute))); echo '&lt;/div&gt;'; return; } } } global $Itemid; $checkout_itemid = $this-&gt;config-&gt;get('checkout_itemid'); if(!empty($checkout_itemid )){ $Itemid = $checkout_itemid ; } $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } if($this-&gt;display_checkout_bar){ if(HIKASHOP_RESPONSIVE) { ?&gt; &lt;div class="hikashop_wizardbar"&gt; &lt;ul&gt; &lt;?php } else { ?&gt; &lt;div id="hikashop_cart_bar" class="hikashop_cart_bar"&gt; &lt;?php } $already=true; if (count($this-&gt;steps) &gt; $this-&gt;step+1) $link=true; foreach($this-&gt;steps as $k =&gt; $step){ $step=explode('_',trim($step)); $step_name = reset($step); if($this-&gt;display_checkout_bar==2 &amp;&amp; $step_name=='end'){ continue; } $class = ''; $badgeClass = ''; if($k == $this-&gt;step){ $already = false; $class .= ' hikashop_cart_step_current'; $badgeClass = 'info'; } if($already){ $class .= ' hikashop_cart_step_finished'; $badgeClass = 'success'; } if(HIKASHOP_RESPONSIVE) { ?&gt; &lt;li class="&lt;?php echo trim($class); ?&gt;"&gt; &lt;span class="badge badge-&lt;?php echo $badgeClass; ?&gt;"&gt;&lt;?php echo ($k + 1); ?&gt;&lt;/span&gt; &lt;?php if($k == $this-&gt;step &#124;&#124; empty($link)) { echo JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name)); } else { ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.$k.$url_itemid);?&gt;"&gt; &lt;?php echo JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name));?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;span class="hikashop_chevron"&gt;&lt;/span&gt; &lt;/li&gt; &lt;?php } else { ?&gt; &lt;div class="hikashop_cart_step&lt;?php echo $class;?&gt;"&gt; &lt;span&gt;&lt;?php if($k == $this-&gt;step &#124;&#124; empty($link)){ echo JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name)); }else{ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.$k.$url_itemid);?&gt;"&gt; &lt;?php echo JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name));?&gt; &lt;/a&gt; &lt;?php } ?&gt;&lt;/span&gt; &lt;/div&gt;&lt;?php } } ?&gt; &lt;/div&gt; &lt;?php } if(empty($this-&gt;noform)){ ?&gt; &lt;form action="&lt;?php echo hikashop_completeLink('checkout&amp;task=step&amp;step='.($this-&gt;step+1).$url_itemid); ?&gt;" method="post" name="hikashop_checkout_form" enctype="multipart/form-data" onsubmit="if('function' == typeof(hikashopSubmitForm)) { hikashopSubmitForm('hikashop_checkout_form'); return false; } else { return true; }"&gt; &lt;?php } $this-&gt;nextButton = true; if($this-&gt;nextButton) { if($this-&gt;step == (count($this-&gt;steps) - 2)) { $checkout_next_button = JText::_('CHECKOUT_BUTTON_FINISH'); if($checkout_next_button == 'CHECKOUT_BUTTON_FINISH') $checkout_next_button = JText::_('NEXT'); } else $checkout_next_button = JText::_('NEXT'); echo '&lt;div style="height:36px;"&gt;'.$this-&gt;cart-&gt;displayButton($checkout_next_button,'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; this.disabled = true; document.forms[\'hikashop_checkout_form\'].submit();}} return false;','id="hikashop_checkout_next_button"').'&lt;/div&gt;'; $button = $this-&gt;config-&gt;get('button_style','normal'); if ($button=='css') echo '&lt;input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/&gt;&lt;/input&gt;'; } $dispatcher = JDispatcher::getInstance(); $this-&gt;nextButton = true; foreach($this-&gt;layouts as $layout) { $layout = trim($layout); if($layout == 'end') { $this-&gt;continueShopping = ''; } if(substr($layout, 0, 4) != 'plg.') { $this-&gt;setLayout($layout); echo $this-&gt;loadTemplate(); } else { $html = ''; $dispatcher-&gt;trigger('onCheckoutStepDisplay', array($layout, &amp;$html, &amp;$this)); if(!empty($html)) { echo $html; } } } if(empty($this-&gt;noform)){ ?&gt; &lt;input type="hidden" name="Itemid" value="&lt;?php echo $Itemid; ?&gt;"/&gt; &lt;input type="hidden" name="option" value="com_hikashop"/&gt; &lt;input type="hidden" name="ctrl" value="checkout"/&gt; &lt;input type="hidden" name="task" value="step"/&gt; &lt;input type="hidden" name="previous" value="&lt;?php echo $this-&gt;step; ?&gt;"/&gt; &lt;input type="hidden" name="step" value="&lt;?php echo $this-&gt;step+1; ?&gt;"/&gt; &lt;input type="hidden" id="hikashop_validate" name="validate" value="0"/&gt; &lt;?php echo JHTML::_( 'form.token' ); ?&gt; &lt;input type="hidden" name="unique_id" value="[&lt;?php echo md5(uniqid())?&gt;]"/&gt; &lt;br style="clear:both"/&gt; &lt;?php if($this-&gt;nextButton) { if($this-&gt;step == (count($this-&gt;steps) - 2)) { $checkout_next_button = JText::_('CHECKOUT_BUTTON_FINISH'); if($checkout_next_button == 'CHECKOUT_BUTTON_FINISH') $checkout_next_button = JText::_('NEXT'); } else $checkout_next_button = JText::_('NEXT'); echo $this-&gt;cart-&gt;displayButton($checkout_next_button,'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; this.disabled = true; document.forms[\'hikashop_checkout_form\'].submit();}} return false;','id="hikashop_checkout_next_button"'); $button = $this-&gt;config-&gt;get('button_style','normal'); if ($button=='css') echo '&lt;input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/&gt;&lt;/input&gt;'; } ?&gt; &lt;/form&gt; &lt;?php if($this-&gt;continueShopping){ if(strpos($this-&gt;continueShopping,'Itemid')===false){ if(strpos($this-&gt;continueShopping,'index.php?')!==false){ $this-&gt;continueShopping.=$url_itemid; } } if(!preg_match('#^https?://#',$this-&gt;continueShopping)) $this-&gt;continueShopping = JURI::base().ltrim($this-&gt;continueShopping,'/'); echo $this-&gt;cart-&gt;displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this-&gt;params,JRoute::_($this-&gt;continueShopping),'window.location=\''.JRoute::_($this-&gt;continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"'); } } ?&gt; &lt;/div&gt; &lt;div class="clear_both"&gt;&lt;/div&gt; &lt;?php if(JRequest::getWord('tmpl','')=='component'){ exit; }

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

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

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

Less More

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

12 years 1 month ago [\#175906](#175906) by [solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")  Replied by *[solwebsolutions](/forum/user/16564-solwebsolutions "View solwebsolutions's Profile")* on topic *[Bring "Finish" button to the top](/forum/27-checkout/872330-bring-finish-button-to-the-top#175906 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome  We are wanting to bring the &quot;Finish&quot; button to the top of the page so the users don't have to scroll below their product to click the &quot;Finish&quot; button...and finalize payment.  Can we move the bottom &quot;Finish&quot; button to the top and/or even create a second button that does the same thing...but just put it at the top of the final &quot;Checkout&quot; page?  Is this in a checkout view somewhere?  Thank you!")*

Thank you...that worked!

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

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