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

#   Disable multiple wishlists

##

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#172239](#172239) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172239 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")* was created by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.4.29

Hi,

Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.

thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#172240](#172240) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172240 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

If you have disabled the multi cart option, so it's ok, it's the same option for the carts and the wishlists.

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

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#172473](#172473) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172473 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

I did that but sometimes when I login for the first time and go to User Control Panel, click on Wishlist link I'm taken to multiple wishlist page, second time when I click on the link everything is fine, I'm directed to wishlist cart view.

thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#172477](#172477) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172477 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

Do you have any cache enabled ?
I just checked the code and it should only display the button to show the cart view and not the listing.

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

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#172672](#172672) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172672 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

The cache is disabled because I'm developing, I've also have a cache extension that is deleting cache every time I save something in back-end. Actually I've notice that the problem is when I logout on the wishlist page and login on the same page. After login instead of displaying the single wishlist is displaying the multiple wishlist page.

thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#172683](#172683) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172683 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

Yes there was indeed a missing thing, in "components/com_hikashop/views/cart/view.html.php" function "showcarts()" thanks to replace: Code:

$app-&gt;redirect(JRoute::_($url.'&amp;return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false));

By: Code:

if($config-&gt;get('enable_multicart','0')) $app-&gt;redirect(JRoute::_($url.'&amp;return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false)); else $app-&gt;redirect(JRoute::_($url.'&amp;return='.base64_encode(hikashop_completeLink('cart&amp;task=showcart&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid,false,false,true)),false));

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

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#172784](#172784) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172784 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

I can't find this line of code in the components/com_hikashop/views/cart/view.html.php: Code:

$app-&gt;redirect(JRoute::_($url.'&amp;return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false));

The only code related that I see in this file and in the showcarts() function is:
Code:

if($cartVal == null){ global $Itemid; $url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=cart&amp;task=showcarts&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid; $app-&gt;redirect($url); }

thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#172835](#172835) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#172835 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

So replace the found code by: Code:

if($cartVal == null){ global $Itemid; if($config-&gt;get('enable_multicart','0')) $url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=cart&amp;task=showcarts&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid; else $url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=cart&amp;task=showcart&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid; $app-&gt;redirect($url); }

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

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#173072](#173072) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#173072 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

I've changed the code and now when I try to load the wishlist page I get a redirect loop.

Please see screenshot.

thanks!

- [ ![screen1&#95;2014-09-25.png](/forum/attachment/19784) ](/forum/attachment/19784 "...2014-09-25.png") [ ](/forum/attachment/19784?download=1 "...2014-09-25.png")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#173085](#173085) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#173085 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

Yes indeed that's not correct, after verification the code you found is in the wrong function and for the wrong thing.
Thanks to add: Code:

if(hikashop_loadUser() == null){ global $Itemid; $url = ''; if(!empty($Itemid)){ $url='&amp;Itemid='.$Itemid; } if(!HIKASHOP_J16){ $url = 'index.php?option=com_user&amp;view=login'.$url; }else{ $url = 'index.php?option=com_users&amp;view=login'.$url; } if($config-&gt;get('enable_multicart','0')) $app-&gt;redirect(JRoute::_($url.'&amp;return='.urlencode(base64_encode(hikashop_currentUrl('',false))),false)); else $app-&gt;redirect(JRoute::_($url.'&amp;return='.base64_encode(hikashop_completeLink('cart&amp;task=showcart&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid,false,false,true)),false)); return false; }

After: Code:

$searchMap = array('a.cart_id','a.cart_name','a.cart_type');

The code will be in the next release.

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

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

12 years 2 months ago [\#173266](#173266) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#173266 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

now when I logout on the wishlist page I get a white page.

thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#173275](#173275) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable multiple wishlists](/forum/41-wishlist/871721-disable-multiple-wishlists#173275 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24 -- PHP version -- : 5.4.29  Hi,  Is there a possibility to disable multiple wishlists? I've already disabled multiple carts.  thanks!")*

Hi,

I am not able to reproduce the issue on my end.
When I log out on the wishlist page, I am well redirected to a login page.

Thanks to wait until the next release for this issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3MTcyMS1kaXNhYmxlLW11bHRpcGxlLXdpc2hsaXN0cz90bXBsPW1hcmtkb3du) 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.132 seconds

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