App reviews, troubleshooting, and recommendations
Hello,
Is there any way to indicate the sales channel where an order was placed on an invoice generated using the Order Printer app? If the order was placed through POS, is it possible to have the POS location name listed on the invoice?
Many thanks,
Jonathan
this would be useful for me as well.
Figured it out! Channel info is in the {{ attributes }} variable.
Seems to be in {{attributes.Channel}} for facebook / instagram orders but for other channels it is sometimes another name inside the attributes variable. If you just print out {{ attributes }} it will show the info for that order.
here's an example of my code i'm using to specify between facebook / amazon / etsy ordres:
{% if attributes.Channel && attributes.Channel != "Online Store" %}
<div style="font-weight:bold">[{{ attributes.Channel }}]</div>
{% endif %}
{% if attributes.['Amazon Order Id'] %}
<div style="font-weight:bold">[Amazon]</div>
{% endif %}
{% if attributes.['ETSY Order'] %}
<div style="font-weight:bold">[Etsy]</div>
{% endif %}
{% if attributes.['eBay Order Id'] %}
<div style="font-weight:bold">[Ebay]</div>
{% endif %}
Thank you for responding! My {{attributes}} variable does not have a .Channel field; I think one of your apps is editing the attributes variable to add this information.
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024