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

#   Delete product from cart 404 error

##

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 7 months ago [\#148849](#148849) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#148849 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")* was created by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")*

-- url of the page with the problem -- : [ paiter.nl](http://paiter.nl)
-- HikaShop version -- :2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello,

When a product is deleted from the mini cart the redirect results in a 404 error.

Joomla sef is turned on, issue not present when off.

Caching is turned off and all joomla and browser cache has been deleted.
Link when cart is empty is currently blank, however no effect with either absolute or relative url.
Force menu on checkout is set to "cart" (Site loads originally in NL language. Switching it to EN produces the same 404 error)
Live site variable in configuration.php = " ".
Issue not present when you add a product-&gt;checkout-&gt;remove product.

Kind regards,
Drago.

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

- **[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
-
-
-

12 years 7 months ago [\#148906](#148906) 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 *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#148906 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hello Drago,
Can you show me some screenshots of how did you configured your Hikashop cart module ?

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

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 7 months ago [\#148914](#148914) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  Replied by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")* on topic *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#148914 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hi Mohamed,

Here are the requested screenshots.

Should I set up an admin and ftp account and pm you the details?

Kind regards,

Drago.

- [ ![h63186d9.jpg](/forum/attachment/16120) ](/forum/attachment/16120 "h63186d9.jpg") [ ](/forum/attachment/16120?download=1 "h63186d9.jpg")
- [ ![hf1b9e2f.jpg](/forum/attachment/16121) ](/forum/attachment/16121 "hf1b9e2f.jpg") [ ](/forum/attachment/16121?download=1 "hf1b9e2f.jpg")
- [ ![hf0aa584.jpg](/forum/attachment/16122) ](/forum/attachment/16122 "hf0aa584.jpg") [ ](/forum/attachment/16122?download=1 "hf0aa584.jpg")
- [ ![hfbbba89.jpg](/forum/attachment/16123) ](/forum/attachment/16123 "hfbbba89.jpg") [ ](/forum/attachment/16123?download=1 "hfbbba89.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjY3NTctZGVsZXRlLXByb2R1Y3QtZnJvbS1jYXJ0LTQwNC1lcnJvcj90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

12 years 7 months ago [\#148937](#148937) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#148937 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hi,

Can you try to turn off the "Use AJAX when possible for add to cart buttons" option of the configuration ? That should fix the problem.

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

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 7 months ago [\#149407](#149407) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  Replied by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")* on topic *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#149407 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hi Nicolas,

Switching off "ajax when possible" indeed solved the 404 error.

However, my client does not like the page refresh, and wants it to work with ajax.

What are my options?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjY3NTctZGVsZXRlLXByb2R1Y3QtZnJvbS1jYXJ0LTQwNC1lcnJvcj90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

12 years 7 months ago [\#149526](#149526) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#149526 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hi,

Change the line: Code:

&lt;a class="hikashop_small_cart_clean_link" href="&lt;?php echo $delete.'return_url='. urlencode(base64_encode(hikashop_currentURL('url',false))); ?&gt;" &gt;

to: Code:

&lt;a class="hikashop_small_cart_clean_link" href="&lt;?php echo $delete.'return_url='; ?&gt;" onclick="this.href+=window.btoa(window.location.href);"&gt;

in the file "cart" of the view "product" and that should help.

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

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

Less More

- Posts: 57
- Thank you received: 5
-
-

12 years 7 months ago -  12 years 7 months ago [\#149729](#149729) by [Hristov](/forum/user/12584-hristov "View Hristov's Profile")  Replied by *[Hristov](/forum/user/12584-hristov "View Hristov's Profile")* on topic *[Delete product from cart 404 error](/forum/3-bug-report/866757-delete-product-from-cart-404-error#149729 "-- url of the page with the problem -- :   paiter.nl  -- HikaShop version -- :2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hello,  When a product is deleted from the mini cart the redirect results in a 404 error.  Joomla sef is turned on, issue not present when off.  Caching is turned off and all joomla and browser cache has been deleted. Link when cart is empty is currently blank, however no effect with either absolute or relative url. Force menu on checkout is set to &quot;cart&quot; (Site loads originally in NL language. Switching it to EN produces the same 404 error) Live site variable in configuration.php = &quot; &quot;. Issue not present when you add a product-&gt;checkout-&gt;remove product.  Kind regards, Drago.")*

Hello again,

Just to confirm that it works. Thanks a lot Nicolas.

Last edit: 12 years 7 months ago by [Hristov](/forum/user/12584-hristov "View Hristov's Profile").

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

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