Home › Forums › WoodMart support forum › Strange Look on My Shop and Product Category Page › Reply To: Strange Look on My Shop and Product Category Page
September 9, 2019 at 6:43 am
#142705
Bogdan Donovan
Keymaster
Hi,
We have updated Child theme code. Try to replace the previous child theme code to this one.
<?php
global $product;
do_action( 'woocommerce_before_shop_loop_item' ); ?>
<div class="content-product-imagin"></div>
<div class="product-element-top">
<a href="<?php echo esc_url( get_permalink() ); ?>" class="product-image-link">
<?php
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
</a>
<?php woodmart_hover_image(); ?>
<div class="wrapp-swatches"><?php echo woodmart_swatches_list();?><?php woodmart_compare_btn(); ?></div>
<?php woodmart_quick_shop_wrapper(); ?>
</div>
<div class="product-information">
<?php
do_action( 'woocommerce_shop_loop_item_title' );
?>
<?php
woodmart_product_categories();
woodmart_product_brands_links();
?>
<div class="product-rating-price">
<div class="wrapp-product-price">
<?php
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
</div>
</div>
<div class="fade-in-block">
<div class="hover-content">
<div class="hover-content-inner">
<?php
if ( woodmart_get_opt( 'base_hover_content' ) == 'excerpt' ) {
the_excerpt();
}else{
wc_display_product_attributes( $product );
}
?>
</div>
</div>
<div class="woodmart-buttons-alt">
<div class="wrap-wishlist-button"><?php do_action( 'woodmart_product_action_buttons' ); ?></div>
<div class="woodmart-add-btn"><?php do_action( 'woocommerce_after_shop_loop_item' ); ?></div>
<div class="wrap-quickview-button"><?php woodmart_quick_view_btn( get_the_ID() ); ?></div>
</div>
<?php if ( woodmart_loop_prop( 'timer' ) ): ?>
<?php woodmart_product_sale_countdown(); ?>
<?php endif ?>
</div>
</div>
Regards