Does anyone know if it's possible to prevent users without an account on my website to buy items? I'm sure I found this option before but it is not where I thought I saw it...
I am happy for users to browse and add items to cart but require them to have an account to place an order.
The reason for this is I have custom functionality tied to the onNewOrder and thank you page that saves user order data to my custom collection. I will then have a custom page that allows the user to view a list of all of their customised order data from any and all orders placed. The data stored is always saved with their userId so need this to stay the same whenever they place an order on any computer / browser.
alternatively, does anyone know how the user ID is generated? is it based off their email address?
any help much appreciated.