1. Startseite
  2. Wissensdatenbank
  3. WooCommerce Großhandelspreise Premium
  4. Backend
  5. So blenden Sie nicht verwendete Großhandelspreiseinstellungen im Produkt-Backend aus

So blenden Sie nicht verwendete Großhandelspreiseinstellungen im Produkt-Backend aus

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>';
}
War dieser Artikel hilfreich?

Verwandte Artikel

Benötigen Sie Unterstützung?

Können Sie die Antwort, die Sie suchen, nicht finden?
Support kontaktieren
Kauf abschließen