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

Support AbanteCart eCommerce

Author Topic: guest checkout - reverts to login when editing cart items  (Read 11585 times)

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1813
  • Karma: +529/-7
    • View Profile
guest checkout - reverts to login when editing cart items
« on: September 25, 2014, 04:20:26 PM »
I believe this may be a bug.  I am using version 1.1.9 with the default_html5 template. And I have tested this in FF, Chrome and IE to see if made a difference,  it did not.

Steps to replicate the issue: Place an order as Guest and complete the order is at  index.php?rt=checkout/guest_step_3  ,  choose Edit Cart

This returns to index.php?rt=checkout/cart
if one edits the shopping cart and fails to click on the update button (I know it is needed,  but folks do miss it)  but instead clicks on the Checkout button it returns to the account login page.   index.php?rt=account/login

Customer does one of several things,  but all fail:  they re-input the guest info,  and it won't recognize the checkout correctly,  each click goes back to the account login.
or if they use a page-back on the browser  the order is still there,  but continues to fail rather you use the update or the checkout button.  There is no easy solution for the Guest to complete their order.

This behavior doesn't not happen if one has a registered account,  only in the guest checkout.
The current resolution is to disallow Guest option - but would like to have it available.

Thanks
Lee










Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6144
  • Karma: +284/-2
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #1 on: September 26, 2014, 03:54:44 AM »
Customer does one of several things,  but all fail:  they re-input the guest info,  and it won't recognize the checkout correctly,  each click goes back to the account login.

Hello.

Can not replicate your issue. Please provide more detailed steps especially "if one edits the shopping cart and fails to click on the update button"
What do you mean edit cart? Add more items or remove product or product quantity change?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1813
  • Karma: +529/-7
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #2 on: September 26, 2014, 02:17:56 PM »
Ok Basara I made a short video of what I am encountering  you can view it here

http://www.screencast.com/users/WeHearYou2/folders/Snagit/media/23ce8818-7f95-4e0f-bd13-401e827404f4

Hope this will help explain.   It only has this behavior on GUEST checkout.



Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6144
  • Karma: +284/-2
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #3 on: September 29, 2014, 03:47:31 AM »
Hello.

I don't think that's a bug... let's see what others think

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #4 on: September 29, 2014, 07:03:42 AM »
Ok Basara I made a short video of what I am encountering  you can view it here

http://www.screencast.com/users/WeHearYou2/folders/Snagit/media/23ce8818-7f95-4e0f-bd13-401e827404f4

Hope this will help explain.   It only has this behavior on GUEST checkout.

Thank you for the video.
I agree this not necessary a bug, but it is still a problem. This creates a confusion for customers.
We will work on the resolution. 
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #5 on: September 30, 2014, 08:42:01 PM »
Fix is available.

https://github.com/abantecart/abantecart-src/commit/19c0892fe728a5ceda64ebc2e6ac0a46c42bc7fa

It is for version 1.2a, but you can apply it to you version manually.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1813
  • Karma: +529/-7
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #6 on: September 30, 2014, 11:07:03 PM »
I need to double check something before I continue changing -  On the github link the second file  is labeled:
  public_html/storefront/view/default/template/pages/checkout/cart.tpl   But the lines of code don't match.   

Should this be public_html/storefront/view/default_html5/template/pages/checkout/cart.tpl?   

Can I just grab the entire file from the 1.2 master branch by going to the VIEW function for these two files rather than alter the code in my existing 1.1.9 version?

Lee
« Last Edit: September 30, 2014, 11:20:54 PM by llegrand »

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: guest checkout - reverts to login when editing cart items
« Reply #7 on: October 20, 2014, 01:37:09 PM »
Yes you need to edit public_html/storefront/view/default_html5/template/pages/checkout/cart.tpl on 1.1.9
On 1.2 there is no default_html5 any more.

Do not copy file completely. It will not work.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod