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

#   Cart "Delete" button doesn't remove items

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 2 months ago [\#249512](#249512) by [ximcix](/forum/user/44978-ximcix "View ximcix's Profile")  *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249512 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")* was created by *[ximcix](/forum/user/44978-ximcix "View ximcix's Profile")*

I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the "Delete" button next to the item in the cart, the page refreshes but the cart's contents does not change.
The same item is still in the cart with the same quantity.

I can not get the item out of the cart.
Thanks for any assistance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjM0NS1jYXJ0LWRlbGV0ZS1idXR0b24tZG9lc250LXJlbW92ZS1pdGVtcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#249540](#249540) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249540 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi,

Can you please provide more details about your issue and a link so we can try to reproduce your problem ?

Please check, before that, that you do not have any cache enable in your website ; if your checkout page is stored in the Joomla cache ; you won't have any dynamic content in your website but just a fixed cache page provided by Joomla.

Regards,

---

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 2 months ago [\#249557](#249557) by [ximcix](/forum/user/44978-ximcix "View ximcix's Profile")  Replied by *[ximcix](/forum/user/44978-ximcix "View ximcix's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249557 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi Jerome.
Thanks for your response.

Not much details to provide. I add a couple items to the Cart, then on the checkout page I try to remove them but they remain in the cart.. I've reproduced the issue using a different browser that I've never accessed the site with.

Here is a link to my store: [ ](http://www.tek9promotions.com/store/categories)[ www.tek9promotions.com/store/categories](http://www.tek9promotions.com/store/categories)
I also checked **Global Config &gt; System &gt; Cache Settings:** &amp; Cache is disabled

Regards.

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

10 years 2 months ago [\#249605](#249605) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249605 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi,

I tried on your website with Chrome. I had the problem at first. Then, I opened the developer tools and under "network" I checked the "disable cache" checkbox and then I didn't had the problem.
So it seems that your problem is a caching problem.
I would recommend to check with your hosting company whether you would have some kind of hosting caching, or CDN system. Or maybe a system plugin activating the browser cache ?

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 2 months ago [\#249637](#249637) by [ximcix](/forum/user/44978-ximcix "View ximcix's Profile")  Replied by *[ximcix](/forum/user/44978-ximcix "View ximcix's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249637 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi Nicolas.
I contacted my host (Godaddy) and they stated that I'm on a cPanel host and that they do not run any sever-side caching whatsoever.

I'm running a pretty new installation of Joomla with a custom template &amp; no cache plugins.
I'm not sure where to go from here.

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

10 years 2 months ago [\#249663](#249663) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249663 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi,

Then what if you use the default template of Joomla ? Do you still have the problem ?
If no, then it's likely originating from the template. Maybe there is some caching mechanism in the template or something to activate the browser caching ?

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

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

Less More

- Posts: 28
- Thank you received: 1
-
-

10 years 2 months ago [\#249827](#249827) by [magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")  Replied by *[magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249827 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

> nicolas wrote: Hi,
>
> Then what if you use the default template of Joomla ? Do you still have the problem ?
> If no, then it's likely originating from the template. Maybe there is some caching mechanism in the template or something to activate the browser caching ?

I have this problem as well.
Caching in Joomla is turned on - progressive caching

I could not find to turn off caching for hikashop- cart module or whatsoever
If I turn off global caching I expect system to work fine, but I want to use caching in Joomla for performance reasons.
I am using Template recommended by Hikashop (RN Explorer)
Any help is appriciated

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

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

Less More

- Posts: 28
- Thank you received: 1
-
-

10 years 2 months ago [\#249848](#249848) by [magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")  Replied by *[magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249848 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

I have tested this in Chrome.
Turned off caching in dev tools and indeed the problem does not happen.
Seems like when caching is turned in Joomla, the cart module is cached.
Maybe the template does this but again this is RN Explorer template recommended by Hikashop
Is there a way to turn off the caching for cart module specifically?

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 2 months ago [\#249865](#249865) by [ximcix](/forum/user/44978-ximcix "View ximcix's Profile")  Replied by *[ximcix](/forum/user/44978-ximcix "View ximcix's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249865 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi. When I switch to the default Joomla template, there is no issue.
How will i tell what is causing this?

And to repeat magnahifi's question "Is there a way to turn off the caching for cart module specifically?"

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

10 years 2 months ago [\#249856](#249856) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249856 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi,

HikaShop has specifically some code to clear the caching of the website whent he cart is changed, and the cart module doesn't have a caching option so that it doesn't get cached.

Try adding the line:
hikashop_nocache();
after the line:
parent::__construct($config,$skip);
in the file components/com_hikashop/controllers/checkout.php
That might be enough to help.

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

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

Less More

- Posts: 28
- Thank you received: 1
-
-

10 years 2 months ago [\#249938](#249938) by [magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")  Replied by *[magnahifi](/forum/user/33902-magnahifi "View magnahifi's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249938 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

> nicolas wrote: Hi,
>
> HikaShop has specifically some code to clear the caching of the website whent he cart is changed, and the cart module doesn't have a caching option so that it doesn't get cached.
>
> Try adding the line:
> hikashop\_nocache();
> after the line:
> parent::\_\_construct($config,$skip);
> in the file components/com\_hikashop/controllers/checkout.php
> That might be enough to help.

Wow, this seems to do the job! :woohoo:
Problem is solved.
You do need to delete your browser cache first (of course)
Thanks!

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 2 months ago [\#249946](#249946) by [ximcix](/forum/user/44978-ximcix "View ximcix's Profile")  Replied by *[ximcix](/forum/user/44978-ximcix "View ximcix's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249946 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

No such luck on my end.
I added the line of code, replaced the file &amp; cleared the cache on both Chrome &amp; FireFox. I even tried Microsoft Edge for the first time.
Same issue.

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

10 years 2 months ago [\#249951](#249951) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart "Delete" button doesn't remove items](/forum/35-orders-management/886345-cart-delete-button-doesnt-remove-items#249951 "I have 1 item in my cart (quantity x2). When I proceed to the check-out page &amp; use the &quot;Delete&quot; button next to the item in the cart, the page refreshes but the cart's contents does not change. The same item is still in the cart with the same quantity.  I can not get the item out of the cart. Thanks for any assistance.")*

Hi,

In your case, the problem comes from the template's caching system which overrides the no cache directives given by the hikashop_nocache() function.
You'll have to check the settings of your template and see if you can disable that. Otherwise, I recommend to contact your template provider so that they can tell you what to do.

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

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