Custom Product Template Problem

This is an archive of old posting to the User Forum

Custom Product Template Problem

Postby Patrick » Thu Oct 18, 2001 2:21 pm

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?
Patrick
 

Re: Custom Product Template Problem

Postby loren_d_c » Thu Oct 18, 2001 3:11 pm

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?
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Custom Product Template Problem

Postby Patrick » Wed Oct 24, 2001 10:30 am

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?
Patrick
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 59 guests