Hi,
You can use this code (which is base on the "checkout | step" view):
$config =& hikashop_config();
$continueShopping = $config->get('continue_shopping', '');
if(!empty($continueShopping)) {
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
}
if(strpos($continueShopping,'Itemid') === false) {
if(strpos($continueShopping,'index.php?') !== false) {
$continueShopping .= $url_itemid;
}
}
if(!preg_match('#^https?://#',$continueShopping)) $continueShopping = JURI::base().ltrim($continueShopping,'/');
echo $this->cart->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,JRoute::_($continueShopping),'window.location=\''.JRoute::_($continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"');
}
It would use the "Continue shopping button's URL" option value (System > Configuration > Checkout).
If you don't want to display this button in the checkout, you can remove the "echo $this->cart ..." line in the view "checkout | step" or enter a default value here:
$continueShopping = $config->get('continue_shopping', '/my_continue_shopping_page.html');
Regards,