All things Shopify and commerce
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
Solved! Go to the solution
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:
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:
<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!
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:
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:
<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!
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
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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024