How to link: "(Line Item) Commerce Line Item: Title (Product)" to product display
If we add a product to cart via product display page, than we have "Commerce Line Item: Display path" populated with the path to display node. So we can link it in the cart view (by overriding field output and by using replacement tokens).
This is fine and works ok.
Now thing get messy (in my opinion) when we add product to cart using different page than product display.
I get that if you add product to cart via view, in field settings of "add to cart" you can select a box to add the source view path to commerce line item display path, that makes products in cart link to views etc. if the view shows random products, or a lot of them, then this behavior is.. just wrong.
Question:
Is there a good way to make cart line item ALWAYS link to product display? With or better without using custom php field in this view?
ps. I assume there can be a problem, if single product is referenced by multiple product displays.. (i assume this may happen in some cases or when using bundles or so..)
Help would be appreciated ;)
pps. this question was originally posted here: https://drupal.org/node/1542330#comment-8279727