Comments (23)
from sylius.
Am I right in thinking this hasn't been implemented yet? (see also Sylius/Sylius-Sandbox#66 )
from sylius.
@therefromhere Correct, not implemented yet.
from sylius.
What is the status of this?
@pjedrzejewski Can you give more infor, ideas on this? Maybe I can give it a try some day.
from sylius.
@pjedrzejewski Ping, I am interested to contribute.
from sylius.
@pjedrzejewski I will start to work on this. If you have something to say please speak now or forever hold your peace :)
from sylius.
Only thing I am concerned about is that it complicates the processing quite a lot if we do not create accounts for guests. If you have some idea how to solve it elegantly (I was thinking about creating User's anyway, with the e-mail entered by guest), then go for it!
from sylius.
@pjedrzejewski I was kinda hoping to do it without user creation. Do you think its possible?
from sylius.
from sylius.
I think that creating ghost users is not the way. Maybe isolating of user all data which is used by order management would be a better approach.
from sylius.
Maybe, yeah...
from sylius.
+1 for this feature. It's imperative for good UX.
@umpirsky Did you ever get anywhere with this?
From what I know/experienced, guest checkouts involve creating users and having them access their account via a short-lived password reset token sent to their email.
from sylius.
@antonydb We have some internal solution for this. We create user on the fly.
from sylius.
Thanks @umpirsky. Do you know if there are any plans to include this functionality in the standard release? I'm looking for a quick way to implement it. I'm guessing there's not judging by the roadmap.
from sylius.
@antonydb There was a plan to do so, but I don't think it's gonna happen soon.
Maybe if someone needs it badly and have time to contribute.
from sylius.
@pjedrzejewski If you will store all related information in Order entity(for example billing address, customer first/last name) you can simply implement Guest checkout.
For example Magento and OpenCart duplicate customer information in same way.
It also is needed for reason to see correct order history, because any changes from customer side in profile will clear it. Correct order history is very import for accountant and you should not forget about it.
Please do not create guest customers on the fly it will be a nightmare when database table became about gigabytes of useless data :)
from sylius.
@torinaki Well, whether you store customer info on the order or on a customer record which is only attached to the order really comes out to be the same data volume. The addresses are already treated this way so that historic data is preserved. Guest checkout would just be a matter of dis-associating customers from users, which is probably a good idea.
from sylius.
I went down the route of creating guest customer's on the fly. I keep their data in the user and address tables.
I've seen a few of the bigger online stores implement a register-later process via email token for guest users. The reason I like this is that you can let them select from an existing address (or create a new one) once they've registered because these relationships are already set up.
@torinaki you are right that is important to keep correct order history (you can still do this) but by not creating users on the fly it can affect the user's checkout experience when they have to re-enter their address instead of selecting a previous one. It is also good for customer management as it makes it easy to see all their orders, even if they're not a verified user.
from sylius.
In fact in the order's billing address it has all the info about the customer. I think we can just disassociating User from Order.
from sylius.
@kayue Good point. I guess email address would be important though.
from sylius.
I have created a quick prototype of guest checkout:
https://github.com/torinaki/Sylius/compare/GH90-Implementing-guest-checkout
The main idea was to add email information into Order entity and create possibility to skip Security step in checkout process.
from sylius.
@pjedrzejewski @Arn0d This can be finally closed!!! =)
from sylius.
Closed by #1816
from sylius.
Related Issues (20)
- Form errors during creation of product remove all product images
- [UI] Text going out of the frame in product description HOT 2
- [Refactor][ApiBundle] Unify section resolver usage HOT 1
- Unable to generate url for route sylius_shop_product_show when product slug contains slash HOT 1
- AverageRatingUpdater is called twice when a review is accepted HOT 1
- The complete checkout validation group is difficult to override
- Cannot complete payment via admin
- Api Cart Context calls wrong endpoint method HOT 2
- Invalid constraint configuration in AddProductReview.xml HOT 6
- Catalog promotion is still applying after end date, price is not restored to original HOT 5
- Would be nice to have sylius/promotion not require doctrine/orm
- Order tax adjustment is treated as shipping tax
- products order in the front-end is not showing in descending order ( the latest to the oldest) of the createdAt date only in production. HOT 1
- As an Admin, I want to resend the confirmation email of an Order that is `fulfilled`
- Incompatibility with SyliusResourceBundle 1.11 HOT 2
- As a Shop API consumer, I want to see the Start and End dates of a Promotion Catalog HOT 2
- As a Shop API consumer, I want to see the current applied catalog promotions of a Product Taxon HOT 1
- Payment request a new way to handle payments
- Stop needing to cache:clear every Api Platform annotation change HOT 1
- The documentation should also have `npm` commands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sylius.