/home/bonphmya/topcontenedor.com/wp-content/themes/digitaz/woocommerce/content-product-3.php
<?php
/**
 * The template for displaying product content within loops
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/content-product.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce\Templates
 * @version 3.6.0
 */

defined('ABSPATH') || exit;

global $product;

// Ensure visibility.
if (empty($product) || !$product->is_visible()) {
    return;
}
if ($post->index == 0):
    ?>
    <li <?php wc_product_class('product-style-3', $product); ?>>
        <div class="product-block">
            <div class="content-product-imagin"></div>
            <div class="product-transition">
                <?php woocommerce_show_product_loop_sale_flash(); ?>
                <?php digitaz_template_loop_product_thumbnail(); ?>
                <?php digitaz_woocommerce_product_gallery_image(); ?>
                <div class="group-action top">
                    <div class="shop-action vertical">
                        <?php digitaz_wishlist_button(); ?>
                        <?php digitaz_quickview_button(); ?>
                        <?php digitaz_compare_button(); ?>
                    </div>
                </div>
                <?php woocommerce_template_loop_product_link_open(); ?>
                <?php woocommerce_template_loop_product_link_close(); ?>
            </div>
            <div class="product-caption">
                <div class="product-caption-header">
                    <?php digitaz_woocommerce_get_product_category(); ?>
                    <?php woocommerce_template_loop_product_title(); ?>
                    <?php woocommerce_template_loop_price(); ?>
                    <?php woocommerce_template_loop_rating(false); ?>
                </div>
                <div class="product-caption-bottom <?php if (!$product->is_sold_individually() && 'variable' != $product->get_type() && $product->is_in_stock()) {
                    echo esc_html__('qty', 'digitaz');
                } ?>">
                    <?php digitaz_add_quantity_field(); ?>
                    <?php woocommerce_template_loop_add_to_cart(); ?>
                </div>
            </div>
        </div>
    </li>

<?php
else:
    ?>
    <li <?php wc_product_class('product-style-3', $product); ?>>
        <div class="product-block">
            <div class="content-product-imagin"></div>
            <div class="product-header">
                <?php digitaz_woocommerce_get_product_category(); ?>
                <?php woocommerce_template_loop_product_title(); ?>
            </div>
            <div class="product-transition">
                <?php woocommerce_show_product_loop_sale_flash(); ?>
                <?php digitaz_template_loop_product_thumbnail(); ?>
                <div class="group-action top">
                    <div class="shop-action vertical">
                        <?php digitaz_wishlist_button(); ?>
                        <?php digitaz_quickview_button(); ?>
                        <?php digitaz_compare_button(); ?>
                    </div>
                </div>
                <?php woocommerce_template_loop_product_link_open(); ?>
                <?php woocommerce_template_loop_product_link_close(); ?>
            </div>
            <div class="product-caption">
                <div class="product-caption-top">
                    <?php woocommerce_template_loop_price(); ?>
                    <?php woocommerce_template_loop_rating(false); ?>
                </div>
                <div class="product-caption-bottom <?php if (!$product->is_sold_individually() && 'variable' != $product->get_type() && $product->is_in_stock()) {
                    echo esc_html__('qty', 'digitaz');
                } ?>">
                    <?php digitaz_add_quantity_field(); ?>
                    <?php woocommerce_template_loop_add_to_cart(); ?>
                </div>
            </div>
        </div>
    </li>
<?php
endif;