Products
WooCommerce [products]
shortcode is a very robust shortcode which replaces many of the earlier WC shortcodes such as featured products, sale products, best selling products, recent products, products by attribute and top rated products. In turn, this shortcode can largely be replaced by new WooCommerce blocks as well.
[product]
and [products]
shortcode examples:
Single product by ID
<product id="99">
Single product by SKU
<product sku="Logo20x2red" columns="3">
Notes
Reducing the column count will increase the width of the product card.Products by IDs
<products ids="99, 31, 34, 47">
Products by SKUs
<products skus="prem, Logo20x2red, ship-it, patient-ninja" orderby="date" order="desc">