How can I save user's information in virto commerce using cookies
28shagun opened this issue · comments
I want to store user's details like address and personal information so that when next time user buy something some fields fill automatically with the help of cookies. Can anyone help me in this how can I achieve this.
Task https://virtocommerce.atlassian.net/browse/VP-7691 has been created
-
You can address in contact profile. A customer entity has a collection of addresses. You can save the address from checkout to contact profile and read it to fill automatically.
-
You can dynamic properties contact profile. Create a new property and save/read custom values.
-
Yes, you can use cookies (local-storage) on client and server-side.
https://www.w3schools.com/js/js_cookies.asp
https://www.c-sharpcorner.com/article/asp-net-core-working-with-cookie/