Ubercart Custom Price Module Can Be Used for Non-Price Adjustments Too
This is just a really brief post about the Ubercart Custom Price module (http://drupal.org/project/uc_custom_price). As the name suggests, it was primarily intended for custom adjustments to the price of a product. This is can be used in many different ways, whether its using CCK textfield values, Ubercart product attribute values, or in other ways. For example, one could count the number of letters in a textfield and then alter the price or use the value of an product attribute.
But something interesting that is not obvious is that you can use the Ubercart Custom Price module to make alterations to things other than the price of the product. For example, instead of using $item->price you can use $item->qty changing the quantity of products added to the cart. So you can use attributes, CCK fields, and etc. to change things like the quantity - it's not just for price calculations.

Post new comment