Home WooCommerce Tutorials Standard Post

Standard Post

Adjust WooCommerce Product Page SKU Position

By default, the WooCommerce product SKU is displayed at the bottom of the product short description. If you want to adjust it to appear below the title, you can use the following code. // Adjust SKU display position https://blog.naibabiji.com/woocommerce/reordering-sku…

Posted on July 7, 2021 About 1 minute read

By default, WooCommerce product SKU is displayed at the very bottom of the product brief introduction. If you want to move it to display below the title, you can achieve this with the following code.

// 调整SKU显示位置 https://blog.naibabiji.com/woocommerce/reordering-sku.html
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 10 );

Add the above code to your Theme's functions file and save it.

2/5 - (3 votes)
Previous How to add an inquiry button below the WooCommerce shopping button? Continue reading content around the same timeline. Next Method for WordPress to Require Entering a Password to Download Attachment Resources View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: