47 Snippets
10+ Favourites
10+ Downloads

Grant Wholesale Lead Approval for a Certain User Role

Allow other user roles e.g. "Editor" to "Approve" or "Reject" wholesale applications from the WP Dashboard…

WWLC - Route logout through home URL to prevent exposing the hidden login path

/** * Route logout through home URL to prevent exposing the hidden login path. */ add_filter(…

Exclude Wholesale Customers from receiving the PDF Invoice

Integration with the PDF Invoices & Packing Slips for WooCommerce plugin by WP Overnight.

WWLC - Sync the Wholesale Lead Data to Klaviyo

Here's how to integrate your WooCommerce Wholesale Lead Capture registration form with Klaviyo so that new…

Add Wholesale Order Form Favourites Button Functionality To WooCommerce Single Product Pages

Works hand in hand with the WooCommerce Wholesale Order Form plugin to provide product favouriting functionality…

WWPP & Elementor - Show correct wholesale prices in the Elementor side cart

/** * WWPP & Elementor: show correct wholesale prices in Elementor side cart. */ add_filter( 'woocommerce_cart_item_price',…

Add custom text to WooCommerce Email Templates for Wholesale Customers

If you want to place content elsewhere in the email, swap the hook: woocommerce_email_before_order_table: Above the…

WWQ - Hide Add to Quote button from regular customers

add_filter( 'wws_wq_quote_button_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_cart_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_checkout_html', 'wwq_restrict_quote_button_to_wholesale' ); function wwq_restrict_quote_button_to_wholesale( $button_html )…

Remove Express Checkout Button for Wholesale Users

Removes the Apple Pay and Google Pay buttons for Wholesale Users

WWPP - Hide Tax label on Cart/Checkout for wholesale customers

add_filter( 'woocommerce_countries_tax_or_vat', function( $label ) { if ( ! ( is_cart() || is_checkout() ) ) {…

Customize the Completed Order Email Template Subject for Wholesale Customers

More info at: https://woocommerce.com/document/configuring-woocommerce-settings/emails/#custom-email-templates

1 2 3 4