Yes it’s another one of these threads but none of the other threads on this have answered the question for me so thank you for your patience.
I am building a giftcard website and I am trying to enable a guest (not logged in) to add an item to their cart.
Q1: is this possible without plugins? (I prefer to do this ‘natively’)
Q2: is this possible without cookies? (regardless of GDPR)
My relevant data structure is as follows:
- shopping_cart (this is a List of GIFTs)
When the user on my website selects some options and clicks ‘Add to cart’, it correctly creates a new GIFT in my database (via a workflow of ‘Create a new GIFT’), however it does not assign it to the USER’s shopping_cart.
Q3: How would i go about assigning that GIFT created to the USER? (or the USER shopping_cart)
I think this issue would have the same solution whether they are logged in or not but I’m not 100% sure.
Many thanks in advance!