How to show a product from a field entry I'm trying to bring in recommended products for adding to a bigger purchase. I set up a simple matrix but can't seem to figure out how to pull product information. This is what I have so far, it throws no errors, but it also gives nothing.

{% for block in product.recommendProduct %}
    {% set i = i + 1 %}
       &lt;div&gt;
           {% set image = block.chooseProduct.mainProductImage.first() %}
            &lt;img src="{{ image.getUrl('productListing') }}"&gt;
            &lt;p&gt;{{ block.chooseProduct.title }}&lt;/p&gt;
       &lt;/div&gt;
{% endfor %}
This should work:

{% set image = block.chooseProduct.first().mainProductImage.first() %}


Explanation:
your field handle in your product is called recommendProduct (matrix) that contains a relation chooseProduct. Your block.chooseProduct is an object of type ElementCriteriaModel so in order to fetch the product you need to call the first() method (or something similar). So if you have multiple products in your chooseProduct field your code would look like this 

{% for block in product.recommendProduct %}
{% set i = i + 1 %}
   &lt;div&gt;
       {% for relatedProduct in block.chooseProduct %}
            {% set image = relatedProduct.mainProductImage.first() %}
            &lt;img src="{{ image.getUrl('productListing') }}"&gt;
            &lt;p&gt;{{ relatedProduct.title }}&lt;/p&gt;
       {% endfor %} 
   &lt;/div&gt;
{% endfor %}