jsmit2 Posted January 21, 2015 Share Posted January 21, 2015 I want the user to be able to click in a link in his mail and that he gets a previous cart loaded in. For example in his mail: Thanks for ordering, do you want order this again? click here!. On the here is a link to a php file in my module. How do I get the php file to re-use the shopping cart he previously had filled? Link to comment Share on other sites More sharing options...
jsmit2 Posted January 21, 2015 Author Share Posted January 21, 2015 I think I found out how. First I query the database for the product list of the old cart. Then I create a new cart using the Cart class and add the products again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now