Is it possible disable the method that doesn't allow to use the wishlist?

  • Posts: 31
  • Thank you received: 0
  • Hikashop Business
1 month 3 weeks ago #309239

-- HikaShop version -- : HikaShop Business: 4.2.1
-- Joomla version -- : Joomla! 3.9.10
-- PHP version -- : 7.2.14

Hello. I would like to allow unregistered users to use the wishlist. I know this could be a problem with the session, but I'll solve this problem by creating a cookie with Jooma! I wanted to ask you if it was possible to disable this method. And finally disabling this method would I create problems with the other parts of the code? Thank you very much for your help. Best regards! Emanuele Coluccini.

Please Log in or Create an account to join the conversation.

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 3 weeks ago #309256

Hi,

There is no option to allow the use of the wishlist for guest users. That would require many modifications in different places of the code in core files of HikaShop. That's not something you can easily do.

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 0
  • Hikashop Business
1 month 3 weeks ago #309258

Is there any possibility that I could manually modify these parts of the code? I would like to try. Please it's really important to me. I would be very happy if you told me where to start. Thanks Nicolas for your patience!

Please Log in or Create an account to join the conversation.

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 3 weeks ago #309261

Hi,

If you're a developer sure. But I don't know were are all the places that need to be changed. That would require many hours of debugging and reading the code to find them.
The files I would start with are:
administrator/components/com_hikashop/classes/cart.php
components/com_hikashop/controller/product.php
components/com_hikashop/controller/cart.php
components/com_hikashop/views/product/view.html.php
components/com_hikashop/views/cart/view.html.php

The following user(s) said Thank You: Coluccini

Please Log in or Create an account to join the conversation.

  • Posts: 1053
  • Thank you received: 100
  • Hikashop Business
1 month 3 weeks ago #309290

Hi,

@Nicolas.

Are you planing to add this feature soon? Seems this is most asked feature this year :)

Same as this topic and many others: www.hikashop.com/forum/feature-request/8...possible.html#309011

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 month 3 weeks ago #309299

Hi,

It's on the todo list. But I didn't start looking at it. I was on other things. The AJAX filters took me quite some time to polish the last few months.

The following user(s) said Thank You: kyratn

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum