Woocommerce Wordpress

Product Additional Information tab is not displaying

Additional Information tab is displayed by woocommerce in case product weight or product dimesions are set to a non-zero value. In case there is still need to display product addtional information tab then add the below code to your themes functions.php file. add_filter(‘wc_product_enable_dimensions_display’,’show_addtional_info_tab_always’); function show_addtional_info_tab_always(){ return true; } It generally needed when it requires to […]

Web Development Woocommerce Wordpress

How to implement category pagination in woocommerce

Update the below code in yourtheme/woocommerce/archive-product.php file to get pagination on category listing on default product page. ========================= <?php if ( ! defined( ‘ABSPATH’ ) ) { exit; // Exit if accessed directly } get_header( ‘shop’ ); ?> <?php if(is_shop()){ ?> <div class=””> <?php $base_thumb = wc_get_page_id( ‘shop’ ); $thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $base_thumb ), “full” ); […]