Empty the Wishlist

  • Posts: 206
  • Thank you received: 10
  • Hikashop Multisite
1 year 5 months ago #352667

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3

Hi,

When i'm inside a wishlist, i see the first button in the toolbar "Empty The Wishlist"
When i click this button, it's purged all items (as expected).

But i would like to have a warning as a popup before everything is gone.
In the code i see a onclick-action but this is not working.

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

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
1 year 5 months ago #352670

Hi,

You can see in that onclick action that it uses the confirmDelete function if it exists.
This function is defined in the file cart / show (that you can edit via the menu Display>Views) near the end:
i.imgur.com/c5HUwEp.png
You can see that it's just after the moveProductsToWishlist function definition.
However, if I check the HTML of your wishlist page, there is nothing after the moveProductsToWishlist function definition:
i.imgur.com/4iVphid.png
So I can only assume that this part of the code has been deleted on your end for some reason. Please check the code of that view.

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

  • Posts: 206
  • Thank you received: 10
  • Hikashop Multisite
1 year 5 months ago #352680

Yes, an old override seems to be the problem.
Thank you.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum