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