Button to delete all carts older then x days

  • Posts: 57
  • Thank you received: 1
1 year 5 months ago #352908

Can you add a button/link to execute a query in the background that will delete all carts older then x days from today?
I'm not checking the site daily and have a constant list of 800+ carts and can't seem to get that blocked and getting frustrated deleting them 60 at a time to prevent timeouts while doing so.

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

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
1 year 5 months ago #352911

Hi,

There is already a mechanism to do that automatically. This is based on the settings "cart retaining period" and "Frequency of the check for the carts" in the HikaShop configuration.
Reduce the "Frequency of the check for the carts" so that it happens more often and it should help after a while.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum