-- HikaShop version -- : 2.5.0
-- Joomla version -- : latest
Hi,
I need, that continue shopping button returns two urls back, because one url back is product page and two urls back is product listing page. I need to return to product listing page. I have placed in step.php this code (it returns to product page):
echo $this->cart->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,$_SESSION['previous_url'],'window.location=\''.$_SESSION['previous_url'].'\';return false;','id="hikashop_checkout_shopping_button"');
It works perfect, but it is not that I need. Please, help me to make changes in this code to get what I need.
Thanks in advance,
Vero