How to add a (second) custom sku field to WooCommerce products?
问题 We needed another field in our products for Prod ref/Cat numbers and I found the bit of code below which works perfectly. I now need to add a second field for Nominal Codes used by the accountants software. I tried using the below code again, adjusted for the new field, but it didn't work. function jk_add_custom_sku() { $args = array( 'label' => __( 'Custom SKU', 'woocommerce' ), 'placeholder' => __( 'Enter custom SKU here', 'woocommerce' ), 'id' => 'jk_sku', 'desc_tip' => true, 'description'