I'm working on a flow that would allow for a one page checkout for one of my clients and we might consider a plugin but there's a requirement to persist the addresses(shipping/billing) when the logged-in customer reaches a certain step at checkout, abandons and returns to complete the checkout. Is it a good practice to persist the addresses for these scenario so that the customer doesn't have to go through the trouble of re-entering all of their addresses or should the returning customer re-enter that information?

Will appreciate your help with this and perhaps point me to a post that provides details around best practices.


closed as too broad by David Manners, Marius Dec 8 '14 at 8:30

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • How about store it in a cookie with JS and fill the inputs when the page loads? – mbalparda Jul 31 '14 at 17:29
  • Thanks mbalparda. That sounds like a great idea. I did hear that the client wants to store cart information (such as cart ID and qty, customer ID, etc in a database) and have a cookie pull that information from there. Will storing the addresses in a cookie cause any issues with that requirement? Also, do you think it is a good practice to actually persist the addresses when the user abandons the checkout without completing it? From a user experience perspective it sounds like a great idea but I want to find out if that would be a good practice in general. – user12794 Jul 31 '14 at 17:34
  • If you name the cookie with a different name you should not have an issue. From the best practice side, i think its doable and a good approach. I will add this as an answer for the record. – mbalparda Jul 31 '14 at 17:40
  • Ok cool. Thank you. I'll continue researching online if there's additional details around it. In the meantime, will pass this on to the developers and the business owner. So from your perspective this second cookie would load when the returning logged-in user arrives on the checkout page, correct? – user12794 Jul 31 '14 at 17:48
  • Yes, it can be made observing the load of the checkout step you want to fill with info from the cookie. – mbalparda Jul 31 '14 at 17:49

You can store this in a cookie with JS and load it when the page loads and fill the inputs with the stored info.

You will have to put a disclamer to say your site uses cookies, but beyond that its pretty easy to achieve.

Not the answer you're looking for? Browse other questions tagged or ask your own question.