Home › Forums › Basel support forum › Add size info to shop product archive page › Reply To: Add size info to shop product archive page
Divites
Hi,
thx for your prompt solutions.
I have added the code, but it displays above the product image. please see: http://designbadkamers.divi-test.nl/product-categorie/baden/
I placed the code here on the 9th line:
<?php
global $product, $woocommerce_loop;
$timer = basel_get_opt( ‘shop_countdown’ );
// Sale countdown
if ( ! empty( $woocommerce_loop[‘timer’] ) )
$timer = true;
?>
<?php basel_show_dimensions() ?>
<?php do_action( ‘woocommerce_before_shop_loop_item’ ); ?>
<div class=”product-element-top”>
“>
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash – 10
* @hooked basel_template_loop_product_thumbnail – 10
*/
do_action( ‘woocommerce_before_shop_loop_item_title’ );
?>
<?php basel_hover_image(); ?>
<div class=”basel-buttons”>
<?php if( class_exists(‘YITH_WCWL_Shortcode’)) basel_wishlist_btn(); ?>
<?php basel_compare_btn(); ?>
<?php basel_quick_view_btn( get_the_ID(), $woocommerce_loop[‘quick_view_loop’] – 1, ‘main-loop’ ); ?>
</div>
</div>
<?php
basel_swatches_list();
?>
<?php
/**
* woocommerce_shop_loop_item_title hook
*
* @hooked woocommerce_template_loop_product_title – 10
*/
do_action( ‘woocommerce_shop_loop_item_title’ );
?>
<div class=”wrapp-swap”>
<div class=”swap-elements”>
<?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’ );
?>
<div class=”btn-add”>
<?php do_action( ‘woocommerce_after_shop_loop_item’ ); ?>
</div>
</div>
</div>
<?php if ( $timer ): ?>
<?php basel_product_sale_countdown(); ?>
<?php endif ?>
Should I place it somewhere else?
Thx!