WooCommerce product shortcodes

Welcome to Product Filter for WooCommerce short tutorial guide.

This tutorial covers how to use WooCommerce shortcodes to display filters and products lists.

The [products] shortcode is one of WooCommerce’s most robust shortcodes and the Product Filter fully supports it.

To get the Product Filter to appear on the WooCommerce shortcode you only need to add prdctfltr=”yes”

Shortcode Example:

[products prdctfltr="yes"]

Here are some of our parameters that can be used:

ParameterDescription
prdctfltr=”yes”When used, product filter will be used. PF will be shown on top of the shortcode. Possible options prdctfltr=”yes”, prdctfltr=”widget”, prdctfltr=”no”. When set to widget shortcode will work with the PF widget.
preset=””Use preset slug to override the default filter setup
pagination=”yes”Set pagination. Accepted arguments yes, no, loadmore, infinite  Load more and inifinite paginations need  ajax=”yes”  to work!.
ajax=”yes”Use AJAX load on the current shortcode.

Shortcode Examples:

[products prdctfltr="yes" preset="test"]  
[products prdctfltr="yes" ajax="yes" pagination="loadmore"] 

For the complete list of parameters, that WooCommerce allows you to use, please refer to WooCommerce Documentation.

Read more Product Filter for WooCommerce tutorials to learn more. Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *