Hi gamederek,
Edit your file: "yourSite\components\com_hikashop\controllers\product.php", and try to replace the code:
switch($redirectConfig){
[...]
}
if(empty($url)){
global $Itemid;
if(isset($from_id))$cart_id = $from_id;
if(JRequest::getInt('new_'.$cart_type.'_id',0)!= 0 && JRequest::getInt('delete',0) == 0)$cart_id = JRequest::getInt('new_'.$cart_type.'_id',0);
$cart = $class->get($cart_id,false,$cart_type);
if(!empty($cart) && (int)$cart_id != 0){
$url = 'cart&task=showcart&cart_type=wishlist&cart_id='.$cart_id.'&Itemid='.$Itemid;
}else{
$url = 'cart&task=showcarts&cart_type=wishlist&Itemid='.$Itemid;
}
$url = hikashop_completeLink($url,false,true);
}
$this->setRedirect($url);
By:
switch($redirectConfig){
case 'ask_user':
$url = JRequest::getVar('return_url','');
if(!empty($url)){
$url=base64_decode(urldecode($url));
}
if(JRequest::getInt('popup')){
if(strpos($url,'?')){
$url.='&';
}else{
$url.='?';
}
$url.='popup=1&cart_type=wishlist&cart_id='.$cart_id;
}
JRequest::setVar('cart_type','wishlist');
break;
case 'stay':
$stay = 1;
break;
case 'checkout':
case 'stay_if_cart':
$module = JModuleHelper::getModule('hikashop_cart',false);
if($module != null){
$stay = 1;
}
break;
default:
break;
}
if(empty($url)){
global $Itemid;
if(isset($from_id))$cart_id = $from_id;
if(JRequest::getInt('new_'.$cart_type.'_id',0)!= 0 && JRequest::getInt('delete',0) == 0)$cart_id = JRequest::getInt('new_'.$cart_type.'_id',0);
$cart = $class->get($cart_id,false,$cart_type);
if(!empty($cart) && (int)$cart_id != 0){
$url = 'cart&task=showcart&cart_type=wishlist&cart_id='.$cart_id.'&Itemid='.$Itemid;
}else{
$url = 'cart&task=showcarts&cart_type=wishlist&Itemid='.$Itemid;
}
$url = hikashop_completeLink($url,false,true);
}
if($stay == 0)
$this->setRedirect($url);
else{
echo '<html><head><script type="text/javascript">history.back();</script></head><body></body></html>';
exit;
}