Adding a custom field in the receipt

Hi,
Currently the product table on the receipt only includes product name, qty and price. Can I add a custom field in there? If yes, whats the best way to do it?
On the order template it looks like following function is responsible for printing out the whole item table:
{{ _self.line(Sale.isTaxInclusive,Line,parameters,options) }}
How can I pass a custom field to this if it's allowed?
1 comment
Hey @coacine,
The Custom Field is not available via the Receipt API (which generates the HTML). You'll need to use Javascript to make an AJAX request to update the relevant line.
Adrian Samuel
Software Developer
Lightspeed HQ