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) }}