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

#   hikashop\_cart

##

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

Less More

- Posts: 239
- Thank you received: 8
-
-

2 years 9 months ago [\#358912](#358912) by [Bender](/forum/user/38688-bender "View Bender's Profile")  *[hikashop\_cart](/forum/33-customers/907717-hikashop-cart#358912 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.1 -- PHP version -- : 8.2.14  There is the period of time during which the cart will be kept in the database in Hikashop configuration After that, the cart data will be cleaned to avoid having too much data.  Today we found what hikashop&#95;cart and hikashop&#95;cart&#95;product tables inculdes a lot of records more than 2 years old even period of time setted to 12 hours and frequency of check time is 1 hour  How to check this work of this feature and how to erase unneccesaty old data from this tables?")* was created by *[Bender](/forum/user/38688-bender "View Bender's Profile")*

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.0.1
-- PHP version -- : 8.2.14

There is the period of time during which the cart will be kept in the database in Hikashop configuration
After that, the cart data will be cleaned to avoid having too much data.

Today we found what hikashop_cart and hikashop_cart_product tables inculdes a lot of records more
than 2 years old even period of time setted to 12 hours and frequency of check time is 1 hour

How to check this work of this feature and how to erase unneccesaty old data from this tables?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDc3MTctaGlrYXNob3AtY2FydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 9 months ago [\#358913](#358913) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[hikashop\_cart](/forum/33-customers/907717-hikashop-cart#358913 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.1 -- PHP version -- : 8.2.14  There is the period of time during which the cart will be kept in the database in Hikashop configuration After that, the cart data will be cleaned to avoid having too much data.  Today we found what hikashop&#95;cart and hikashop&#95;cart&#95;product tables inculdes a lot of records more than 2 years old even period of time setted to 12 hours and frequency of check time is 1 hour  How to check this work of this feature and how to erase unneccesaty old data from this tables?")*

Hi,

This means that you need to increase the check frequency a lot more. Instead of 1 hour, make it 1 minute.

Here is a post with more information about this situation:
[ www.hikashop.com/support/forum/orders-ma...er-carts.html#356638](https://www.hikashop.com/support/forum/orders-management/907270-error-50-when-accesing-customer-carts.html#356638)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDc3MTctaGlrYXNob3AtY2FydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 239
- Thank you received: 8
-
-

2 years 9 months ago [\#358934](#358934) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[hikashop\_cart](/forum/33-customers/907717-hikashop-cart#358934 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.1 -- PHP version -- : 8.2.14  There is the period of time during which the cart will be kept in the database in Hikashop configuration After that, the cart data will be cleaned to avoid having too much data.  Today we found what hikashop&#95;cart and hikashop&#95;cart&#95;product tables inculdes a lot of records more than 2 years old even period of time setted to 12 hours and frequency of check time is 1 hour  How to check this work of this feature and how to erase unneccesaty old data from this tables?")*

I increased frequency to 1 minute but it didn't make any effect, so deleted all records from hikashop_cart and hikashop_cart_product with user_id = 0.

Thanks fot the bots threads links. Bots are constantly putting items in the carts and some of the bots go to the checkout page after that and create a user accounts at various email addresses. This behavior of bots will lead to nothing good. Captcha does not protect against such registration. The registration form needs to be made more secure.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDc3MTctaGlrYXNob3AtY2FydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 9 months ago [\#358936](#358936) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[hikashop\_cart](/forum/33-customers/907717-hikashop-cart#358936 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.1 -- PHP version -- : 8.2.14  There is the period of time during which the cart will be kept in the database in Hikashop configuration After that, the cart data will be cleaned to avoid having too much data.  Today we found what hikashop&#95;cart and hikashop&#95;cart&#95;product tables inculdes a lot of records more than 2 years old even period of time setted to 12 hours and frequency of check time is 1 hour  How to check this work of this feature and how to erase unneccesaty old data from this tables?")*

Hi,

Changing the frequency won't delete the carts. But it will avoid the problem to come back in the future.

Regarding bots, I would recommend using OSpam-a-not :
[ extensions.joomla.org/extension/ospam-a-not/](https://extensions.joomla.org/extension/ospam-a-not/)
Captcha are not good anymore because of the progress of AI in the past few years.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDc3MTctaGlrYXNob3AtY2FydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.046 seconds

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