Home › Forums › WoodMart support forum › You have activated your purchase code more than 3 times. You are allowed to do t › Reply To: You have activated your purchase code more than 3 times. You are allowed to do t
Bogdan Donovan
Hi,
As we pointed out earlier, this hover looks different in the product carousels. Here (https://www.olhut.com/product/sr-dc/) on the product page you have a related products carousel. You need to change it to a grid view. This can be done in the Theme Settings -> Product page -> Show/Hide elements -> Related product view.
In order to change the product hover, please install the child theme and add this code to the file at woodmart-child/woocommerce/content-product-base.php
<?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 if( class_exists('YITH_WCWL_Shortcode')) woodmart_wishlist_btn(); ?></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>
It will reset some theme styles, and after that, we can add new ones.
Regards