Help me . How to show total product price in cart , not price per item ?

Topic summary

A user seeks to display the total price for each product line in their Shopify cart instead of the individual item price.

Proposed Solution:

  • Navigate to Shopify Admin → Online Store → Themes → Customize → Edit Code
  • Locate the cart.liquid file
  • Replace {{ item.price | money }} with {{ item.line_price | money }} to show total price per line item
  • Add {{ cart.total_price | money }} to display overall cart total
  • Save changes and test

Status: One solution provided; implementation and verification pending.

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

Hi ,

I want to show total product items price in cart , not price per item .

Can anyone help me ?

Website - https://xgodeals.shop/

Thank You

Hi @liteleraja ,

  • Go to Shopify Admin > Online Store > Themes > Customize > Edit Code.
  • In the cart.liquid file, replace the price per item ({{ item.price | money }}) with {{ item.line_price | money }} to show the total price per item.
  • To display the total cart price, add this code: Total: {{ cart.total_price | money }}.
  • Save and test your changes on the cart page.