| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/medicate/woocommerce/ |
Upload File : |
<?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
*/
defined( 'ABSPATH' ) || exit;
global $product;
// Ensure visibility.
if ( empty( $product ) || ! $product->is_visible() ) {
return;
}
?>
<li <?php wc_product_class( '', $product ); ?>>
<div class="pt-woo-single-product-main">
<div class="pt-product-item">
<div class="pt-product-img-inner">
<?php the_post_thumbnail( 'techtrix-woo-medium', array( 'class' => 'img-fluid' ) ); ?>
<?php woocommerce_show_product_loop_sale_flash(); ?>
<div class="pt-product-overlay">
<div class="pt-product-content">
<?php woocommerce_template_loop_add_to_cart(); ?>
</div>
</div>
</div>
<div class="pt-product-meta">
<div class="pt-product-info">
<a href="<?php the_permalink(); ?>"><?php woocommerce_template_loop_product_title(); ?></a>
<div class="pt-grid-rating"><?php woocommerce_template_loop_rating(); ?></div>
</div>
<div class="pt-grid-price"><?php woocommerce_template_loop_price(); ?> </div>
</div>
</div>
</div>
</li>