Main issue: A merchant wants POS email receipts to vary by POS location, including showing each location’s address. Shopify POS currently supports only one email receipt template across locations.
Key guidance:
Native limitation: Different email receipt templates per location are not supported.
Workaround 1 (recommended): Add location-specific content in the “Email Receipt Footer” at Settings > Locations for each location (e.g., address and unique identifier). This yields different footers per location within the single template.
Workaround 2 (cautioned): Use JavaScript/jQuery in the email template to adjust content based on the footer’s unique identifier. However, many email clients block or limit JavaScript, so this can be unreliable and requires thorough testing. (A code-based approach was suggested conceptually, but details are not provided in the thread.)
Alternative: For robust, multi-template control, consider a custom app built by a Shopify Expert.
Outcome/status: The merchant will test the workaround with their development team. No confirmed implementation results or final resolution yet; discussion remains open.
Although Shopify POS doesn’t natively support different email receipt templates based on POS locations, there is a workaround you can use to achieve this:
Create unique footer content for each location: From your Shopify admin, go to ‘Settings’ > ‘Locations’. Then, click on each location and add the respective address and any other relevant information in the ‘Email Receipt Footer’ field. This will ensure that the footer content in the email receipt will be different for each location.
Use JavaScript/jQuery to manipulate the content: While this solution isn’t ideal, you can use JavaScript or jQuery to modify the email receipt’s content based on the location information provided in the footer. This will require some coding knowledge and might not work in every email client since some clients disable JavaScript.
Here’s a basic example of how you might use JavaScript/jQuery to achieve this:
Add a unique identifier for each location in the ‘Email Receipt Footer’ field, e.g., <!-- Location: Location1 -->.
In the email receipt template, add the following code snippet:
Keep in mind that this solution isn’t perfect, and you might face compatibility issues with certain email clients. Additionally, it’s essential to test this thoroughly to ensure it works as expected.
If you need more advanced customization or a more reliable solution, you may consider hiring a Shopify Expert to build a custom app that can handle multiple email receipt templates based on POS locations.
I hope this helps! Let us know if you have any questions or need further assistance.
I’m glad the information provided was helpful. Please feel free to reach out if you have any questions or need further assistance while working with your dev team. We’re always here to help.
Good luck, and I hope everything works out perfectly for your store!