php shopping cart
free shopping cart   shopping cart software

Free Shopping Cart PHP Software

afc_get_raw_price

Back to Functions List
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.

Description

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.


Parameters

prodid (integer) - The product id number of the current product.

Return Values

Returns the price of the current product without any formatting, numbers ONLY.

Open Source: No

Paul's Examples


There are currently no examples for this function.



Back to Functions List




afc_get_raw_price

There are currently no posts for this topic.











AFCommerce Documentation


High End Website DevelopmentCompletely Free
Dating Service
Copyright 2004 - 2006
www.afcommerce.com
AFCommerce Website
And Cart Builder