motion2082 Posted April 20, 2016 Share Posted April 20, 2016 Hey guys, Have a question for you core developers out there. When a customer signs up to my store I offer them a 5% off discount voucher BUT sometimes they forget to apply the voucher. This is what it looks like before they add it upload gambar Is it possible to have this added by default on their first order? So it looks like post a picture Link to comment Share on other sites More sharing options...
OpenSource Expert Posted April 22, 2016 Share Posted April 22, 2016 Yes it possible that if user is placing his first order then coupon could be applied automatically, for that user only in case of first order otherwise user will apply coupon manualy. Logic: 1. User logged in. 2. Check Orders against the logged in user 3. if orders are 0 (zero) then we pull coupon code in coupon automatically. 4. If order more than one then user will apply coupon manually. It could be possible by overwriting the core files of prestashop. Link to comment Share on other sites More sharing options...
motion2082 Posted April 22, 2016 Author Share Posted April 22, 2016 Hopefully you're right 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