Calculation of Price
I've been looking for a solution for the next case for a while :
Let's say I have a product which price is calculated via height and width, like silk for example. You calculate the price multiplying height * width (+1) * silk cost.
How can I make this in DC? So far I have created and customized the whole sales process (since I don't want to checkout, only to make and manage orders) but the last thing is to get this kind of formulas work. I created one field for width, another one for with, another one for silk type as a list (which variates the cost) as Option Sets for the product type. Since it's dimensions are custom I can't just create infinite products, also since there are some types of products aside from silk that require another formula (height * (width * 1.2) +1)... I'm just confused, I tried making this with rules but I got lost.
Any idea anyone?
Update : If there's a way to use the variables on the Option Set of the product, that should be enough, even throug code, that will really help.
Comments
Did you already view http://www.youtube.com/watch?v=j9KsyvQZaAY ?
Basically, using http://drupal.org/project/commerce_custom_product you could add Widht/Height as options and using Pricing Rules is good enough I think.
The only problem I found with that solution is that the "Add Order Form" does not include the custom line item fields.