Displaying unit prices

If you sell products in quantities or measurements, then you might need to display the price per unit for certain products. When you enter a unit price for a product, the unit price is displayed on the product pages, collection pages, cart page, checkout pages, and order confirmation notifications.

Add unit prices to your product

Show unit prices on your online store

The steps for this customization vary depending on your theme. Click the button for your theme before following the instructions below:

Show unit prices in your order notifications

If you have added unit prices to your product but your unit prices are not appearing in your order confirmation notifications, then you might need to update your order notification template.

Steps:

  1. From your Shopify admin, go to Settings > Notifications.

  2. Click Order confirmation.

  3. Add the following snippet to the template:

  {%- if line_item.unit_price_measurement -%}
    {{ line_item.unit_price | money }}
    {%- if line_item.unit_price_measurement.reference_value != 1 -%}
      {{- line_item.unit_price_measurement.reference_value -}}
    {%- endif -%}
    {{ line_item.unit_price_measurement.reference_unit }}
  {%- endif -%}
  1. Click Save.

Ready to start selling with Shopify?

Try it free