diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/wishlist/wishlist.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/wishlist/wishlist.blade.php index 5a064905e..b88b9b217 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/wishlist/wishlist.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/wishlist/wishlist.blade.php @@ -29,7 +29,7 @@ + onclick="window.deleteAllWishlist()"> {{ __('shop::app.customer.account.wishlist.deleteall') }} @@ -131,15 +131,17 @@ window.app.showModal('shareWishlist'); } - - /** - * Delete all wishlist. - */ - function deleteAllWishlist() { - if (confirm('{{ __('shop::app.customer.account.wishlist.confirm-delete-all') }}')) document.getElementById('remove-all-wishlist').submit(); - - return; - } @endif + + @endpush \ No newline at end of file