I read that thread before I posted. I am using this code below in the step.php to have Submit order instead of Next in the last step of the checkout button and I am using the Back button. I thought that the URL continue shopping which is showing in all steps needs to be changed somewhere else. I would like to have it only in the first step where I then would have the Next button and the Continue shopping URL button and from the second step of checkout only Next and Back button. Besides thumbs up for the HikaShop component and its great support.
<?php
if($this->step==2){
echo $this->cart->displayButton(JText::_('SUBMIT_ORDER'),'next',$this->params,hikashop::completeLink('checkout&task=step&step='.$this->step+1),'document.forms[\'hikashop_checkout_form\'].submit(); return false; ','id="hikashop_checkout_next_button"');
}else{
echo $this->cart->displayButton(JText::_('NEXT'),'next',$this->params,hikashop::completeLink('checkout&task=step&step='.$this->step+1),'document.forms[\'hikashop_checkout_form\'].submit(); return false;','id="hikashop_checkout_next_button"');
}
if($this->step!=0){
echo $this->cart->displayButton(JText::_('BACK'),'back',$this->params,hikashop::currentUrl(),'history.back();return false;','id="hikashop_checkout_back_button"');
}
?>