Function: tcp get the price to show

Description

Displays or returns the price of the current product. This tag must be within The Loop.
To calculate this price TheCartPress uses the settings: ‘Default tax country’, ‘Prices include tax’, ‘Tax based on’ and ‘Display prices with taxes’ .

Usage

<?php tcp_get_the_price_to_show( $post_id ); ?>

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.

Examples

Related

tcp_the_price
tcp_the_tax