All i want is to display the featured image of a product, and i want to display it in the category view and product details page too.
I underline, that the slider on the product page does not display it!
So i need a piece of code that i can add to the product page to display the featured image of a product – not the gallery!
I tried to add the <?php the_post_thumbnail(); ?> code inside single-product.php – does nothing!
I think category view is this: content-product.php (when i am on a category and listing the products that belong to it).
So all in all is simple: code to display featured image of a product.