Besides the economic and environmental advantages of washing, the items being washed will be sanitised if the sheepskin shampoo has antibacterial and disinfecting properties. Detergents containing enzymes, phosphates, peroxide, alkali or bleach…
add_filter('woocommerce_get_stock_html', 'custom_show_stock_for_warehouse_category', 20, 2); function custom_show_stock_for_warehouse_category($html, $product) { $protected_slug = 'warehouse'; // Check if product is in the "warehouse" category if (has_term($protected_slug, 'product_cat', $product->get_id())) { // Check if password is required (and not yet entered) for this category page if (post_password_required(get_queried_object_id())) { return ''; // Hide stock level if password not entered } else { return $html; // Show stock level if access granted } } return ''; // Hide stock for all other products }