A bulk order form is prevalent and useful in B2B commerce and e-commerce. It allows companies and users to order quickly, especially as companies often know exactly what they're looking for, are repeating an order, or know exactly what SKUs they're searching for.
B2BKing provides a wholesale, quick, bulk-order form that you can insert anywhere in the website. This form is also inserted by default in every user's "My Account" in WooCommerce.
The bulk order form is powered by a fast, instant AJAX-search. The user just searches for the product, and it instantly appears in the search box. After a quantity is inserted, the subtotal is instantly, automatically calculated.
The content of a bulk order form can either be added to cart or saved as a purchase list, for easy, fast access later. To learn more about purchase lists, check out the dedicated article in this documentation.
Update - April 2022: Wholesale order form themes have been introduced. Read more about these here.
The bulk order form in the My account section can be enabled or disabled in B2BKing's Settings panel.
To insert the form anywhere in the website, you can use this shortcode: [b2bking_bulkorder]
To use specific themes you can use the theme parameter:
You can exclude specific items by using the exclude parameter (this is only available for the cream and indigo themes).
[b2bking_bulkorder theme=cream exclude=432,983]
The exclude parameter also supports categories, by entering them as 'category_123', where 123 is the category ID. For example [b2bking_bulkorder theme=cream exclude=12,category_34] will exclude the product with ID 12, and all products that belong to the category with ID 34.
You can choose a specific category by mentioning its ID
[b2bking_bulkorder theme=cream category=123]
This will make the shortcode only show products from the category with ID 123
You can also select multiple categories by separating them with a comma:
[b2bking_bulkorder theme=cream category=123,332]
Another parameter you can use is the sortby parameter: this helps you control how items are sorted by default. The 3 options available are: atoz, ztoa, bestselling. The first 2 sort it alphabetically from a to z, or from z to a, while the last one puts the most sold items first.
[b2bking_bulkorder theme=cream sortby=bestselling]
The my account page uses the default [b2bking_bulkorder] shortcode, without any parameters. You may want to set certain parameters in order to choose specific categories, products, etc.
To do this, you can use the following code snippet:
$shortcode = '[b2bking_bulkorder]';
}, 10, 1);
You can modify the shortcode within the above snippet.
This code snippet can be added to functions.php or by using any snippets plugin.
Powered by BetterDocs