AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: browneyedgirl on October 13, 2015, 09:47:55 AM

Title: Guest Checkout in Maintenance mode-email link to order directed to Account Login
Post by: browneyedgirl on October 13, 2015, 09:47:55 AM
I am currently in Maintenance mode doing some testing on my website.  My website is configured to allow for Guest Checkout.
I placed an order as Guest checkout with "notify customer" selected.

If I look at the email sent to the guest customer, there is link in the email which allows them to see their order.

e.g. :
To view your order click on the link below:
<my website url>/index.php?rt=account/invoice&order_id=14


If i click on that  link, it takes me to the account login page instead of showing the details of the order.

e.g. above link is redirected to the following link:
<mywbsite url>/abante2/index.php?rt=account/login&token=3545ac7ade93a988f46bdfeb037f49a1

Any ideas as to why this would be happening?

BTW:  I have version 1.2.4 installed
Title: Re: Guest Checkout in Maintenance mode-email link to order directed to Account Login
Post by: Basara on October 13, 2015, 10:02:30 AM
Are you sure that your order is Guest customer order? Where do you select Notify Customer?
on my side guest customer receive:
"Thank your for interest in Web Store Name products. Your order has been received and will be processed once payment has been confirmed." without link
Title: Re: Guest Checkout in Maintenance mode-email link to order directed to Account Login
Post by: browneyedgirl on October 13, 2015, 10:44:56 AM
Hi Basara,

Yes,  I see the same message as you on the website.  I am referring to any emails that are sent to the customer after the fact.  That is, , if I go to Sales->Orders-> adn then select the order id ->Edit->Status & Comments. .  If I update the Status, add a comment and select "Notify Customer" to "On", then the customer is sent an email and in that email body is a link to the order ID.  Except, as mentioned above, if I click on that URL, it sends me to the account login page and not to a page showing their order details.  Is this a bug or did I perhaps miss something in my settings/config?  Thanks.
Title: Re: Guest Checkout in Maintenance mode-email link to order directed to Account Login
Post by: abolabo on October 13, 2015, 11:21:58 AM
we'll check and let you know.
Title: Re: Guest Checkout in Maintenance mode-email link to order directed to Account Login
Post by: Basara on October 29, 2015, 03:06:53 AM
Hello.

Order status can not be checked by Guest customer so we remove order url in the email for Guests.
Here is the code changes (https://github.com/abantecart/abantecart-src/commit/7f33455e65f5b5dc00f56f1ed3fdb4823f3b40d9)