To display products assigned as featured, you can use the [show_featured_products] shortcode.
You can use some attributes with the shortcode:
- products_limit – to limit the number of displayed featured products (default is 100, like in the [show_products] shortcode)
- archive_template – to choose the template to display featured products (default is the selection in product settings)
- per_row – number of products per row
- empty – text that shows up when there are no products to display
- header – the featured product’s header – shows only if the list is not empty (default is ‘Featured Products’)
Please note that it will show nothing if you don’t assign any featured products, unless you set the empty attribute.
The same list can be created with [show_products featured=1], which also accepts all other show_products attributes. See All Product Catalog Shortcodes for more shortcodes.
