How is the 'display path' is built when the Cart view is rendered?
Why would it not be rendering some display path URLs?
I'm using a modified version commerce_add_to_cart_extras module whereby I'm trying to link the line item to the product display node by customizing the
display path. I can see it being added correctly when I inspect the
$line_item object in save function of
CommerceLineItemEntityController. But the line items in my cart still aren't linked and when I output the display path as a field in the view, it's empty.
If it would help, I can add the debug print I captured via devel's
dd() function of the
$line_item or my code but they will make the post rather long so I've left them out for now.