- Posts: 9
- Thank you received: 0
error when removing product from the cart
14 years 8 months ago #34243
by sanny
error when removing product from the cart was created by sanny
When you check your order was found: when press the button delete a product from the basket. out error 500 - PASSWORD DO NOT MATCH.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34251
by nicolas
Replied by nicolas on topic Re: error when removing product from the cart
Hi,
Could you explain step by step how to reproduce the problem ?
I tried on our demo website to remove a product from the basket and didn't had any error.
Could you explain step by step how to reproduce the problem ?
I tried on our demo website to remove a product from the basket and didn't had any error.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34289
by sanny
Replied by sanny on topic Re: error when removing product from the cart
At the second attempt everything is in order. But there was another problem - when you click the checkout is automatic selection of payment method Moneybookers, even though I have included two plug-ins HikaShop collect on delivery payment plugin and HikaShop Moneybookers payment plugin.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34321
by nicolas
Replied by nicolas on topic Re: error when removing product from the cart
Yes, the first payment method is automatically selected by default.
If you don't want that, you should change the option "Auto select default shipping and payment methods" in the Checkout tab of the configuration.
If you don't want that, you should change the option "Auto select default shipping and payment methods" in the Checkout tab of the configuration.
Please Log in or Create an account to join the conversation.
14 years 8 months ago - 14 years 8 months ago #34612
by hsojhsoj
Replied by hsojhsoj on topic Re: error when removing product from the cart
I get the error described in this thread, "500 - Passwords do not match. Please re-enter password."
I see this when i:
am not logged in,
add multiple items to the cart,
go to the registration page,
try to remove an item from the cart displayed below the login area.
The remove item link takes you to the error page.
I noticed that the browser automatically enters username and password, when this is not entered there will not be an error.
(I do not submit the password to get the error, I only try to remove an item from the cart)
I see this when i:
am not logged in,
add multiple items to the cart,
go to the registration page,
try to remove an item from the cart displayed below the login area.
The remove item link takes you to the error page.
I noticed that the browser automatically enters username and password, when this is not entered there will not be an error.
(I do not submit the password to get the error, I only try to remove an item from the cart)
Last edit: 14 years 8 months ago by hsojhsoj.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34651
by nicolas
Replied by nicolas on topic Re: error when removing product from the cart
Thank you for the thorough information on the problem.
I see now why that happens.
Could you change the line:
if($user->guest && empty($user_id)){
to:
if(!$this->cart_update && $user->guest && empty($user_id)){
in the file components/com_hikashop/controllers/checkout.php and try again ? That should solve the problem.
I see now why that happens.
Could you change the line:
if($user->guest && empty($user_id)){
to:
if(!$this->cart_update && $user->guest && empty($user_id)){
in the file components/com_hikashop/controllers/checkout.php and try again ? That should solve the problem.
Please Log in or Create an account to join the conversation.
14 years 8 months ago - 14 years 8 months ago #34669
by hsojhsoj
Replied by hsojhsoj on topic Re: error when removing product from the cart
The code
if($user->guest && empty($user_id)){
appears twice, in that document, at line 393 and line 1226
Changing both seems to solve it.
Thank you
(side note, I am unable to upload .zip files to your forum)
if($user->guest && empty($user_id)){
appears twice, in that document, at line 393 and line 1226
Changing both seems to solve it.
Thank you
(side note, I am unable to upload .zip files to your forum)
Last edit: 14 years 8 months ago by hsojhsoj.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34685
by sanny
Replied by sanny on topic Re: error when removing product from the cart
Thanks for the tip. You have very good technical support.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34743
by nicolas
Replied by nicolas on topic Re: error when removing product from the cart
If the file is too big the forum won't allow you to upload it. Maybe that's why ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds