An icon "New" on my product page

Hi,

i am a begginner on Oxid, and i am looking for way to put a new icon on the product page. I thought about to write a conditionnal tag sayaing: if the current product is in the oxnewest list, then this icon appears. But, i have absolutely no idea of what syntax I can use on Oxid to do this simple thing.

I tried something like:

[{if($product->oxnewest)}]<img class=“icn_new” src="[{$oViewConf->getImageUrl()}]/picto_new.png">[{/if}]

But it is just bugging my site.

Any idea about it ?

Try


[{if($product->oxnewest)}]<img class="icn_new" src="[{$oViewConf->getImageUrl('picto_new.png')}]">[{/if}]

I said I was a newbie, right? :smiley:

[QUOTE=novalgin;85116]Try


[{if($product->oxnewest)}]<img class="icn_new" src="[{$oViewConf->getImageUrl('picto_new.png')}]">[{/if}]

[/QUOTE]

This code not working.