Example #1
0
function is_ic_taxonomy_page()
{
    if (is_tax(product_taxonomy_array())) {
        return true;
    }
    return false;
}
    exit;
    // Exit if accessed directly
}
/**
 * The template for displaying products content.
 *
 *
 *
 * @version		1.1.2
 * @package		ecommerce-product-catalog/templates
 * @author 		Norbert Dreszer
 */
global $post;
$product_id = $post->ID;
$current_post_type = get_post_type();
$taxonomies = product_taxonomy_array();
$single_names = get_single_names();
$single_options = get_product_page_settings();
do_action('single_product_begin', $product_id);
?>

<article id="product-<?php 
the_ID();
?>
" <?php 
post_class('al_product responsive type-page product-' . $product_id);
?>
>
	<?php 
do_action('before_product_entry', $post, $single_names);
?>