How to create cookie on checkout
-
I’m wondering if anyone knows how to create a cookie on checkout (when the user presses the “pay” button).
I know how to create the cookie, and collect the information to store in the cookie, I’m just having trouble placing the “setcookie” code, as no matter where I seem to put it, it never gets created.
Ideally I would like to store the billing address the user typed in when checking out into a cookie, so I can auto populate the fields the next time they visit/purchase something from my site.
I do not want customers to have to create an account, this is why I want to store the information.
- The topic ‘How to create cookie on checkout’ is closed to new replies.