Skip to main content

Place Finish Button above

12 years 8 months ago #149293 by kitkat
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : HikaShop [1403011735]
-- Joomla version -- : 3.2.3
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi there

Currently on the final checkout page the "Finish" button appears way at the bottom, is there a way to place it above as well?
What code and which file do i need to edit/copy and paste for this?

Thanks

Please Log in or Create an account to join the conversation.

12 years 8 months ago #149347 by nicolas
Replied by nicolas on topic Place Finish Button above
Hi,

You can edit the file "step" via the menu display>views and move the code
Code:
<?php if($this->nextButton) { if($this->step == (count($this->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->cart->displayButton($checkout_next_button,'next',$this->params, hikashop_completeLink('checkout&task=step&step='.$this->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"'); $button = $this->config->get('button_style','normal'); if ($button=='css') echo '<input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/></input>'; } ?>
The following user(s) said Thank You: kitkat, Gsol

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum