If I want to display the featured image of a woocommerce product from my wordpress website, how would I construct the code using Tangible Loops and Logic?
Below is my code which has the error with the product image not displaying next to the looped information.
These fields should work for any custom post type with a featured image.
If you don’t see any field values, it’s possible that a WooCommerce product’s featured image is stored in a different way than normal custom post types. They’ve been migrating a lot of their data into custom database tables, which require their own specific methods to access the fields.
We’re working on better WooCommerce integration in the L&L Pro plugin, which we’ve started documenting here: WooCommerce | Loops & Logic. It provides additional loop types and fields which often use WooCommerce-specific methods to get the data.
By the way, your code example has a duplicated loop query inside another.