I was trying to link the product name in the shipment mail to the product on our page, so the customer can click on the product name in the shipment mail.
I have tried with
but getProduct() returns null. The same code worked for the order confirmation mail.
Does anybody know how I can get the product URL?