After doing some reading and thinking,
when I create my plugin I need and xml file aswell right?
Now if I create the following custom fields for every product in a particular category:
Range1,Range2,Range3
Price1,Price2,Price3
Height1, Height2,Height3
which I will load information in these fields when entering a product.
Then, during the product view, the custom field for width that the user enters, needs to be checked against Range1, Range2, Range3 values (these range values need to be in the form of 300-400, or should I create Range1min Range1max?)
and
case1:
display and load Price1 and height1 to cart
case2:
display and load Price2 and height2 to cart
etc...
this should be easy enough right?
I'm still trying to understand the code in custom_price.php of the plugin you told me to look at.
Any feedback would be appreciated.
thanks