[Skip to main content](#vessel-content)

#   Wishlist must be logged in message appears twice.

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#198572](#198572) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Wishlist must be logged in message appears twice.](/forum/41-wishlist/876374-wishlist-must-be-logged-in-message-appears-twice#198572 "-- 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.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- 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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3NjM3NC13aXNobGlzdC1tdXN0LWJlLWxvZ2dlZC1pbi1tZXNzYWdlLWFwcGVhcnMtdHdpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#198580](#198580) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Wishlist must be logged in message appears twice.](/forum/41-wishlist/876374-wishlist-must-be-logged-in-message-appears-twice#198580 "-- 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.")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3NjM3NC13aXNobGlzdC1tdXN0LWJlLWxvZ2dlZC1pbi1tZXNzYWdlLWFwcGVhcnMtdHdpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#198579](#198579) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Wishlist must be logged in message appears twice.](/forum/41-wishlist/876374-wishlist-must-be-logged-in-message-appears-twice#198579 "-- 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.")*

Hi,

In the file "components/com_hikashop/controller/product.php" you can replace Code:

$app-&gt;enqueueMessage(JText::_('LOGIN_REQUIRED_FOR_WISHLISTS')); $app-&gt;redirect( str_replace('&amp;popup=1','',$_SERVER['HTTP_REFERER']));

By Code:

if($config-&gt;get('redirect_url_after_add_cart','stay_if_cart') == 'ask_user') $app-&gt;enqueueMessage(JText::_('LOGIN_REQUIRED_FOR_WISHLISTS')); $app-&gt;redirect( str_replace('&amp;popup=1','',$_SERVER['HTTP_REFERER']));

It should fix the issue with the message repetition.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3NjM3NC13aXNobGlzdC1tdXN0LWJlLWxvZ2dlZC1pbi1tZXNzYWdlLWFwcGVhcnMtdHdpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

11 years 7 months ago [\#198706](#198706) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Wishlist must be logged in message appears twice.](/forum/41-wishlist/876374-wishlist-must-be-logged-in-message-appears-twice#198706 "-- 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.")*

Yep, fixed thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3NjM3NC13aXNobGlzdC1tdXN0LWJlLWxvZ2dlZC1pbi1tZXNzYWdlLWFwcGVhcnMtdHdpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.070 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
