If I opt to allow checkout without login (guest shopper), is there a way to bypass the page where the shopper is prompted to either login or shop as a guest?
I am thinking we will NOT make use of any of the features that appear to require login (i.e wish list, forums, etc). We just want a simple checkout option.
Is this feasible, easily? Is there any down side to this?
actually you need to replace only one phrase which is in bold and rebuild your project.
I'm using Ver 3.0 and the code is -
if (_workContext.CurrentCustomer.IsGuest()) { if (_orderSettings.AnonymousCheckoutAllowed) { return RedirectToRoute("LoginCheckoutAsGuest", new {returnUrl = Url.RouteUrl("ShoppingCart")}); } else { returnnew HttpUnauthorizedResult(); } } else { return RedirectToRoute("Checkout"); }
How do I edit this to bypass the page where the shopper is prompted to either login or shop as a guest. I want to send user to checkout right after the product has been added to Cart. I do not need the intermediate steps in between.
Go to Admin area > Configuration > Order settings. Ensure that 'Anonymous checkout allowed' is ticked
Hello Sir,
I enabled the guest check out as you have mentioned in the post. I myself, checked out as a guest and provided a wrong email address while checking out and finally placed an order. It means I will not get any email of order placed.
Now if I think by the point of view of customer and if now I want to check the status of my order. Then how the user will be able to check his/her order status.
We have created a new page where user put his e-mail and orderid, so we get order by Id and check if the e-mail match. It is not so secure, but it is an alternative to guest checkouts with invalid e-mails (or bounce).
You can also display order guid on checkout completed page and use guid as the secure key to find the correct order, but in this case, user have to store the order guid to use it later.
Ivan.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hâlen sorularınız mı var veya yardıma mı ihtiyacınız var?