<?php 
    if ($see_excerpt) {
        ?>
					<div class="tcp-product-summary">
						<?php 
        //the_excerpt();
        tcp_the_excerpt(get_the_ID(), $excerpt_length);
        ?>
					</div><!-- .tcp-product-summary -->
				<?php 
    }
    ?>

				<?php 
    if (tcp_is_saleable() && $see_buy_button) {
        ?>
					<div class="tcp-product-buybutton">
						<?php 
        tcp_the_buy_button();
        ?>
					</div>
				<?php 
    }
    ?>

				<?php 
    if ($see_third_custom_area && is_active_sidebar('sidebar-loop-details')) {
        ?>
					<div class="tcp-product-customvalues clearfix">
						<?php 
Esempio n. 2
0
            if (strlen($slogan) > 0) {
                echo do_shortcode($slogan);
            } elseif (function_exists('tcp_the_excerpt')) {
                echo tcp_the_excerpt($post_id, get_option('bre_carousel_excerpt_length', 50));
            } else {
                bre_the_excerpt($post_id, get_option('bre_carousel_excerpt_length', 50));
            }
            ?>
											</div>

											<div class="wrapper-prices">

											</div><!-- .wrapper-prices -->

											<?php 
            if (function_exists('tcp_is_saleable') && tcp_is_saleable($post_id)) {
                ?>
												<?php 
                if (!get_option('bre_carousel_hide_more_details', false)) {
                    ?>

													<a href="<?php 
                    echo tcp_get_permalink($post_id);
                    ?>
" class="btn btn-large btn-primary">
														<?php 
                    echo tcp_get_the_price_label($post_id);
                    ?>
													</a>
													<?php 
                    if (function_exists('tcp_has_discounts')) {
										<?php 
                }
                ?>
									<?php 
            }
            ?>
							    <?php 
        }
        ?>
							</div><!-- .wrapper-prices -->
						<?php 
    }
    ?>

						<?php 
    if (tcp_is_saleable()) {
        ?>
							<?php 
        if ($see_buy_button) {
            ?>
								<div class="entry-buy-button">
									<?php 
            tcp_the_buy_button();
            ?>
								</div>
							<?php 
        }
        ?>
						<?php 
    }
    ?>