I am on my checkout page at index.php/en/cart
When i want to update the quantity of a product i change the number and hit the refresh button but it leads me to
this page: index.php/en/checkout/cart/edit
And it is blank only saying {"location":"module"}
Can anyone suggest me where to search for this (what seems to me) JSON object and how i can solve it?
When i want to update the quantity of a product i change the number and hit the refresh button but it leads me to
this page: index.php/en/checkout/cart/edit
And it is blank only saying {"location":"module"}
Can anyone suggest me where to search for this (what seems to me) JSON object and how i can solve it?
In Development
Share this post:
Responses (5)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
[FOUND THE PROBLEM]
The problem is that the controller cart.php is searching either one of these paths:
$checkCart = strpos($_SERVER['HTTP_REFERER'], 'checkout/cart');
$checkCheckout = strpos($_SERVER['HTTP_REFERER'], 'checkout/checkout');
But when i click on my cart, the path is simply just 'cart' without the checkout before.
So my question is, what the difference is between
index.php/checkout/cart
AND
index.php/cart
Thanks in advance for your time and help! -
Accepted Answer
Hi, I had the same issue, and your posts were very helpful. The issue is related to the using of SEO urls.
The solution that worked for me was to change de SEO route for the cart.
This is what I did:
System > URL manager > cart
Edit from:
route=cart
to:
route=checkout/cart
Hope it works for you.
Carlos Pinto wrote:
[FOUND THE PROBLEM]
The problem is that the controller cart.php is searching either one of these paths:
$checkCart = strpos($_SERVER['HTTP_REFERER'], 'checkout/cart');
$checkCheckout = strpos($_SERVER['HTTP_REFERER'], 'checkout/checkout');
But when i click on my cart, the path is simply just 'cart' without the checkout before.
So my question is, what the difference is between
index.php/checkout/cart
AND
index.php/cart
Thanks in advance for your time and help!
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »