This Function Has Been Available Since:|
(AFCommerce v 2.1, Functions v 1.1)
Determines a products tax class.
string = get_product_taxclass (prodid)
This function is pretty simple, it looks up which tax class is assigned to the current product. This function is used inside of the afc_get_tax_and_set_tax_variables function to save a few lines of code in that function making it easier to read.
prodid (integer) - The product id number of the current product.
Returns the tax class's id number.
Open Source: Yes
There are currently no examples for this function.
Back to Functions List