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

#   Problem while updating the cart

##

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

Less More

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

10 years 7 months ago [\#232603](#232603) by [pegasus](/forum/user/35895-pegasus "View pegasus's Profile")  *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232603 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")* was created by *[pegasus](/forum/user/35895-pegasus "View pegasus's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.3

Hello,

There is a problem with updating the cart. This is very similar to [ this older bug](https://hikashop.com/forum/install-update/869257-deleting-items-from-the-cart-on-the-home-page.html?limitstart=0) , but the solution I think is outdated.

Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.

Everything is OK for the English language.

Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.

Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.

The following URL is in the delete button inside the cart module in Greek page and gives me 404:
/component/hikashop/product/updatecart/cart_type-cart/cart_product_id-180/quantity-0/return_url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v

If I manually insert "index.php" at the beginning then it's working, otherwise it redirects to 404 page.

The following URL is in the delete button inside the cart module in English page and works fine:
/en/component/hikashop/product/updatecart/cart_type-cart/cart_product_id-180/quantity-0/return_url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v

Thanks

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

10 years 7 months ago [\#232618](#232618) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232618 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

Hi,

From what I can see, the problem could come from the "force a menu on checkout" setting of the HikaShop configuration.
Can you make sure that the menu item selected there is of the type "HikaShop...".
Also, could you tell us the full version of the "advanced settings" section of your HikaShop configuration ?

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

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

Less More

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

10 years 7 months ago [\#232695](#232695) by [pegasus](/forum/user/35895-pegasus "View pegasus's Profile")  Replied by *[pegasus](/forum/user/35895-pegasus "View pegasus's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232695 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

The "force a menu on checkout" was set to "None". Now I changed it to Hikashop checkout menu, but the problem is still the same.

The full version is: HikaShop Business 2.6.1 [1602070724]

Thanks for your help

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 7 months ago [\#232722](#232722) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232722 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

Hi,

Please provide a backend and FTP access in order to debug that issue.

You can send these informations via our contact form (with a link to this topic in your message).
[ www.hikashop.com/support/contact-us.html](http://www.hikashop.com/support/contact-us.html)

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

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

Less More

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

10 years 7 months ago [\#232785](#232785) by [pegasus](/forum/user/35895-pegasus "View pegasus's Profile")  Replied by *[pegasus](/forum/user/35895-pegasus "View pegasus's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232785 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

OK sent.

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

10 years 7 months ago [\#232882](#232882) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232882 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

Hi,

Thank you for that.
The problem comes with the system which gets a random menu item to set the link of the form for the update of the cart.
It get the first menu item of the type HikaShop it can find.
The problem is that it doesn't check the language of the menu item and since you've restricted the menu items to languages, it works for one language and not the other and on HikaShop pages, it doesn't have to search for a HikaShop menu item so it always works.

The solution for you is simple:
Change the menu item "Men" that is used all the time on non HikaShop pages on your website so that it displays for all the languages and instead translate it with Falang.
On our end, we'll change the system to check the language of the menu item.

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

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

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

Less More

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

10 years 7 months ago [\#232921](#232921) by [pegasus](/forum/user/35895-pegasus "View pegasus's Profile")  Replied by *[pegasus](/forum/user/35895-pegasus "View pegasus's Profile")* on topic *[Problem while updating the cart](/forum/3-bug-report/882915-problem-while-updating-the-cart#232921 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3  Hello,  There is a problem with updating the cart. This is very similar to , but the solution I think is outdated.  Every time I change the cart quantity or press the delete button I get redirected to a 404 page. I have two languages, Greek (Default) and English.  Everything is OK for the English language.  Everything is OK for both languages if I am on a Hikashop page. If I am on a Joomla page (home page, login etc) it does not work for the Greek language.  Everything is OK for both languages if I turn off the Joomla SEF and URL rewriting, but I need these.  The following URL is in the delete button inside the cart module in Greek page and gives me 404: /component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20v  If I manually insert &quot;index.php&quot; at the beginning then it's working, otherwise it redirects to 404 page.  The following URL is in the delete button inside the cart module in English page and works fine: /en/component/hikashop/product/updatecart/cart&#95;type-cart/cart&#95;product&#95;id-180/quantity-0/return&#95;url-aHR0cDovL3d3dy5nYXZyaWVsYS53d3dubHNzcjEuc3VwZXJjcC5jb20vZW4v  Thanks")*

Thanks Nicolas, it works fine now.

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

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

[](#top)
