Set image field link to product display node not product entity
I have created a View to display products in grid format through adding a Views relationship - product reference. Each product grid contains three fields: content title, product image and product price.
Both content title and product image should link to the actual product display node. Content title is simple. But if link product image field to the content, it's not the node, but product entity which only administrative users are able to see.
To overcome this, I have added a hidden nid field and ordered it before product image field, and rewrite the result of product image field by "output this field as a link" with link path "node/[nid]". This enables the image field to link to the product display node and takes care of URL alias as well.
Is there a better way to do it?