Reply To: Show Product SKU on Shop Page.

Home Page Forums Porto | Multi-Purpose & WooCommerce Theme Show Product SKU on Shop Page. Reply To: Show Product SKU on Shop Page.

#747
Alex
Keymaster
      Expired

      Hello.

      Please copy and paste the below given code to the functions.php file in Child Theme and it will resolve your issue.

      
      add_action( 'woocommerce_after_shop_loop_item_title', 'custom_after_title' );
      function custom_after_title() {
        global $product;
        if ( $product->get_sku() ) {
          echo $product->get_sku();
        }
      }
      

      Regards, from Andy.