Hello,
Thanks for your details, we work on our side in order to correct your issue and with the same move improve HikaShop.
I will guide you to process some test with a short fix, here the step by step process :
1. Go in YourWebsite\components\com_hikashop\controllers
2. Open the checkout.php file
3. Around line 705, you have this :
if($checkoutHelper->isStoreClosed()) {
hikaInput::get()->set('layout', 'shop_closed');
return $this->display();
}
$check = $this->checkWorkflowSteps($step);
if($check !== true)
$this->app->redirect($checkoutHelper->completeLink('cid='.((int)$check + 1), false, true, false, $checkout_itemid));
$old_messages = $this->app->getMessageQueue();
4. Add this :
//
// Get and check the cart
//
$cart = $checkoutHelper->getCart();
if(empty($cart) || empty($cart->cart_id) || empty($cart->products)) {
if(!empty($cart->messages)) {
// Display messages
foreach($cart->messages as $msg) {
$this->app->enqueueMessage($msg['msg'], $msg['type']);
}
}
$this->setRedirect($checkoutHelper->getRedirectUrl(), JText::_('CART_EMPTY'));
return true;
}
5. To have this :
Important point, we are awaiting your returns to be sure that this fix is efficient before add it to our next HikaShop releases
Regards