Example of a Loop within a loop using Woocommerce categories and it’s related products. Loops through the categories, shows the product category image, then shows three products related to that category. As an added bonus, there is also a query to only pull the products with the Advanced Custom Field of, “yes” when referring to “Show on Homepage Slider?” (feature_on_homepage_slider)
This example is just the flexslider loop. It does not show how to implement the flexslider.