prestatent Posted October 31, 2014 Share Posted October 31, 2014 (edited) Prestashop 1.6.0.8 Hi To cut a long story short, I'm creating vouchers via coding and want to add vouchers only for products that the customer has already bought. I'm stuck at one database table however. "CART_RULE_PRODUCT_RULE_VALUE" has entries for each product already bought. See images for details via the backoffice. What I want to know is, how do the entries in this table link to actual products on "PRODUCTS" table? Thanks for any help you can give. Edited October 31, 2014 by prestatent (see edit history) Link to comment Share on other sites More sharing options...
prestatent Posted October 31, 2014 Author Share Posted October 31, 2014 Sorry, long week. Forget I asked. Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2014 Share Posted November 2, 2014 check how the afterAdd function works in controllers/admin/adminCartRulesController.php everything you need is there Link to comment Share on other sites More sharing options...
prestatent Posted November 3, 2014 Author Share Posted November 3, 2014 Thanks Vekia. Got it resolved. 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