What is a variable for total order summary without taxes and shipping price?

11 0 3


I need a variable that will give back the order summary without tax, shipping price and tax for shipping. For example here it would be 428.00-80.03=347.97. How to define it in code?


Thanks in advance.

Shopify Staff
Shopify Staff
729 71 133

Hi, @asd123.

Thanks for your question.

What you are looking to define here is referred to as the order.subtotal_price in code.

This value returns the subtotal price of all the items in the order after both line-item and cart discounts have been applied. The subtotal doesn't include taxes (unless taxes are included in the prices), shipping costs, or tips.

The Shopify Dev Docs have well documented objects and liquid references that you can use to access or pull information via code. 

I trust you will find this information helpful, but let me know if I have missed or misunderstood anything and I'd be glad to chat further.

Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog