Good morning,
i found another thread about login/logout and cart shop and looked into the file that was mentioned in this thread. (see
www.hikashop.com/en/support/forum/3-bug-...art-loginlogout.html
)
Is this the function where the cart is attached to the user who logged in (plugin/user/hikashop.php)
function onLoginUser($user, $options){
$app =& JFactory::getApplication();
$cart = $app->getUserState('com_hikashop.cart_id',0);
if(empty($cart) && !empty($this->cart)){
$app->setUserState('com_hikashop.cart_id',$this->cart);
}
$entries = $app->getUserState('com_hikashop.entries_fields',null);
if(empty($entries) && !empty($this->entries)){
$app->setUserState('com_hikashop.entries_fields',$this->entries);
}
}
If so, you must reproduce the problem as this code only attaches the new cart values when the cart of the user is/was empty. Or do I miss something?