Solved

Customizing POS Email Receipts with different POS locations.

Lilyha
Shopify Partner
8 0 0

Hi Everyone,

Currently Shopify could only send one version/template of POS receipt VIA EMAIL regardless of POS location.

I would like to ask if it's possible to customize for:
1. The ability to send a different receipt ON EMAIL (with the location address) depending on the location of transaction from different POS.
2. Customise POS email receipts with different POS locations.

Hope someone can help.

Thanks

Accepted Solution (1)

SpeedUpguru
Shopify Partner
5 2 1

This is an accepted solution.

Hi there!

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:

  1. 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.

  2. 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:

  1. Add a unique identifier for each location in the 'Email Receipt Footer' field, e.g., <!-- Location: Location1 -->.

  2. In the email receipt template, add the following code snippet:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {
    var footerContent = $('body').html(); // Get the email content
    var locationIdentifier = "Location1"; // Change this to match the unique identifier you added in the footer

    if (footerContent.includes("<!-- Location: " + locationIdentifier + " -->")) {
      // Customize the email receipt for Location1
      // Example: Change the heading
      $('h1').text('Welcome to Location1 Store');
      
      // Add more customization as needed
    }
    
    // Add more conditions for other locations and their customizations
  });
</script>

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.

 

We wish you good sales!

SpeedUp.guru team

 

We wish you good sales!
SpeedUp Guru team

View solution in original post

Replies 3 (3)

SpeedUpguru
Shopify Partner
5 2 1

This is an accepted solution.

Hi there!

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:

  1. 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.

  2. 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:

  1. Add a unique identifier for each location in the 'Email Receipt Footer' field, e.g., <!-- Location: Location1 -->.

  2. In the email receipt template, add the following code snippet:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {
    var footerContent = $('body').html(); // Get the email content
    var locationIdentifier = "Location1"; // Change this to match the unique identifier you added in the footer

    if (footerContent.includes("<!-- Location: " + locationIdentifier + " -->")) {
      // Customize the email receipt for Location1
      // Example: Change the heading
      $('h1').text('Welcome to Location1 Store');
      
      // Add more customization as needed
    }
    
    // Add more conditions for other locations and their customizations
  });
</script>

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.

 

We wish you good sales!

SpeedUp.guru team

 

We wish you good sales!
SpeedUp Guru team
Lilyha
Shopify Partner
8 0 0

Hi SpeedUp guru Team, 
Thanks for very specific answers for my issues. I will try with my dev team and see if it works well, that would be perfect.

Thank you very much

Best regards

SpeedUpguru
Shopify Partner
5 2 1

You're most welcome!

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!

 

SpeedUp Guru Team

We wish you good sales!
SpeedUp Guru team