WooCommerce Wholesale Prices Premium adds several fields to your product edit screens, including Wholesale Minimum Order Quantity, Wholesale Order Quantity Step, and Product Quantity Based Wholesale Pricing. If your store does not use one or more of these features, the snippet below lets you hide the relevant sections from the product backend.

Prerequisites
- WooCommerce Wholesale Prices Premium installed and active
- Access to your child theme’s functions.php file or a code snippet plugin (such as Code Snippets)
How to hide the settings
Copy the snippet below, then add it to your child theme’s functions.php file or paste it into a code snippet plugin. Comment out or delete the block for any setting you want to keep visible.
add_action('admin_head', 'hide_wws_product_settings');
function hide_wws_product_settings() {
echo '
/*Wholesale Minimum Order Quantity*/
.wholesale-minium-order-quantity-options-group{
display:none!important;
}
/*Wholesale Order Quantity Step*/
.wholesale-order-quantity-step-options-group{
display:none!important;
}
/*Product Quantity Based Wholesale Pricing*/
.product-quantity-based-wholesale-pricing{
display:none!important;
}
';
}
This hides the selected sections on the product edit screen for all admin users. Save the file (or activate the snippet) and reload a product edit page to confirm the change.
Troubleshooting
The section is still visible after saving the snippet. Clear any server-side or page caches, then reload the product edit screen. If the section is still present, confirm the snippet is active and that there are no PHP errors in your site’s error log.
The CSS hides the section for simple products but not variable products. The snippet targets both simple and variable product templates using the same class names, so both should be affected. If a variable product row is still visible, check that the snippet was saved correctly and that no other plugin is adding a conflicting style.
Need Help?
If you have a question or run into any issues, we’re here to help.
- Premium users: Open a support ticket
- Free users: Visit our community forum
