Wholesale Suite Team
Member since March 2023
Custom Tax Display Settings for Regular Prices by Specific Wholesale Roles
This code snippet will be applied to simple products on the single product page only
WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
WWLC - Default Wholesale Leads list to sort by registration date (newest first)
1. Navigate to your site: Go to your WP Admin dashboard. 2. Apply the snippet: Paste…
Enable quantity field on shop page
// Remove the default add to cart button remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); // Add custom…
WWPP - Restrict add-to-cart on specific products to a specific wholesale role only
How to use and configure this snippet: 1. Set your exact Role Key: In the snippet,…
Allow Shop Managers to edit and promote wholesale users.
/** * Allow Shop Managers to edit and promote wholesale users. */ function wws_add_shop_manager_user_editing_capability() { $shop_manager…
WWPP - Customize the admin "New Order" email subject for wholesalers
/** * Customize the Admin "New Order" email subject for wholesale customers only */ add_filter( 'woocommerce_email_subject_new_order',…
Show Certain Products to Certain Wholesale Customers Only
How to use: 1. Do not tag normal/default products. 2. Tag only “special” products with "wholesale-special".…
WWPP – Customize the admin “New Order” email subject for wholesalers v1.1
How to apply: 1. Replace the previous snippet with this one in your functions.php or Code…
Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
Fix Wholesale Product Visibility Compatibility with Bricks Page Builder
What this does: - Bricks Products widget now gets its product list filtered through WWPP_Query::pre_get_posts_arg, the…
WWOF - Hide the "In Stock Amount" column for non-wholesale customers
To hide a different column, swap the "elementClass" in line 29. All available element classes in…