[TYPO3-shop] Display "Free" when the price is 0.00$
Franz Holzinger
franz at fholzinger.com
Mon Jan 29 08:52:50 CET 2007
Hello Joël,
> I have a little question for you. I want to display the text "Free"
> when the price of the item is 0.00 $. Anyone kwow how to made it ?
>
At the moment you can only write your own extension which enhances
tt_products or better send me the code.
ext/tt_products/lib/class.tx_ttproducts_price.php:
/**
* Generate a graphical price tag or print the price as text
*/
function printPrice($priceText,$taxInclExcl='') {
- Franz
More information about the TYPO3-project-tt-products
mailing list