I want to somehow get the product id from j2store and display the main image of each product in the article section each product.
In /templates/namira/html/com_content/article/default.php there are lines of codes which allow to display some content of the j2store product.
<div itemprop="articleBody"> <?php echo $this->item->text; ?> </div>
But how to alter this code to include also the main image of the product? something like:
I want to include the j2store product class.