Shortcodes available on the Order Form

The WooCommerce Wholesale Order Form is and extremely slimline and efficient way to provide quick ordering tools for your WooCommerce products. We often find people want to expose them to more than just their wholesale customers!

To help facilitate this we have extended the default shortcode with a few extra options which will allow you to customise the look of your form.

The shortcode options currently include:

  • Hiding/showing the search box
  • Pre-searching & restricting the form to display products from certain categories
  • Pre-searching & restricting the form to display only specific products

Here’s what the shortcode that displays the order form looks like by default without any options:

[wwof_product_listing]

To show/hide the search box, simple include the “show_search” attribute. This can have a value of 0 to hide the search box or 1 to show it (leaving the attribute out shows the form by default).

[wwof_product_listing show_search=0]

To pre-search a category or categories and restrict the form to only those categories provided, use the “categories” attribute. This should contain a comma separated list of Product Category ID’s.

[wwof_product_listing categories="1,2,3,4,5"]

Similarly, to pre-search and restrict the form to a list of specific products provide a comma separated list of Product IDs with the products attribute.

[wwof_product_listing products="1,2,3,4,5"]

You can also combine attributes however you like, but note that restrictions will restrict as much as possible (so if you provide products that don’t don’t appear in the category you specified then they will not show).

[wwof_product_listing show_search=0 categories="5" products="1,2,3"]

eg. If products 1 & 2 do not have the category 5, but 3 does, then only product 3 will show.

Also note that values provided in both the “categories” and “products” attributes have a higher precedence than the settings under WooCommerce->Settings, Wholesale Ordering, Filters settings area meaning that if you provide it, some of these restricted products or categories would show on your form.

To retrieve the ID of a category:

Simply navigate to the edit screen for that Product Category and read the URL:

Retrieve Product Category ID From URL

To retrieve the ID of a product:

Navigate to the edit screen for that Product and read the URL:

Retrieve Product ID From URL

in WooCommerce Wholesale Order Form

Solve The Big Three Problems With Wholesaling In WooCommerce

Add wholesale pricing to products   Streamline your ordering   Register & manage wholesale customer

Explore The Plugin Suite  

[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']