Function: tcp get the product type

Description

Returns the product type of the given product or the current product. In the last case this tag must be within The Loop.
The possible returned values are: simple or grouped.

Usage

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

Parameters

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

Examples

Related

tcp_the_weight