File: /var/www/html/wpprm/wp-content/themes/ronneby/woocommerce_old/content-product-slider.php
<?php
/**
* The template for displaying product content within loops.
*
* Override this template by copying it to yourtheme/woocommerce/content-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.10
*/
if (!defined('ABSPATH')) exit; // Exit if accessed directly
global $product, $woocommerce_loop, $dfd_ronneby;
$categ = $product->get_categories();
$term = get_term_by('name', strip_tags($categ), 'product_cat');
$subtitle = get_post_meta($product->get_id(), 'dfd_product_product_subtitle', true);
$catalogue_mode = (isset($dfd_ronneby['woocommerce_catalogue_mode']) && $dfd_ronneby['woocommerce_catalogue_mode']);
?>
<div class="product">
<div class="prod-wrap">
<?php do_action('woocommerce_before_shop_loop_item'); ?>
<div class="woo-cover">
<div class="prod-image-wrap woo-entry-thumb">
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10
* @hooked woocommerce_template_loop_product_thumbnail - 10
*/
do_action('woocommerce_before_shop_loop_item_title');
?>
<?php if(!$catalogue_mode): ?>
<a href="<?php the_permalink(); ?>" class="link"></a>
<?php endif; ?>
</div>
</div>
<?php if(!$catalogue_mode): ?>
<div class="woo-title-wrap">
<div class="box-name"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
<div class="price-wrap">
<?php do_action('woocommerce_after_shop_loop_item_title'); ?>
</div>
<?php if(!empty($subtitle)) : ?>
<div class="subtitle"><?php echo $subtitle; ?></div>
<?php endif; ?>
<div class="rating-section">
<?php wc_get_template( 'loop/rating.php' ); ?>
</div>
</div>
<?php endif; ?>
</div>
</div>