shopp_product_set_taxed()

set whether or not a non-variant product is taxable.

shopp_product_set_taxed ( $product, $taxed )

@param int $product (required) The Product id to set the tax setting on.
@param bool $taxed true to tax variant, false to not tax
@return bool true on success, false on failure

Description

set whether or not a product is taxable.

This function uses shopp_product_variant_set_taxed().

Example

// Set non-variant product 33 as non-taxed
shopp_product_set_taxed ( 33, false );

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar