Select Page

Remove WooCommerce Breadcrumbs

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...

How to grey out ‘out of stock’ products in WooCommerce

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;...

Add search to main WordPress menu

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; }...

Change all PrestaShop products to show price

Using this command you can easily set all products to show the price. UPDATE `ps_product` SET show_price =1 WHERE show_price =0 UPDATE `ps_product_shop` SET show_price =1 WHERE show_price =0