I have added 2 text-field attributes (width and height) and i'd like to know how can i set the pricing of the product (width*height*price/unit_of_space). I thought on doing a rule of condition (add product to cart) and update the pricing as is but didn't find it. Any guide, both in interface or code if not possible?

Comments

tr’s picture

Attributes aren't appropriate unless the customer gets to choose the width and height. If that's the case, you can use uc_custom_price to do the calculation.

ddorian’s picture

Status: Active » Closed (fixed)

Yes that is the case thanks. I saw uc_custom_price (http://drupal.org/project/uc_custom_price) before but still thought i was missing something in the ui.