Skip to main content

Empty the Wishlist

More
3 years 2 months ago #352667 by Joomill
Empty the Wishlist was created by Joomill
-- 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.

More
3 years 2 months ago #352670 by nicolas
Replied by nicolas on topic Empty the Wishlist
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.

More
3 years 2 months ago #352680 by Joomill
Replied by Joomill on topic Empty the Wishlist
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.239 seconds
Powered by Kunena Forum