Nats Posted January 13, 2011 Share Posted January 13, 2011 Bonjour, Je récupère le montant hors taxe des articles de ma commande depuis order.php.Comme ça $cart->getOrderTotal(false, 1).Je souhaite avoir la valeur arrondi en smarty dans ce contexte {$cart->getOrderTotal(false, 1)}J'ai essayé {round($cart->getOrderTotal(false, 1))}Sans succès.Quelqu'un aurait une idéeMerci d'avance Link to comment Share on other sites More sharing options...
juliens Posted January 13, 2011 Share Posted January 13, 2011 Salut,comme çà ? {convertPrice price=$cart->getOrderTotal(false, 1)} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now