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

#   Cart retaining period error!

##

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 8 months ago [\#142101](#142101) by [Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")  *[Cart retaining period error!](/forum/35-orders-management/865514-cart-retaining-period-error#142101 "Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an &quot;empty-cart&quot; page after trying to add new item in their cart. So in order...")* was created by *[Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")*

Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an "empty-cart" page after trying to add new item in their cart. So in order to add new item in their cart customers have to log out from their accounts and log in back which is wrong. Please help us to solve this issue! Our cart settings are correct so apparently there is an error in your code! Even your Hikashop demo version (demo.hikashop.com) has the same problem! This is very urgent matter since we have launched our sales already and our customers are already able to purchase goods in our store but "cart retaining period" bug messes everything up! Looking forward to your prompt reply!

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 8 months ago [\#142207](#142207) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Cart retaining period error!](/forum/35-orders-management/865514-cart-retaining-period-error#142207 "Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an &quot;empty-cart&quot; page after trying to add new item in their cart. So in order...")*

Hi,

Can you provide your HikaShop version number please ?

Regards,

---

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

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 8 months ago [\#142239](#142239) by [Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")  Replied by *[Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")* on topic *[Cart retaining period error!](/forum/35-orders-management/865514-cart-retaining-period-error#142239 "Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an &quot;empty-cart&quot; page after trying to add new item in their cart. So in order...")*

HikaShop Business: 2.2.3
Joomla 2.5

We have disabled caching in config-&gt;cache setting as well as in plugins-&gt;system-cache. But still no result. We put cart retaining period for 5 minute and after 5 minutes it seems that order has been deleted. But after order is deleted and you add other product to cart there is message "cart is empty" despite we have added new product into the cart.

In hikashop config in field "Frequency of the check for the carts" what value we need to put if our cart retaining period is 5 minutes?

Thank you

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 8 months ago [\#142296](#142296) by [Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")  Replied by *[Abdyrai](/forum/user/8277-abdyrai "View Abdyrai's Profile")* on topic *[Cart retaining period error!](/forum/35-orders-management/865514-cart-retaining-period-error#142296 "Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an &quot;empty-cart&quot; page after trying to add new item in their cart. So in order...")*

Can you provide us with solution a bit faster plz? Time is working against us. At least tell us what area of hikashop code we need to look at to find an error. Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNC1jYXJ0LXJldGFpbmluZy1wZXJpb2QtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 8 months ago [\#143992](#143992) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart retaining period error!](/forum/35-orders-management/865514-cart-retaining-period-error#143992 "Our cart retaining period doesn't work properly. After product is cleared in defined time period our users are forwarded to an &quot;empty-cart&quot; page after trying to add new item in their cart. So in order...")*

Hi,

The cart retaining period should be configured is days not in minutes.
Its goal is not to remove the cart from the user session after a few minutes but to reduce the storage of the carts in the database in the long term. Its default value is 30 days and it is only checked when you go in the backend of HikaShop so it doesn't have to run often.

That's why this problem doesn't occur normally since the cart retaining period is always longer than the user session and thus that cart empty issue cannot happen.

Clearing carts after five minutes is not a good idea since your users will loose their cart after five minutes while they browse your website for a second product. So they might not even be able to go to the checkout before their cart is cleared.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NTUxNC1jYXJ0LXJldGFpbmluZy1wZXJpb2QtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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.171 seconds

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

[](#top)
