Perfect! Thank you so much for your help. You’re a lifesaver!
Topic summary
Issue Identified:
After migrating from the legacy Order Printer app to the new version, the shipping method no longer displays on invoices. The previous code using order.shipping_method or shipping_method returns blank fields.
Solution Provided:
MakP identified the correct syntax for the new version:
Shipping: {{ order.shipping_methods[0].title }}
This successfully retrieves and displays the shipping method name.
Additional Formatting Issues Resolved:
- Font size and table borders: MakP provided CSS styling solutions to increase font sizes and adjust table border thickness for better print visibility
- Multi-language support: Code adjustments were made to accommodate Arabic text and custom invoice layouts
- Float styling incompatibility: The new Order Printer doesn’t support float styling; tables were recommended instead of divs
Outcome:
Multiple users confirmed the solutions worked. The thread demonstrates that the new Order Printer requires updated Liquid syntax (order.shipping_methods[0].title instead of order.shipping_method) and benefits from explicit CSS styling rather than relying on legacy formatting approaches.