1. Casa
  2. Knowledge Base
  3. WooCommerce Prezzi all'ingrosso Premium
  4. Backend
  5. Come Nascondere le Impostazioni dei Prezzi all'Ingrosso Non Utilizzate nel Backend del Prodotto

Come Nascondere le Impostazioni dei Prezzi all'Ingrosso Non Utilizzate nel Backend del Prodotto

Our WooCommerce Wholesale Prices Premium automatically adds a number of extra fields to your product edit screens which can take up quite a bit of room on the interface. For example, the Wholesale Minimum Order Quantity, Wholesale Order Quantity Step, and Product Quantity Based Wholesale Pricing fields.

These fields are here so you can properly configure the sales conditions for your product, however, some users might not be using one or more of these pricing features in their wholesale shop at all.

If you want to declutter/hide those unused wholesale price settings on the product backend, simply modify the snippet below to adjust which wholesale pricing feature you want to hide from your product settings. Then put it into your theme or child theme’s functions.php file. This will hide those features on the backend interface.

add_action('admin_head', 'hide_wws_product_settings');

function hide_wws_product_settings() {
echo '<style type="text/css">
/*Wholesale Minimum Order Quantity*/
.wholesale-minimum-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;
}
</style>';
}
Questo articolo è stato utile?

Articoli Correlati

Serve Supporto?

Non trovi la risposta che cerchi?
Contatta il Supporto
Completa il tuo acquisto