How to force login for guest user adding to wishlist

  • Posts: 272
  • Thank you received: 3
  • Hikashop Business
4 years 5 months ago #320280

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.3

I'm sure that in past versions it was possible to show the wishlist to guest users and then when the guest user clicked on the add to wishlist button they were redirected to the login page.

Now in the recent versions of Hikashop if the users clicks on the wishlist button there is just a message at the top right "Product not added to the wishlist"

Is there a way to force a guest user to login if they want to add a product to the wishlist?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
4 years 5 months ago #320289

Hi,

While there is no redirection to the login form, there is a mesage that says that you need to be logged in to use the wishlist:
monosnap.com/file/LXnCDTgxYgzd0wUFUf0V1fk4nFLgTQ
I believe it's nicer to not redirect the user to the login form, display the message, and let him do it if he wants.

Now it's true that it was redirecting the customer to the login form in the past, with the old add to cart system. We'll take your feedback into account to see if we add that possibility back or not as an extra option.

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

  • Posts: 272
  • Thank you received: 3
  • Hikashop Business
4 years 5 months ago #320303

Hi Nicolas,

if you can add an extra option so that guests can be redirected to the login page when trying to add to a wishlist that would be fantastic.

Thanks, James

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

Time to create page: 0.058 seconds
Powered by Kunena Forum