Strange behaviour on checkout - Shipping and Payment Methods. Quantity change

  • Posts: 59
  • Thank you received: 2
8 years 1 month ago #253412

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.x
-- Browser(s) name and version -- : Chrome

Hi, we have Two strange behaviours on our site when on checkout process.

First we Setup the configuration of 'Auto submit shipping and payment methods selection' and set it to 'Yes'. But only the Shipping Method Step is submitted and send us to the next step automatically. When on the payment methods step, selecting a payment method keeps the checkout process on the same step (in our case is step 2). We expected to be submitted also like the Shipping Method Step.

Another issue is that, if we change the quantity of products on the Cart step the page refreshes and recalculate accordingly, as expected but when we click the 'Next' button we are sent back to Step 1 of the checkout process. Tried many times, and the same outcome.

Also tried to download the installation package again, on a local installation (a backup of the site with 2 weeks old, but with the recent version of Hikashop installed 2.6.4) to see if the problem had already been fixed, but it continues to happen, both locally and on the online version.

Can you help us please,

Thanks in advance.

Best Regards.

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 1 month ago #253444

Hello,

can you provide some access references (font end & back end) and of course an Url to your website, in order to process some tests ?
And maybe, if you think it's required a way to process in order to reproduce the issue.

For this use our Contact us form, to provide it, and don't forget to add in your message an Url link to this topic.

Awaiting news from you.

Regards

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

  • Posts: 59
  • Thank you received: 2
8 years 1 month ago #253641

Hi Philip, sent you a "Contact us" email as requested.

So here you can find attached the process we explained in the first message.

Thanks in advance,

Best regards,
AllBS

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
8 years 1 month ago #253701

Hello,

As I suspect, you have a lot of Custom fields views :



The fact that it works for Shipping and not for the Payment plugin is strange and so I think that is maybe the Custom code that leads to this issue.
But in order to be sure of it, can you try to remove them (don't forget to keep them in your side, by saving with Notepad on your computer)
And process some test, in order to see if your checkout stop to going back to the first step AND/OR maybe solve the payment plugin issue.
I find another way to avoid this going back for this you have to switch on the "Use AJAX when possible for add to cart buttons".



Other point, for your Payment plugin selection that don't leads to your next step, I can only told you that something isn't well build in your custom code, but find the error will take time, the custom code creator may be able to find and correct this, I guess.

We are waiting news from you, especially IF remove ALL override view doesn't change anything, we have to more far.

Regards

Attachments:
Last edit: 8 years 1 month ago by Philip.

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

  • Posts: 59
  • Thank you received: 2
8 years 1 month ago #253773

Hi Philip,

Thanks for your answer. In another topic related to a issue similar as ours that we found, there was the suggestion you told me (to remove custom code), and in a local installation of the project with no custom code, the same behaviour happened. That's why we decided to send you a ticket request.

And, today, to be sure, on the online version of the project we removed the 'hikashop' folder from the template overrides and tested again, and the same behaviour happens :(

Even turning on the "Use Ajax.." option you suggested, still remains all the issues i shown you in the attachment.. Our custom code is mainly to change some layout in CSS and HTML.

So, we are out of ideas as why this happens.

Hope there's a solution.

Thanks.

Best Regards,
AllBS

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 4 weeks ago #253841

Hi,

The issue is that you turned off the "Auto select default shipping and payment methods" setting of the HikaShop configuration.
Because of that, HikaShop doesn't reselect automatically the shipping/payment methods when you change the products in the cart.

I've turned back on that option for you as it is by default and it seems to work fine in the test I did on your checkout.

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

  • Posts: 59
  • Thank you received: 2
8 years 4 weeks ago #253961

Hello Nicolas,

Ah ok, so we have to have the 'auto select..' option 'on' too. We had already tried that one, but with the 'auto submit..' off i think.

The thing is that, we wanted to auto submit the form when a user chooses a payment method or shipping.

With this two options turned 'on', if the payment method is already selected by default, even when the user chooses another, we are kept in the same payment/shipping method step (not advancing submitting automatically).

(Even then, we think Hikashop should 'remember' the options chosen by the user before changing the quantity or any other action in the cart step. Or is it difficult?)

But ok, the recalculation of the quantity not sending us back to step 1, is already understood :)

Thank you very much.

Best Regards,
AllBS

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 4 weeks ago #253981

Hi,

We're working on a new checkout system for HikaShop 3.0 (the next release of HikaShop) and that will avoid these issues as the system basis will be made so that such things can't happen.
For now the system is not adapted to be flexible and support well all the different ways you can setup a checkout.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum