B2BKing Shortcodes

The plugin comes with the following shortcodes that you can add anywhere in your website:

Offers #

[b2bking_offers] - Adds the offers page anywhere

[b2bking_offer id=1234] - Adds an individual offer anywhere on the site. For example you can use this to add an offer in a product's description, advertising a bundle that product is part of.

To get an offer's id, go to B2BKing -> Offers in the backend and click on the ID. The number in the URL (e.g. ?post=1234) is the id of the offer.

Purchase Lists #

[b2bking_purchaselists] - Adds the purchase lists page anywhere

Wholesale Order Form #

[b2bking_bulkorder] - Adds the bulk order form anywhere

Quick Order via CSV Form #

[b2bking_csvorder] - Adds the CSV order form anywhere

Registration Form #

[b2bking_b2b_registration] - Adds Login + Registration forms

In order to see the registration form, and not just login, the following setting needs to be enabled: In WooCommerce->Settings->Accounts you need to enable “Allow customers to create an account on the “My account” page”.

[b2bking_b2b_registration_only] - Adds Registration form only

The 2 registration shortcodes also support parameters. For more details about using these shortcodes and what parameters you can use, see our article on How to Separate B2B and B2C Registration.

Powered by BetterDocs