Currently the public link for an estimate or invoice exposes the line item with its price and SKU number regardless of the template used for that estimate or invoice.
This contradicts the customization of templates if the user wants to hide some info.
Please implement one of these options:
Remove the line item from the preview and include just the totals from the estimate/invoice.
Add a property for the user to select whether to show or hide the details of the invoice in the preview
This should be an easy implementation as you already have a toggle for hiding/showing the details on the page.