Buy B2BKing
$299 $199
Note: This article covers the Core (Free) version of B2BKing. The Pro version includes additional options and features.
Start by installing and activating the free B2BKing plugin. Go to Plugins → Add New and search for "B2BKing":
Whether you're creating new products or already have existing ones on your site, the process is the same. For this tutorial, let's say we have three standard WooCommerce products priced at $499, $200, and $150:
These are regular B2C prices visible to all users by default. What we want to do is give wholesale buyers a 10% discount across all products, without having to manually edit each one.
Go to B2BKing → Dynamic Rules and click "Create new rule":
Configure the rule with the following settings:
Make sure to also enable the "Discounted Price Becomes Sale Price" checkbox, which ensures the discount is reflected directly on product prices rather than only applied at checkout:
Save the rule once you're done.
Since we set the rule to apply only to B2B users, we need to make sure the relevant customers are assigned to the right group. You can do this on any user's profile page by scrolling down to "Customer Group":
Change the group to B2B and save the profile:
Log in as a B2B user and refresh the shop page. You'll see that every product now shows a 10% discount, calculated automatically:
By default, discounted products display a "Sale!" badge. If you'd like something more descriptive, you can enter a custom label in the "Discount name" field when configuring the rule:
For example, setting it to "B2B Discount" replaces the default sale badge with your custom text:
Powered by BetterDocs