48 Snippets
10+ Favourites
10+ Downloads

WWPP - Show retail reference price including tax for specific wholesale roles only

// Show retail reference price including tax for specific wholesale roles only // Requires: WWPP Settings…

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…

keep retail prices showing including tax when wholesale price is set to show excluding tax

Display Prices in the Shop set to Excluding tax under Wholesale → Settings → Wholesale Prices…

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…

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…

WWPAY - Change Order status (On Hold → Processing)

/** * Plugin Name: Wholesale Payments — send $0-today plan orders to Processing * Description: Temporary…

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,…

WWS - Disable and Redirect the Wholesale Suite Dashboard

By applying the following code, you will: 1. Remove the Dashboard submenu item from the sidebar.…

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

/** * Customize the Admin "New Order" email subject for wholesale customers only */ add_filter( 'woocommerce_email_subject_new_order',…

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',…

1 2 3 4