You are here

function theme_product_discounted_price in Ubercart Discounts (Alternative) 7.2

Same name and namespace in other branches
  1. 6.2 product_price_alterer_field/product_price_alterer_field.module \theme_product_discounted_price()

Theme function for producing product discounted price html. Returns discounted price for product (based on passed discounts).

2 theme calls to theme_product_discounted_price()
discounted_price_handler::render in product_price_alterer_field/includes/discounted_price_handler.inc
Render the field.
product_price_alterer_field_field in product_price_alterer_field/product_price_alterer_field.module
Implementation of hook_field()

File

product_price_alterer_field/product_price_alterer_field.module, line 115
Provides discounts based on ubercart products based on product quantity purchased using attached product field.

Code

function theme_product_discounted_price($product, $discounted_price_string) {
  return $discounted_price_string;
}