Shopr: How to show products from WooCommerce

It is possible to display products from WooCommerce in any Shopr widget/shortcode.

WooCommerce products in a widget

When setting up a Shopr Carousel widget, simply select the WooCommerce Product Category from this option:

WooCommerce products in a shortcode

To include products from a WooCommerce category in a shortcode, simply add a "wc_category" value. For example, the following will show products from a category in WooCommerce named "books". The value should be the "slug" of the product category as shown below:

After getting the category slug, you can use it in your shortcode.

Carousel layout:

[shopr_shopthepost wc_category="books"]

Grid layout:

[shopr wc_category="books"]

Was this article helpful?