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

#   adding and removing item

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 2 weeks ago [\#255220](#255220) by [nazaninam](/forum/user/38923-nazaninam "View nazaninam's Profile")  *[adding and removing item](/forum/27-checkout/887478-adding-and-removing-item#255220 "-- HikaShop version -- : 2.6.4  Hi, I try to add some product but cart doesn't show any product until I refresh the page, also I can't remove item from cart , could you please tell me how can I fix these problems? Thanks.")* was created by *[nazaninam](/forum/user/38923-nazaninam "View nazaninam's Profile")*

-- HikaShop version -- : 2.6.4

Hi,
I try to add some product but cart doesn't show any product until I refresh the page, also I can't remove item from cart , could you please tell me how can I fix these problems?
Thanks.

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 2 weeks ago [\#255224](#255224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[adding and removing item](/forum/27-checkout/887478-adding-and-removing-item#255224 "-- HikaShop version -- : 2.6.4  Hi, I try to add some product but cart doesn't show any product until I refresh the page, also I can't remove item from cart , could you please tell me how can I fix these problems? Thanks.")*

Hi,

There is a htaccess on your website which prevents us from seeing the issue.
I suppose however that it is linked to some caching activated on your website.
Try to change the setting "Use AJAX when possible for add to cart buttons" and try to turn off the caching on your website.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 1 week ago [\#255404](#255404) by [nazaninam](/forum/user/38923-nazaninam "View nazaninam's Profile")  Replied by *[nazaninam](/forum/user/38923-nazaninam "View nazaninam's Profile")* on topic *[adding and removing item](/forum/27-checkout/887478-adding-and-removing-item#255404 "-- HikaShop version -- : 2.6.4  Hi, I try to add some product but cart doesn't show any product until I refresh the page, also I can't remove item from cart , could you please tell me how can I fix these problems? Thanks.")*

Thanks Nicolas, I checked all, but problems are still exist . sorry I forgot to send user and password of htaccess ,
username is qubic and password is m2n6z6$$.

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

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 1 week ago [\#255405](#255405) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[adding and removing item](/forum/27-checkout/887478-adding-and-removing-item#255405 "-- HikaShop version -- : 2.6.4  Hi, I try to add some product but cart doesn't show any product until I refresh the page, also I can't remove item from cart , could you please tell me how can I fix these problems? Thanks.")*

Hi,

I've checked your website and the cart refresh works fine.
Once I add a product in the cart, if I add a second product to it, it refreshes directly.
So the problem is not with the refresh system of the cart.
And if I don't have any product in the cart, instead of the standard "the cart is empty" message that should appear on the page, there is no message at all.
So the explanation of the issue is simple: As there is nothing to display in the cart module, your template doesn't display the module area at all. And thus, the refresh system of HikaShop cannot update the div of the cart module as it's not being displayed.
And this only happens because you have activated the "Use AJAX when possible for add to cart buttons" setting.
If you turn off that setting, the whole page will refresh when you click on the add to cart button and the cart module will be updated.
So either put back the empty message in the cart module, or turn back off that option and it will work properly.

And regarding the deletion of items from the cart, I actually don't see any delete button. I suppose that you turned off the "show delete button" setting of your cart module, or that you (or your template provider) customized the view of the cart module in a way that removes it.

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

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