Function: tcp get the order

Description

Returns the order of the given product or the current product. In the last case this tag must be within The Loop.

Usage

<?php echo tcp_get_the_order( $post_id ); ?>

Parameters

$post_id 
(Integer) The ID of the product you’d like to returns its order. Defaults to the current product. In this case this tag must be within The Loop.

Examples

Related