News:

Support the VirtueMart project and become a member

Main Menu

Get the cart total price (PricebillTotal)

Started by pdstudio, April 25, 2014, 12:17:08 PM

Previous topic - Next topic

pdstudio

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!

GJC Web Design

echo out the $cart_prices array in your cart template - you will see the info there  - from memory its $cart_prices['salesPrice'];
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation