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

#   Cart not empty after successful checkout

##

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

Less More

- Posts: 200
- Thank you received: 75
-
-

9 years 3 months ago [\#276907](#276907) by [GW](/forum/user/33851-gw "View GW's Profile")  *[Cart not empty after successful checkout](/forum/27-checkout/891684-cart-not-empty-after-successful-checkout#276907 "-- HikaShop version -- : 3.1.1 &#91;1708111031&#93; -- Joomla version -- : 3.7.5  Hi,  we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.  Our settings: - All legacy set to No - Enable multicart set to No - Clear cart on order created  To explain/reproduce this issue, these are the steps: 1. Log in to website as user and add some products to cart (let's call it cart 1) 2. Log out, cart will be empty 3. Add some items to cart (call this one cart 2) 4. Log in again as user, the cart will be showing cart 2 5. Go through checkout successfully with cart 2 6. After finishing checkout, cart is not empty, but showing cart 1  If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.  We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this? Thanks in advance.")* was created by *[GW](/forum/user/33851-gw "View GW's Profile")*

-- HikaShop version -- : 3.1.1 [1708111031]
-- Joomla version -- : 3.7.5

Hi,

we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.

Our settings:
- All legacy set to *No*
- Enable multicart set to *No*
- Clear cart on order created

To explain/reproduce this issue, these are the steps:
1. Log in to website as user and add some products to cart (let's call it cart 1)
2. Log out, cart will be empty
3. Add some items to cart (call this one cart 2)
4. Log in again as user, the cart will be showing cart 2
5. Go through checkout successfully with cart 2
6. After finishing checkout, cart is *not* empty, but showing cart 1

If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.

We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this?
Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTY4NC1jYXJ0LW5vdC1lbXB0eS1hZnRlci1zdWNjZXNzZnVsLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

9 years 3 months ago [\#277053](#277053) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart not empty after successful checkout](/forum/27-checkout/891684-cart-not-empty-after-successful-checkout#277053 "-- HikaShop version -- : 3.1.1 &#91;1708111031&#93; -- Joomla version -- : 3.7.5  Hi,  we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.  Our settings: - All legacy set to No - Enable multicart set to No - Clear cart on order created  To explain/reproduce this issue, these are the steps: 1. Log in to website as user and add some products to cart (let's call it cart 1) 2. Log out, cart will be empty 3. Add some items to cart (call this one cart 2) 4. Log in again as user, the cart will be showing cart 2 5. Go through checkout successfully with cart 2 6. After finishing checkout, cart is not empty, but showing cart 1  If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.  We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this? Thanks in advance.")*

Hi,

Thank you for the detailed information.
Indeed, when multicart is deactivated, this situation should not be possible.

I was able to reproduce the problem and added a fix for that. You can download the install package on our website and install it on yours in order to get the patch.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 3 months ago [\#277079](#277079) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Cart not empty after successful checkout](/forum/27-checkout/891684-cart-not-empty-after-successful-checkout#277079 "-- HikaShop version -- : 3.1.1 &#91;1708111031&#93; -- Joomla version -- : 3.7.5  Hi,  we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.  Our settings: - All legacy set to No - Enable multicart set to No - Clear cart on order created  To explain/reproduce this issue, these are the steps: 1. Log in to website as user and add some products to cart (let's call it cart 1) 2. Log out, cart will be empty 3. Add some items to cart (call this one cart 2) 4. Log in again as user, the cart will be showing cart 2 5. Go through checkout successfully with cart 2 6. After finishing checkout, cart is not empty, but showing cart 1  If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.  We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this? Thanks in advance.")*

Hi,

Would it be possible to know what changes were made?
Our subscription has expired, we have same issue, and as for now we are not willing to restore our subscription until hikashop gets some new features.

Kind Regards

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 3 months ago [\#277233](#277233) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Cart not empty after successful checkout](/forum/27-checkout/891684-cart-not-empty-after-successful-checkout#277233 "-- HikaShop version -- : 3.1.1 &#91;1708111031&#93; -- Joomla version -- : 3.7.5  Hi,  we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.  Our settings: - All legacy set to No - Enable multicart set to No - Clear cart on order created  To explain/reproduce this issue, these are the steps: 1. Log in to website as user and add some products to cart (let's call it cart 1) 2. Log out, cart will be empty 3. Add some items to cart (call this one cart 2) 4. Log in again as user, the cart will be showing cart 2 5. Go through checkout successfully with cart 2 6. After finishing checkout, cart is not empty, but showing cart 1  If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.  We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this? Thanks in advance.")*

up

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTY4NC1jYXJ0LW5vdC1lbXB0eS1hZnRlci1zdWNjZXNzZnVsLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

9 years 2 months ago [\#277238](#277238) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart not empty after successful checkout](/forum/27-checkout/891684-cart-not-empty-after-successful-checkout#277238 "-- HikaShop version -- : 3.1.1 &#91;1708111031&#93; -- Joomla version -- : 3.7.5  Hi,  we know there have been many threads on this topic before, but we seem to have a different issue. We recently updated to Hikashop 3 and noticed for returning customers with an account, their cart is not cleared after they go through checkout, but instead after checkout their previous cart is loaded. By previous cart I mean a cart they created before at some point in the past.  Our settings: - All legacy set to No - Enable multicart set to No - Clear cart on order created  To explain/reproduce this issue, these are the steps: 1. Log in to website as user and add some products to cart (let's call it cart 1) 2. Log out, cart will be empty 3. Add some items to cart (call this one cart 2) 4. Log in again as user, the cart will be showing cart 2 5. Go through checkout successfully with cart 2 6. After finishing checkout, cart is not empty, but showing cart 1  If let's say the user now also buys cart 1, then after checkout the previous cart he had before that will show up. It always shows a previous cart. For guest users and newly registered users it seems to work fine, since they don't have any previous carts, in their case the cart will be empty after checkout. This only happens to users who've had carts before.  We didn't think this is the way it's supposed to work, and it's quite confusing to users after returning from checkout to see completely different items in their cart. Can you reproduce the issue or help us with this? Thanks in advance.")*

Hi,

It required several changes in several files.
As the changes are complex, I didn't post them here.
Please remember that support is only provided for commercial editions of HikaShop.

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

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