Description
This function has been deprecated. It has been replaced by tcp_get_the_price_to_show.
Displays or returns the price (calculate with the tax) of the current product. This tag must be within The Loop.
To calculate the function uses the tax settings.
Usage
<?php tcp_get_the_price_with_tax( $post_id, $price ); ?>
Parameters
- $post_id
- (Integer) The ID of the product you’d like to returns its price label. Defaults to the current product. In this case this tag must be within The Loop.
- $price
- (double/boolean(default))If the value is not false, the function calculates the price with tax using this price. If the value is false, get the price from the post id.''.