Updated to new version of Order Printer, shipping method not on invoices

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.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

You can add a font-weight style such as “font-weight: bold;” to the .table-tabular css block:

.table-tabular {
        /* Line item info styling */
        font-size: 14px;
        font-weight: bold;
    }