ukvapeclub Posted May 5, 2016 Share Posted May 5, 2016 (edited) Hi guys and girls, I'm looking for a way to perform an action based on whether a customer uses a particular cart rule when they place an order. For example, if a customer places an order which has the cart rule "XYZ" applied to it, then alter their account details in some way. i.e. When validating order: if ($cartRule->code == "XYZ"){ //do some stuff } I'm just struggling to find at which point in the order controllers that this would take place. Any help much appreciated, and I hope that made some sort of sense Stu Edit: I appreciate that the actual code would look nothing like the above Edited May 5, 2016 by ukvapeclub (see edit history) 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