Hi Shopify Community,
I’m looking for help with a Liquid code issue in our Shopify Order Confirmation email notification.
We operate multiple brands/locations using Shopify POS, and we would like the customer order confirmation email header/logo to automatically match the brand based on the Shopify POS location.
Our requirement
We currently have:
- Baggu Ashta District 8 → should display the BAGGU logo
- CORKCICLE locations → should display the CORKCICLE logo
The Baggu Ashta District 8 orders are placed exclusively through Shopify POS in our physical store, and the customer receives the Order Confirmation email afterward.
What we have done
We contacted Shopify Support, and they confirmed that location-based branding should be possible using Liquid logic.
Our current code is:
{% if location.name == "Baggu Ashta District 8" %}
<img src="https://cdn.shopify.com/s/files/1/0915/2436/6625/files/BAGGU_ideMfbjm2R_0_1.png?v=1787022963" alt="BAGGU" width="{{ shop.email_logo_width }}">
{% else %}
<img src="https://cdn.shopify.com/s/files/1/0915/2436/6625/files/sssgid-zone-1786510097-Corkcicle_20LOGO.png?v=1786510186" alt="CORKCICLE" width="{{ shop.email_logo_width }}">
{% endif %}
The template saves successfully after the code is added.
However, when we place a real test order through Shopify POS at Baggu Ashta District 8, the customer confirmation email still displays the CORKCICLE logo instead of the BAGGU logo.
Important details
- The order is created through Shopify POS, not the online store.
- The email notification is sent to the customer after the POS transaction.
- The Order Confirmation template was originally using Shopify’s default layout.
- We have not intentionally changed any other parts of the email template.
- We want to keep the existing email layout and content unchanged.
- We only want the header/logo to change based on the POS location.
What we need help with
Could someone please help us determine why:
location.name == "Baggu Ashta District 8"
does not appear to be matching the actual POS location?
Is location.name the correct Liquid variable to use in the Order Confirmation notification for Shopify POS orders?
If not, what variable or Liquid object should we use to identify the Shopify POS location?
We would also appreciate a corrected Liquid example that we can safely use in the Order Confirmation notification.
We are not developers, so a step-by-step explanation would be greatly appreciated.
Thank you very much for your help!




