Delete all items in cart

  • Posts: 517
  • Thank you received: 8
  • Hikashop Business
10 years 10 months ago #139749

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi, sorry if this has been asked before but I cannot find any solution in the forum.

Is it possible to have a button in the cart that will empty the shopping cart (all items at once)?

thanks in advance

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 10 months ago #139760

Hi,

You can use the task "cleancart".
/index.php?option=com_hikashop&ctrl=product&task=cleancart

You can also pass a "url" parameter if you want to redirect the user afterwards (just have to urlencode it).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 517
  • Thank you received: 8
  • Hikashop Business
10 years 10 months ago #139770

Hi, Thanks, found the solution here, www.hikashop.com/forum/install-update/86...r-panier.html#128162

it's in French though, but thanks to Google Translate it now works ok.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum