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

#   Empty the Wishlist

##

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

3 years 4 months ago [\#352667](#352667) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  *[Empty the Wishlist](/forum/41-wishlist/906594-empty-the-wishlist#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 &quot;Empty The Wishlist&quot; 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.")* was created by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwNjU5NC1lbXB0eS10aGUtd2lzaGxpc3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 4 months ago [\#352670](#352670) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty the Wishlist](/forum/41-wishlist/906594-empty-the-wishlist#352670 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.3  Hi,  When i'm inside a wishlist, i see the first button in the toolbar &quot;Empty The Wishlist&quot; 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.")*

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&gt;Views) near the end:
[ i.imgur.com/c5HUwEp.png](https://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](https://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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwNjU5NC1lbXB0eS10aGUtd2lzaGxpc3Q/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Joomill](/forum/user/33738-joomill "View Joomill's Profile")**
- [![Joomill's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33738.jpg)](/forum/user/33738-joomill "View Joomill's Profile") Topic Author
- [ Offline](/forum/user/33738-joomill)

Less More

- Posts: 224
- Thank you received: 10
-
-
- [](http://www.joomill.nl)
-

3 years 4 months ago [\#352680](#352680) by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")  Replied by *[Joomill](/forum/user/33738-joomill "View Joomill's Profile")* on topic *[Empty the Wishlist](/forum/41-wishlist/906594-empty-the-wishlist#352680 "-- HikaShop version -- : 4.7.4 -- Joomla version -- : 4.3  Hi,  When i'm inside a wishlist, i see the first button in the toolbar &quot;Empty The Wishlist&quot; 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.")*

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

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

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