Wishlist must be logged in message appears twice.
11 years 7 months ago #198572
by grayt7
Wishlist must be logged in message appears twice. was created by grayt7
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : Message
You must be logged in to use the wishlists.
You must be logged in to use the wishlists.
Hi,
The when not logged in and you press the wishlist button the message about not being logged in appears twice?
Many thanks.
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : Message
You must be logged in to use the wishlists.
You must be logged in to use the wishlists.
Hi,
The when not logged in and you press the wishlist button the message about not being logged in appears twice?
Many thanks.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #198580
by grayt7
Replied by grayt7 on topic Wishlist must be logged in message appears twice.
PS I have just edit the language string in the languange override part of joomla. The message still appears twice if the override is off and the settings are default.
I have also tried a default joomla template but still the same issue.
Many thanks.
I have also tried a default joomla template but still the same issue.
Many thanks.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #198579
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Wishlist must be logged in message appears twice.
Hi,
In the file "components/com_hikashop/controller/product.php" you can replace
By
It should fix the issue with the message repetition.
Regards,
In the file "components/com_hikashop/controller/product.php" you can replace
Code:
$app->enqueueMessage(JText::_('LOGIN_REQUIRED_FOR_WISHLISTS'));
$app->redirect( str_replace('&popup=1','',$_SERVER['HTTP_REFERER']));
Code:
if($config->get('redirect_url_after_add_cart','stay_if_cart') == 'ask_user')
$app->enqueueMessage(JText::_('LOGIN_REQUIRED_FOR_WISHLISTS'));
$app->redirect( str_replace('&popup=1','',$_SERVER['HTTP_REFERER']));
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #198706
by grayt7
Replied by grayt7 on topic Wishlist must be logged in message appears twice.
Yep, fixed thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds