Hi,
I'm quite new in drupal. And I want to ask something about ubercart custom price calculation.
I created product class called 'Photo' and I add 4 attributes :
- Print Material (Select list)
- Width (Text field)
- Length (Text field)
- Picture Frame (Select list)
And this is the options for Print Material and Picture Frame attribute (each option have it own cost) :
- Print Material
- Canvas
- Art Paper
- Glossy Photo Paper
- Picture Frame
- Acrylic
- Gallery Wrap
And sell price calculation should be :
Sell Price = (Print Material Option Cost * Width * Length) + (Picture Frame Option Cost * Width * Length)
And my question is how to write the formula into custom price calculation block?
Sorry for my english ;)
Thanks in advance