Would you be comfortable posting your entire template so that I or others could look a bit deeper into your issue?
Another user posted about an identical issue a couple days ago (https://community.shopify.com/post/2580805) - I tried to help them but had no luck. I figured it must have been a one-off fluke, but now that you have asked the exact same question I am super curious as to what could be causing it. it is just a bit difficult to diagnose without having the full template to look at.
Copied your template and changed the word Tip to Forum and checked it against one of my orders and works perfectly, so totally stumped as to why it’s not working for you:-
It’s the new one it’s working on for me which is why I’m stumped that it’s not working for you. We don’t use tips though so had to change the word. Which amkes me wonder if it is the word Tip itself that’s causing the issue but can’t find any variables or commands that could be causing problems.
After looking into this I am now certain that there is no issue with your code and that the problem is 100% caused by the new order printer app.
It seems to me that the new app is incapable of seeing tip line items. I made a test order with one physical item and a tip. When viewing the .json version of the order page both the physical item and the tip are listed as individual line items. However, when looping through line items in the order printer app, it will only ever complete 1 loop - Implying that it does not see the tip line item at all. This is why all the replies are saying it works for them when they change the line item title to search for - Because the order printer can actually see those items.
I’ve searched through a good amount of documentation and can not see any other way to access the tip information via the new order printer app. When viewing the .json version of my test order I can see there is a property called “total_tip_received” which does indicate the tip amount - But I do not believe it is possible to access this property via the order printer:
Sadly I do not think you will find a solution on these forums. I recommend sending a support email (https://help.shopify.com/en/support/support-type). I do not recommend the live chat as I and many others have had issues with poor support through that method.
I also encourage you or anyone else reading this that is frustrated with this new app to leave an honest review on the new order printer app’s store page. In 3 months they will sunset the legacy app and I worry that they will not fix issues such as this unless they are encouraged by an influx of negative reviews and support tickets.
this is such a good and thorough answer! although it’s not a solution, I really appreciate you looking into this for me, thank you so much!
the link for support now redirects to chat (I had this saved too, when it was just and easy button to tap to open up a new support ticket, but I guess it would be too much to ask for simplicity!)
Seems you cannot email support unless you are on the plus plan. Having same issue, will need to go through their chat support which has been so poor the past few years.
HOWEVER! If anyone can help… I have an issue which is that the new app is including a blank sheet before each print. Every time and even with their own unedited template.