Skip to main content

I have a custom receipt, but the invoice information is not displayed

This article explains how to ensure that Comply information is correctly displayed on Shopify POS receipts.

For Comply to function properly, it is essential that the sales-receipt.liquid file contains a specific code block.

This code must NOT be modified or removed, as it is required for Comply to insert information into the receipt.

Required code

Inside the sales-receipt.liquid file, within the <body> section, you must have exactly the following lines:

<body>
{% # This section is used by POS UI extensions to show information for the header %}
{% render 'extensions', extension_blocks: extension_blocks.header %}

// customer code

{% # This section is used by POS UI extensions to show information for the footer %}
{% render 'extensions', extension_blocks: extension_blocks.footer %}
</body>

What does this code do?

This code allows Comply to automatically add information to the receipt.

It defines two areas:

  • Top section (header)

  • Bottom section (footer)

Very important

  • Do not remove these lines

  • Do not modify their structure

  • Do not change the names (extension_blocks.header / extension_blocks.footer)

If these elements are modified, Comply will not be able to display information on the receipt.


Where can you make changes?

You can only modify:

  • Your custom receipt content (// customer code)

  • Styles or text outside of these blocks

Did this answer your question?