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

#   Cart Shop Module shows quantity after order

##

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

Less More

- Posts: 39
- Thank you received: 4
-
-

1 year 4 days ago [\#369046](#369046) by [spike252](/forum/user/83674-spike252 "View spike252's Profile")  *[Cart Shop Module shows quantity after order](/forum/27-checkout/909815-cart-shop-module-shows-quantity-after-order#369046 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  The shopping cart still shows the quantity during the order confirmation. How can I solve this? After a order has been placed, the shopping cart should no longer display any contents! This is confusing. I've already configured the shopping cart to be emptied when the status is &quot;Open/confirmed.&quot; The shopping cart is only empty after opening another page.")* was created by *[spike252](/forum/user/83674-spike252 "View spike252's Profile")*

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.4.0
-- PHP version -- : 8.3

The shopping cart still shows the quantity during the order confirmation. How can I solve this? After a order has been placed, the shopping cart should no longer display any contents! This is confusing. I've already configured the shopping cart to be emptied when the status is "Open/confirmed." The shopping cart is only empty after opening another page.  [ ![cart&#95;bestetigung.jpg](/forum/attachment/60920) ](/forum/attachment/60920 "...estetigung.jpg")

- [ ![cart&#95;bestetigung.jpg](/forum/attachment/60920) ](/forum/attachment/60920 "...estetigung.jpg") [ ](/forum/attachment/60920?download=1 "...estetigung.jpg")

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

1 year 4 days ago [\#369049](#369049) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart Shop Module shows quantity after order](/forum/27-checkout/909815-cart-shop-module-shows-quantity-after-order#369049 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  The shopping cart still shows the quantity during the order confirmation. How can I solve this? After a order has been placed, the shopping cart should no longer display any contents! This is confusing. I've already configured the shopping cart to be emptied when the status is &quot;Open/confirmed.&quot; The shopping cart is only empty after opening another page.")*

Hi,

First, note that it could be that you don't have that problem. If you have the "enable multi carts" setting activated in the HikaShop configuration, you can have several carts for one user:
[ www.hikashop.com/support/documentation/5...g.html#features\_main](https://www.hikashop.com/support/documentation/54-hikashop-config.html#features_main)
And in that case, the system will automatically switch to the second cart linked to the user after clearing the current cart, after the payment.
And when you test your shop, it's possible that you get many carts with the same content linked to your user account leading you to believe that the cart is still there after the payment, even though it's not the same cart anymore.

Now, I not exactly sure which page we're talking about here. If it's the thank you page, it's possible that the cart module is loaded by the template before the main content is processed and thus the cart is still not empty when the cart module is called to be displayed.
In that case, you can check with the default template of Joomla to see if you have the issue. Normally, you should not, which would confirm that it comes from the order of operations in the template. In that case, changing the code of the template could be done by the template provider in order to fix the problem, but it might be a lot of work just for this so Im doubtful that the template provider would be willing to do that.

A solution could be to change the "clean cart when order is" setting of HikaShop to "created" instead of "confirmed":
[ www.hikashop.com/support/documentation/5...onfig.html#main\_cart](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_cart)
By doing so, the cart will be cleared directly when HikaShop redirects the customer to the payment gateway and thus, the cart will already be empty when coming back for the thank you page, and thus the cart module will also be empty. The drawback of this solution is that if the customer cancels the payment on the payment gateway and goes back to the shop, the cart will already have been cleared, and thus it will have to re add the products to his cart, and then proceed to the checkout again.

A simpler approach could be to configure the "force menu on checkout" setting of the HikaShop configuration to a menu item of the type "HikaShop checkout", and then restrict the HikaShop cart module to not display on that menu item. The drawback is that the cart module won't appear during the checkout, but you can always add a "cart" view to the steps of your checkout if necessary.

Unfortunately, I don't think there is a magic bullet here which could solve the issue without any drawback while being easy to implement.

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

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

Less More

- Posts: 39
- Thank you received: 4
-
-

1 year 4 days ago [\#369054](#369054) by [spike252](/forum/user/83674-spike252 "View spike252's Profile")  Replied by *[spike252](/forum/user/83674-spike252 "View spike252's Profile")* on topic *[Cart Shop Module shows quantity after order](/forum/27-checkout/909815-cart-shop-module-shows-quantity-after-order#369054 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  The shopping cart still shows the quantity during the order confirmation. How can I solve this? After a order has been placed, the shopping cart should no longer display any contents! This is confusing. I've already configured the shopping cart to be emptied when the status is &quot;Open/confirmed.&quot; The shopping cart is only empty after opening another page.")*

Thank you. I think I was able to solve it with a small self-made Joomla plugin that hides &lt;span class="hikashop_small_cart_total_title&gt; on the /checkout/checkout/confirm page.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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

[](#top)
