Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Bug? guest_step_1 browser autofill = page reload  (Read 4621 times)

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Bug? guest_step_1 browser autofill = page reload
« on: July 20, 2017, 01:56:58 PM »
Hi, I'm seeing an odd result on guest_step_1 when I use Chrome 'autofill'.

www.inspired-designco.com

To replicate the problem: access the site with desktop or laptop chrome browser.

Add any item to your cart, then click the Checkout with Credit Card button.  This will take you to g_s_1.

Click the name field to autofill your name (assuming you use this Chrome feature).

When I do this, it autofills my name, email, phone, & address info.  Each field changes to yellow.

Scroll down, click the Continue button. 

What should happen:  g_s_2. 

What does happen:  reload g_s_1, without yellow.  Click Continue again, the system will then take the user to g_s_2. 

I've tested this a couple of times. 

Without autofill, the site works normally (no g_s_1 reload).
With autofill, the g_s_1 will always reload, which requires the user to repeat the Continue step from g_s_1 to reach g_s_2. 

Comments:
1 - millions of people use Chrome autofill.
2 - redundant hiccups in a cart contribute to abandonment / dropped sale / lost sale.

Would appreciate suggestions for how to fix this. 

Thx. 

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #1 on: July 21, 2017, 04:12:14 AM »
Hello.

What version of AbanteCart do you use?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #2 on: July 22, 2017, 01:05:14 AM »
1.2.10


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5810
  • Karma: +274/-2
    • View Profile
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #3 on: July 24, 2017, 06:30:56 AM »
Hello.

Do you modify core files? If yes try to restore them because this behavior is unusual.

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #4 on: July 24, 2017, 12:34:14 PM »
Hi, thanks for the help. 

I did modify 3 core files, but I was seeing this problem on the local dev site before I made any core edits.

Here are the core files I changed:

/extensions/default_pp_express/core/default_pp_express.php
> line 103 to change image file
> comment-out lines 108-117 to remove Bill Me Later icon from the Cart page.

/storefront/controller/responses/product/review.php:
> lines 113 & 117 - increase field character limits.
> commented out lines 121-123 to remove the Star Rating Validation step

/admin/controller/pages/catalog/review.php:
>commented out lines 409-411 to remove the Star Rating element from the backend Review Approval system

That's it. 
I'm pretty sure these mods would not affect behavior of g_s_1 Continue after Chrome auto-fill.

I will do the recommended restore test later this week to see what happens.   

In the mean time, can you think of any other cause?

Are you able to replicate the problem on my live site?

FYI - the site runs on a default-clone template extension, with all other mods made to then clone extension files. 

Thx.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5810
  • Karma: +274/-2
    • View Profile
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #5 on: July 25, 2017, 02:13:54 AM »
Hello.

Possibly this is related to paypal express. Did you see issue with another payment method?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #6 on: July 25, 2017, 03:41:36 AM »
Just tried to replicate this issue on my linux chromium browser but all works correctly.
Can you try it on our demo?
You can try to disable some extensions and check again.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +28/-3
    • View Profile
Re: Bug? guest_step_1 browser autofill = page reload
« Reply #7 on: July 26, 2017, 03:39:36 AM »
Hi, thanks guys. 

Today I cannot replicate this error on my site. 

I also tried on your test site, also cannot replicate error there. 

OP date was July 20.  Since that date, i have only added one product with images, and performed one back-up.

I tried 3 times today, but the error does not occur. 

I appreciate your follow-up. 

Comments:
Paypal Express button is on the Cart page.  If you use PP Express, you leave the site, satisfy PayPal, then redirect to g_s_2, so it seems like PP Express is unlikely culprit for Chrome autofill problem on g_s_1?

The only route to g_s_1 on my site is the <u>Checkout with Credit Card</u> button on Cart page, or the $ checkout button in top-cart.  It is not a payment extension that takes the user to g_s_1, but rather a checkout button. 
g_s_1 loads properly and receives data in fields properly, but it fails to redirect to g_s_2 on Continue-click if the user does a quick Chrome autofill of g_s_1 fields. 

Sometimes. 

I have seen the error a handful of times on both my dev local site and the live site, but cannot replicate it today. 

If I see it again, I will try various tests and post here again. 

Maybe it is a chrome/windows thing.  Maybe it's an adblock thing?  Mabe it's voodoo. 

[/voodoo]?

Thx.


 

Powered by SMFPacks Social Login Mod