You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
<?php
|
|
global $product;
|
|
|
|
|
|
do_action( 'woocommerce_before_shop_loop_item' );
|
|
?>
|
|
|
|
<div class="product-element-top">
|
|
<a href="<?php echo esc_url( get_permalink() ); ?>" class="product-image-link">
|
|
<?php
|
|
/**
|
|
* woocommerce_before_shop_loop_item_title hook
|
|
*
|
|
* @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 woodmart_hover_image(); ?>
|
|
<div class="wd-buttons wd-pos-r-t<?php echo woodmart_get_old_classes( ' woodmart-buttons' ); ?>">
|
|
<?php woodmart_enqueue_js_script( 'btns-tooltip' ); ?>
|
|
<?php woodmart_add_to_compare_loop_btn(); ?>
|
|
<?php woodmart_quick_view_btn( get_the_ID() ); ?>
|
|
<?php do_action( 'woodmart_product_action_buttons' ); ?>
|
|
</div>
|
|
|
|
<div class="wd-add-btn wd-add-btn-replace<?php echo woodmart_get_old_classes( ' woodmart-add-btn' ); ?>">
|
|
<?php if ( woodmart_loop_prop( 'product_quantity' ) ): ?>
|
|
<?php woodmart_product_quantity( $product ); ?>
|
|
<?php endif ?>
|
|
|
|
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
|
|
</div>
|
|
<?php woodmart_quick_shop_wrapper(); ?>
|
|
</div>
|
|
<?php
|
|
echo woodmart_swatches_list();
|
|
?>
|
|
<?php
|
|
/**
|
|
* 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();
|
|
?>
|
|
|
|
<?php
|
|
/**
|
|
* 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 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 ?>
|
|
|