Bugas Posted April 8, 2019 Share Posted April 8, 2019 (edited) Hi, i'm making a module that combines products in packs. I can't figure out how to make a cart rule or something that will change price when specific products are added to the cart. For example: Car costs 1000euro, Tires cost 500euro, Seat cover costs 100euro... when those three are aded to cart, the price of seat cover should be 1 euro instead of 100... As I see, the best way should be a cart rule with (as in our example) three cart rule product groups... so how should I do it? Can i do it with a Cart Rule Object, some function or should i manually insert values into sql tables? Some example code would be much appreciated Thanks in advance Edited April 8, 2019 by Bugas (see edit history) Link to comment Share on other sites More sharing options...
Bugas Posted April 11, 2019 Author Share Posted April 11, 2019 Hate to sound despaired, but any - even the shortest answer (leading to a solution) would be much appreciated 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