Subtotal and shipping method not showing up when printing

Topic summary

A user is experiencing issues with subtotal and shipping method information not appearing when printing Shopify orders.

Problem Details:

  • The original post contains corrupted/reversed HTML and Liquid template code for order details
  • The code appears to be from a Shopify order template that displays item details, payment information, and shipping details
  • Key sections affected include subtotal pricing, shipping method, taxes, and discounts

Proposed Solution:
A respondent identified an error in the subtotal price code:

  • Current (incorrect) code: {{ ubtotal_price | money}}
  • Recommended replacement: {{ checkout.subtotal_price | money }}
  • The fix involves correcting the variable name from ubtotal_price to checkout.subtotal_price
  • User advised to save changes and verify the output

Status: Solution provided but not yet confirmed as resolved.

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

**Item Detail**s

{% if show_line_item_taxes %} {% endif %} {% for line_item in line_items %} {% if line_item.tax_lines %} {% endif %} {% endfor %}
Quantity SKU ItemTaxesPrice
{{ line_item.quantity }} {{ line_item.sku }} {{ line_item.title }} {% for tax_line in line_item.tax_lines %} {{ tax_line.price | money }} {{ tax_line.title }}
{% endfor %}
{% if line_item.original_price != line_item.price %} {{ line_item.original_price | money }} {% endif %} {{ line_item.price | money }}

Payment Details

{% for discount in discounts %} {% endfor %} {% if shipping_address %} {% endif %} {% if total_paid != total_price %} {% endif %}
Subtotal price: {{ ubtotal_price | money}}
Includes discount "{{ discount.code }}" {{ discount.savings | money }}
Total tax: {{ tax_price | money }}
Shipping:({{ shipping_method.title}}d>
Total price: {{ total_price | money }}

{% if note %}

Note

{{ note }}

{% endif %}

{% if shipping_address %}

Shipping Details

{% endif %}

If you have any questions, please send an email to {{ shop.email }}

Your current subtotal price code is

{{ ubtotal_price | money}}

replace with below one code

{{ checkout.subtotal_price | money}}

Save and check!