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

#   Button to delete all carts older then x days

##

- **[Borburgh](/forum/user/59804-borburgh "View Borburgh's Profile")**
- [![Borburgh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59804-borburgh "View Borburgh's Profile") Topic Author
- [ Offline](/forum/user/59804-borburgh)

Less More

- Posts: 59
- Thank you received: 1
-
-

3 years 4 months ago [\#352908](#352908) by [Borburgh](/forum/user/59804-borburgh "View Borburgh's Profile")  *[Button to delete all carts older then x days](/forum/41-wishlist/906641-button-to-delete-all-carts-older-then-x-days#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.")* was created by *[Borburgh](/forum/user/59804-borburgh "View Borburgh's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwNjY0MS1idXR0b24tdG8tZGVsZXRlLWFsbC1jYXJ0cy1vbGRlci10aGVuLXgtZGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14288
-
-

3 years 4 months ago [\#352911](#352911) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Button to delete all carts older then x days](/forum/41-wishlist/906641-button-to-delete-all-carts-older-then-x-days#352911 "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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0LzkwNjY0MS1idXR0b24tdG8tZGVsZXRlLWFsbC1jYXJ0cy1vbGRlci10aGVuLXgtZGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.048 seconds

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