[TYPO3-shop] hide price2 if empty

toni mac.korisnik at mackorisnik.com
Mon Jun 2 16:04:47 CEST 2008


On 2008-06-02 15:18:59 +0200, Franz Holzinger <franz at fholzinger.com> said:

> toni a écrit :
>> Is it possible to hide price2 display in template if price2 is empry or
>> 0 by using template markers?
>> For example I would like to hide entire Line "Old price: 0,00 EUR" if
>> the price2 does not exists.
> 
> You must enhance the code for this with a new subpart marker around your
> text area. This could be set empty and therefore nothing will be shown
> if the price2 has no value.

Ok, I know how to do that. Was just checking if there is a way to do it 
without changing the extension code.

Thank you for taking the time to answer this.

Toni


> 
> 
> - Franz




More information about the TYPO3-project-tt-products mailing list