function product_price_alterer_field_field_info in Ubercart Discounts (Alternative) 7.2
Same name and namespace in other branches
- 6.2 product_price_alterer_field/product_price_alterer_field.module \product_price_alterer_field_field_info()
Implementation of hook_field_info().
File
- product_price_alterer_field/
product_price_alterer_field.module, line 12 - Provides discounts based on ubercart products based on product quantity purchased using attached product field.
Code
function product_price_alterer_field_field_info() {
return array(
"discounted_price" => array(
"label" => t("Discounted Price"),
"description" => t("Alters price for products where uc_discounts_alt discounts apply when added with a quantity of one or less"),
),
);
}