cart table not cleared when user deletes product in cart

  • Posts: 114
  • Thank you received: 4
7 years 1 month ago #280314

-- HikaShop version -- : 3.1

When a user deletes all products from the cart why is the entry in /administrator/index.php?option=com_hikashop&ctrl=cart&cart_type=cart not cleared? Thanks

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
7 years 1 month ago #280316

Hi,

The cart is not cleared at that point because it also contains the billing / shipping address of the customer, the shipping and payment mehtod he already selected, the coupon code he already entered, etc.
That way, if the person which in the middle of the checkout when he deleted the products of the cart, if he adds again a product to it and go to the checkout, he won't have to enter again everything.
Note also that there is a system to clear the carts periodically with the "Cart retaining period" and "Frequency of the check for the carts" settings of the HikaShop configuration so that old carts will be removed after a while.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum