Jump to content

Display cart total MINUS default shipping cost


Recommended Posts

Hello,

 

I would like to modify the cart page to show the cart totals without the default shipping cost. I tried using {$cart.subtotals.products.value}, but it doesn't calculate coupons (if any have been used). If I use {$cart.totals.total.value}, it automatically calculates the shipping cost and I don't want that.

 

Here's what I'd like to have on the page:

Product subtotal: £85

Discount: -£8.50

Shipping (calculated at checkout): --

Order total: £76.5

 

I tried something along the lines of {$cart.totals.total.value - $cart.subtotals.shipping.value} but it returns a value of '0'.

 

We don't offer free shipping, so adding another carrier with a £0 cost as the default carrier doesn't help.

 

Any ideas?

 

Many thanks. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...