Check out example codes for "woocommerce products shortcode". It will help you in understanding the concepts better.

Code Example 1

[products limit=" " columns=" " orderby=" "]

Code Example 2

[products limit="8" columns="4" category="hoodies, tshirts" cat_operator="AND"]

Code Example 3

[product_categories number="0" parent="0"]

Learn ReactJs, React Native from akashmittal.com