by Nick | Nov 18, 2016 | Code
Add Advanced Custom Field below the Woocommerce product title called ‘strapline’ on the product category page. You can then style second-tile class to make it look different. <?php //add cubtitle under product name function nssecondtitle() { ?>...
by Nick | Nov 18, 2016 | Code
This will move the WooCommerce long description, additional information and reviews to the right hand column under the add to cart button. <?php // Move product tabs remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs',...
by Nick | Jul 18, 2016 | Code
Add this to your functions file to remove WooCommerce breadcrumbs. You can then use something like ‘Yoast’ to add breadcrumbs to all pages/posts and products. <?php //remove woo breadcrumb add_action( 'init', 'jk_remove_wc_breadcrumbs' ); function...
by Nick | Mar 18, 2016 | Code
Add this to your functions files to grey out ‘out of stock’ products in WooCommerce //grey out out of stock products function grey_out_variations_when_out_of_stock( $grey_out, $variation ) { if ( ! $variation->is_in_stock() ) return false; return true;...
by Nick | Jan 18, 2016 | Code
Add this to your functions file to add search to the main menu of your website. <?php //add search to menu function se_add_search_box_to_menu( $items, $args ) { if ( $args->theme_location === 'main' ) return $items . get_search_form(); return $items; }...
Recent Comments