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.
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023