Skip to main content

Show the total price for each product row

Depending on what your script captures, the cart layout typically has access to the product quantity and the product's unit price.

Updated over a week ago

For situations where a customer adds multiple quantities of different products to the cart, and you want to display the total price for each product as well as the overall total, we recommend adding the following to your cart layout:

In some scripts the price may be stored in product.opt.uv.

{{ (product.uv * product.qty)|format_currency(product.curr) }}

Did this answer your question?