How to save user/customer selections like shopping cart data?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello, we are customizing nopcommerce, so the customer need to select a couple of things before be able to add items to shopping cart.

But we are wondering where is the better location to store this data, we wanted to persisted between sessions (logoff -> login) like the shopping cart

Whats the better approach to save it? or is ok to add fields to Shopping cart (and where is located this code)?
3 years ago
GenericAttribute (KeyGroup = 'Customer')
That's where customer properties (Keys) like First Name and Last Name are stored, but also for the cart: Checkout Attributes, Discount Coupon Code, Selected Shipping Method, etc.
You can create your own custom Keys.
3 years ago
Thank you, starting to work with GenericAttribute, looks like is exactly what I need.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.