Konair23 Posted July 13, 2009 Report Share Posted July 13, 2009 Hallo, ist es möglich in den Produktexport so etwas wie eine Division z.B. durch 5 einzugeben? So in etwa: {$data.products_quantity| /5 |string_format:"%d"} Link to comment Share on other sites More sharing options...
mzanier Posted July 13, 2009 Report Share Posted July 13, 2009 ja das geht. siehe smarty dokumentation http://www.smarty.net/manual/de/language.function.math.php damit dürfte das in etwa klappen {math equation="x/5" x=$data.products_quantity format="%d"} Link to comment Share on other sites More sharing options...
Konair23 Posted July 13, 2009 Author Report Share Posted July 13, 2009 Danke für die schnelle Antwort, Herr Zanier! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.