VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: pdstudio on April 25, 2014, 12:17:08 PM

Title: Get the cart total price (PricebillTotal)
Post by: pdstudio on April 25, 2014, 12:17:08 PM
Hy,
I want to make a notification in my cart to show the remaining price that should be added for free shipping.
Something like this:
IF SomethingIsInTheCart THEN { IF PricebillTotal <= 15000 THEN {Show a notificaton and write out a value: 15000-PricebillTotal} }
What should I use to get the value?
Thank you forwards for answer!
Title: Re: Get the cart total price (PricebillTotal)
Post by: GJC Web Design on April 25, 2014, 16:00:25 PM
echo out the $cart_prices array in your cart template - you will see the info there  - from memory its $cart_prices['salesPrice'];