Page 1 of 1

Custom Product Template Problem

PostPosted: Thu Oct 18, 2001 2:21 pm
by Patrick
I set up a custom template for my products which works fine but there is
one problem. I have the title set up as a link to view the more info
page. Now all the titles are links regardless if there is a more info
page or not, so you click on the link and it says "page not found". I
want the titles of pages (without more info) to appear regular without
having to set up a seperate template. I have tried all combination of
"IF" statements but can't fix this. Any suggestions?

Re: Custom Product Template Problem

PostPosted: Thu Oct 18, 2001 3:11 pm
by loren_d_c
Have you tried:

[--IF PRODUCT.DisplayMoreInformationPage--]
<a href="[-- PRODUCT.MoreInfoURL --]">[-- PRODUCT.Name --]</a>
[--Else--]
[-- PRODUCT.Name --]
[--End_If--]

-Loren




Patrick wrote:

I set up a custom template for my products which works fine but there is
one problem. I have the title set up as a link to view the more info
page. Now all the titles are links regardless if there is a more info
page or not, so you click on the link and it says "page not found". I
want the titles of pages (without more info) to appear regular without
having to set up a seperate template. I have tried all combination of
"IF" statements but can't fix this. Any suggestions?

Re: Custom Product Template Problem

PostPosted: Wed Oct 24, 2001 10:30 am
by Patrick
Thanks,
I did try that and got it to work but then the prices that I didn't want
displayed showed up, then the on sale prices didn't show up. Well, it took a
little while and three nested IF loops but I got if working. Things are
always more complicated than you expect

Loren wrote:

Have you tried:

[--IF PRODUCT.DisplayMoreInformationPage--]
a href="[-- PRODUCT.MoreInfoURL --]">[-- PRODUCT.Name --]</a
[--Else--]
[-- PRODUCT.Name --]
[--End_If--]

-Loren

Patrick wrote:

I set up a custom template for my products which works fine but there is
one problem. I have the title set up as a link to view the more info
page. Now all the titles are links regardless if there is a more info
page or not, so you click on the link and it says "page not found". I
want the titles of pages (without more info) to appear regular without
having to set up a seperate template. I have tried all combination of
"IF" statements but can't fix this. Any suggestions?