This Function Has Been Available Since:|
(AFCommerce v 2.1, Functions v 1.1)
Used to determine a product's price after any discounts are applied. This function will NOT format the price in any way, it will simply return the (raw) numbers used in the dollar amount.
float = afc_get_raw_price (prodid)
This function will figure out what price to display for any particular product, taking into account, any discounts or special prices for that product. This function will NOT format the price in the current currency format of your store, it will simply return the (raw) numbers used in the dollar amount.
To use an AFCommerce function that will also format the price, use the afc_get_price function instead.
prodid (integer) - The product id number of the current product.
Returns the price of the current product without any formatting, numbers ONLY.
Open Source: No
There are currently no examples for this function.
Back to Functions List