I have a customfield called AdImage and have this testcode in a productlist template (code is below) . Its inside a related groups loop. In that loop there are two products. One product with the field "AdImage" defined and one where its not.
So the output should be:
(Annons)
(PDF)
But its not. The output is :
(PDF)
(PDF)
The funny thing is that i I ad an DwTemplateTags tag to the template inside the loop. The output is correct. And again wrong if I remove it.
Any ideas?
Regards / Aki
So the output should be:
(Annons)
(PDF)
But its not. The output is :
(PDF)
(PDF)
The funny thing is that i I ad an DwTemplateTags tag to the template inside the loop. The output is correct. And again wrong if I remove it.
Any ideas?
<!--@If Defined(Ecom:Product:Field.AdImage.Value)-->
(Annons)
<!--@EndIf(Ecom:Product:Field.AdImage.Value)-->
<!--@If Not Defined(Ecom:Product:Field.AdImage.Value)-->
(PDF)
<!--@EndIf(Ecom:Product:Field.AdImage.Value)-->
Regards / Aki