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

#   Empty cart + deleting items in cart fails

##

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

6 years 3 months ago -  6 years 3 months ago [\#322692](#322692) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Empty cart + deleting items in cart fails](/forum/27-checkout/900417-empty-cart-deleting-items-in-cart-fails?start=20#322692 "-- url of the page with the problem -- :   mugge-p.dk/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : FireFox + Chrome  Hi  I'm experience some odd behavior. I have added the EMPTY CART link to my site, but when something is in the cart and I click it, nothing happens - not until I refresh the page. I'm not taken to the URL I set in the settings. Not can I delete single items in the cart - seems like they stay there.  Any ideas how to solve this issue?  Kind regards Thomas")*

Hello,

I was just saying that you already had it through the cart module and that you also had deletes buttons through the checkout cart step.
Everything can be added if it's properly developed / customized.

Also, I actually tested the following code through my local website and it worked fine on my end : Code:

&lt;div class="emptycart"&gt;&lt;a href="&lt;?php echo hikashop::completeLink('product&amp;task=cleancart'); ?&gt;"&gt;Tøm kurv&lt;i class="far fa-trash-alt"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;

Did you tried to test it without any sef module / options enabled to see if it's coming from it ?

Kind regards,
Mohamed

Last edit: 6 years 3 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 366
- Thank you received: 26
-
-

6 years 3 months ago [\#322736](#322736) by [Thrane](/forum/user/31786-thrane "View Thrane's Profile")  Replied by *[Thrane](/forum/user/31786-thrane "View Thrane's Profile")* on topic *[Empty cart + deleting items in cart fails](/forum/27-checkout/900417-empty-cart-deleting-items-in-cart-fails?start=20#322736 "-- url of the page with the problem -- :   mugge-p.dk/  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : FireFox + Chrome  Hi  I'm experience some odd behavior. I have added the EMPTY CART link to my site, but when something is in the cart and I click it, nothing happens - not until I refresh the page. I'm not taken to the URL I set in the settings. Not can I delete single items in the cart - seems like they stay there.  Any ideas how to solve this issue?  Kind regards Thomas")*

Thanks a lot, but I have decided to remove this feature completely now - I have spend way to many hours debugging this now ... ![:-)](/media/kunena/emoticons/3.png ":-)")

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

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