error when removing product from the cart

  • Posts: 9
  • Thank you received: 0
12 years 10 months ago #34243

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 10 months ago #34251

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.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
12 years 10 months ago #34289

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 10 months ago #34321

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.

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 0
12 years 10 months ago #34612

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)

Last edit: 12 years 10 months ago by hsojhsoj.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 10 months ago #34651

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.

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 0
12 years 10 months ago #34669

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)

Last edit: 12 years 10 months ago by hsojhsoj.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
12 years 10 months ago #34685

Thanks for the tip. You have very good technical support.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 10 months ago #34743

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.052 seconds
Powered by Kunena Forum