Jump to content

[RESOLU]multiplication dans un tpl


jherbaux

Recommended Posts

Bonjour, bonjour,

Alors voila je voudrai faire une multiplication dans un fichier tpl
mes variable, je les prend de la bdd. C'est $product.wholesale_price qui est égale a 25 et $product.rate qui est égale a 19.6

Donc j'ai fait

{assign var="prix_achat_ht" value="`$product.wholesale_price`"*"`$product.rate`"}



Mais il m'a écrit "25"*"19.6" au lieu de faire mon calcul ...
Un tit peu d'aide s'il vous plait.

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...