SKU for each product on every page

You can use the woocommerce_single_product_summary hook,

so code will be like

add_action( 'woocommerce_single_product_summary', 'product_sku' ); function product_sku(){ global $product; echo '<div class="sku-product">' . $product->sku . '</div>'; }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)