use woocommerce shortcode in php code example
Example 1: shortcode woocommerce
[products limit="8" columns="4" category="hoodies, tshirts" cat_operator="AND"]
Example 2: woocommerce products shortcode
[products limit=" " columns=" " orderby=" "]