Hi,
I've somewhat reproduced the issue (besides the fact that I don't get a blank page).
However, the issue is not with the reminder plugin but with the way HikaShop handles the cart display page when the user is not logged in.
I've added a patch:
// if the cart_id comes from the URL try to load the cart while skipping the user checks
$cart_id = hikashop_getCID('cart_id');
if(!empty($cart_id)) {
$cart = $cartClass->get($cart_id, null, array('skip_user_check' => true));
// if the cart exists but the user checks failed and the user is not connected, redirect him to the Joomla login form
$user_id = hikashop_loadUser(false);
if(!empty($cart) && empty($user_id)) {
// Redirect to login page
$app = JFactory::getApplication();
$app->enqueueMessage(JText::_('PLEASE_LOGIN_FIRST'));
global $Itemid;
$suffix = (!empty($Itemid) ? '&Itemid=' . $Itemid : '');
$url = 'index.php?option=com_users&view=login';
$app->redirect(JRoute::_($url . $suffix . '&return='.urlencode(base64_encode(hikashop_currentUrl('', false))), false));
}
}
just before the code:
hikashop_get('helper.checkout');
$checkoutHelper = hikashopCheckoutHelper::get();
$this->setRedirect($checkoutHelper->getRedirectUrl(), JText::_('CART_EMPTY'));
return true;
in the file components/com_hikashop/controllers/cart.php and it then properly redirects to the login form in such case.
Please try the patch on your end.