How to display MSRP / Recommended Retail Price to B2B Users | Show Both B2B and B2C Prices

You may want to show both the retail and wholesale price to your B2B buyers. There are two ways you can approach this in B2BKing:

Show Retail and Wholesale Prices Side-by-Side #

To do this, go to B2BKing -> Settings -> Other -> and enable Show B2C price to B2B users.

Show B2C price to B2B users setting

The result is that the plugin will show prices like this on the product page:

Price display on the frontend.

The retail price is the regular price of the product. This is the configuration of the above product:

Backend price configuration

To change the text for "Retail Price" and "Wholesale Price", you can go to B2BKing -> Settings -> Language & Text:

Text settings for price display

Add Prices to the Information Table. #

Another option that can be used is to add the retail price (alongside any other information) through the plugin's information table feature.

Here's an example of how this can be configured:

On the frontend, it will look like this:

How to display the retail price with / without tax #

If the B2B price is without tax and you want to show the retail price with tax, you can add this PHP code snippet to your site:

add_filter('b2bking_both_prices_retail_adjust_tax', '__return_false');

Alternatively, if the retail price is with tax and you'd like to show it without, add the following snippet instead:

add_filter('b2bking_both_prices_retail_adjust_tax', '__return_true');

Powered by BetterDocs