48 Snippets
10+ Favourites
10+ Downloads

Hide Price & Add to Cart for Non Logged in Users for Specific Products

This code snippet allows you to hide the price and 'Add to Cart' button for users…

How To Change The Add To Cart Label

Change the 'Add To Cart' button text to custom text like 'Add To Order' on wholesale…

Make Product Non Purchasable for Wholesale Customer if Product Stock is Less Than Certain Amount

This snippet will allow you to make a product unavailable for purchase by wholesale customers if…

Override Wholesale Price Text Per Wholesale Role

This snippet allows you to display specific wholesale price text for each of your wholesale roles

WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile

This snippet will add a resend email button under User profile.

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

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

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

Remove Express Checkout Button for Wholesale Users

Removes the Apple Pay and Google Pay buttons for Wholesale Users

Customize the Completed Order Email Template Subject for Wholesale Customers

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

WWQ - Allow quoting out-of-stock products

add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…

WC Product Bundle Integration Fix for MOQ incorrectly enforced on product bundle child items

/** * Fix 1: Product page — prevent WWPP from overriding the quantity input args for…

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

1 2 3 4