AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: llegrand on September 25, 2014, 04:20:26 PM

Title: guest checkout - reverts to login when editing cart items
Post by: llegrand 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









Title: Re: guest checkout - reverts to login when editing cart items
Post by: Basara 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?
Title: Re: guest checkout - reverts to login when editing cart items
Post by: llegrand 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 (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.


Title: Re: guest checkout - reverts to login when editing cart items
Post by: Basara on September 29, 2014, 03:47:31 AM
Hello.

I don't think that's a bug... let's see what others think
Title: Re: guest checkout - reverts to login when editing cart items
Post by: eCommerce Core 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 (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. 
Title: Re: guest checkout - reverts to login when editing cart items
Post by: eCommerce Core 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.
Title: Re: guest checkout - reverts to login when editing cart items
Post by: llegrand 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
Title: Re: guest checkout - reverts to login when editing cart items
Post by: eCommerce Core 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.