| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/woodmart/woocommerce/ |
Upload File : |
<?php
/**
* The template for displaying product content within loops
*
* @package woodmart
*/
global $product;
$action_classes = '';
$add_btn_classes = 'wd-add-btn-replace';
woodmart_enqueue_js_script( 'btns-tooltips' );
woodmart_enqueue_js_library( 'tooltips' );
if ( 'carousel' === woodmart_loop_prop( 'products_view' ) ) {
$action_classes .= ' wd-buttons wd-pos-r-t';
$add_btn_classes = 'wd-action-btn wd-style-icon wd-add-cart-icon';
} else {
$action_classes .= ' wd-bottom-actions';
}
do_action( 'woocommerce_before_shop_loop_item' ); ?>
<div class="wd-product-wrapper product-wrapper">
<div class="wd-product-card-bg content-product-imagin"></div>
<div class="wd-product-thumb product-element-top wd-quick-shop">
<a href="<?php echo esc_url( get_permalink() ); ?>" class="wd-product-img-link product-image-link" tabindex="-1" aria-label="<?php echo esc_attr( get_the_title() ); ?>">
<?php
/**
* Hook woocommerce_before_shop_loop_item_title.
*
* @hooked woodmart_template_loop_product_thumbnails_gallery - 5
* @hooked woocommerce_show_product_loop_sale_flash - 10
* @hooked woodmart_template_loop_product_thumbnail - 10
*/
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
</a>
<?php
if ( 'no' === woodmart_loop_prop( 'grid_gallery' ) || ! woodmart_loop_prop( 'grid_gallery' ) ) {
woodmart_hover_image();
}
?>
<div class="wrapp-swatches"><?php echo woodmart_get_thumbnails_gallery_pagin(); ?><?php echo woodmart_swatches_list(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?><?php woodmart_add_to_compare_loop_btn(); ?></div>
</div>
<div class="product-element-bottom product-information">
<?php
/**
* Trigger woocommerce_shop_loop_item_title hook.
*
* @hooked woocommerce_template_loop_product_title - 10
*/
do_action( 'woocommerce_shop_loop_item_title' );
?>
<?php
woodmart_product_categories();
woodmart_product_brands_links();
woodmart_product_sku();
woodmart_stock_status_after_title();
?>
<div class="product-rating-price">
<div class="wrapp-product-price">
<?php
/**
* Trigger woocommerce_after_shop_loop_item_title hook.
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<?php echo wp_kses_post( woodmart_get_product_rating() ); ?>
</div>
</div>
<?php if ( 'carousel' === woodmart_loop_prop( 'products_view' ) ) : ?>
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
<?php endif; ?>
<div class="wd-product-card-hover fade-in-block wd-scroll">
<div class="hover-content wd-more-desc">
<div class="hover-content-inner wd-more-desc-inner">
<?php
if ( 'excerpt' === woodmart_get_opt( 'base_hover_content' ) ) {
echo do_shortcode( get_the_excerpt() );
} elseif ( 'additional_info' === woodmart_get_opt( 'base_hover_content' ) ) {
wc_display_product_attributes( $product );
}
?>
</div>
<a href="#" rel="nofollow" class="wd-more-desc-btn" aria-label="<?php esc_attr_e( 'Read more description', 'woodmart' ); ?>"></a>
</div>
<div class="<?php echo esc_attr( $action_classes ); ?>">
<div class="wrap-wishlist-button"><?php do_action( 'woodmart_product_action_buttons' ); ?></div>
<div class="wd-add-btn <?php echo esc_attr( $add_btn_classes ); ?>">
<?php do_action( 'woodmart_add_loop_btn' ); ?>
<?php if ( 'carousel' !== woodmart_loop_prop( 'products_view' ) ) : ?>
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
<?php endif; ?>
</div>
<div class="wrap-quickview-button"><?php woodmart_quick_view_btn( get_the_ID() ); ?></div>
</div>
<?php if ( woodmart_loop_prop( 'progress_bar' ) ) : ?>
<?php woodmart_stock_progress_bar(); ?>
<?php endif ?>
<?php if ( woodmart_loop_prop( 'timer' ) ) : ?>
<?php woodmart_product_sale_countdown(); ?>
<?php endif ?>
</div>
</div>
</div>