Custom Template Tags

This is an archive of old posting to the User Forum

Custom Template Tags

Postby Justin Sutton » Tue Jul 10, 2001 7:50 pm

hello all,
I am using shopsite 5 pro. I am trying to create a custom template. I have
read all of the help and knowledge base info already. I need to know what
the "if else" statement should be for adding more info pages. Not all of our
products will have these. Also, what are the tags for inserting cross sells
and possible a quantity box. I am anxious to get these problems resolved.
Thank you,
Justin

Can you give us any idea what features will be available in shopsite 6?
Justin Sutton
 

Re: Custom Template Tags

Postby Katrina Morris » Tue Jul 10, 2001 9:25 pm

Hi Justin,

Just got into custom templates, myself, and have been very pleased. With
more info pages, you just define what the more info pages will look like in
the template, and the 'Display More Info Page' checkbox still works on the
products. They have so far with mine, anyway.

Then you use the if, else statements for linking the image, etc. I also
used the IF statement to display a little graphic that says 'details & more
information'. Here's an example:

[--IF PRODUCT.DisplayMoreInformationPage--]
<p><a href="[-- PRODUCT.MoreInfoURL --]"><img
src="http://www.rexart.com/media/plus.gif" width="116" height="17" alt="view
larger image" border="0"></a>
<br><a href="[-- PRODUCT.MoreInfoURL --]"><img
src="http://www.rexart.com/media/info.gif" alt="details & more
information" height="17" width="169" border="0"></a></p>
[--End_If--]

Here's an example of an if, else:

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

Make sure the Else and End_If tags have no spaces in front of them. That
gave me a problem, but it works great. I am absolutely loving custom
templates. I have such control over how my site looks, now.

Hope this helps.

Kat
Justin Sutton <ssutton2@midsouth.rr.com> wrote in message
news:9igeva$e47$1@support.shopsite.com...
hello all,
I am using shopsite 5 pro. I am trying to create a custom template. I have
read all of the help and knowledge base info already. I need to know what
the "if else" statement should be for adding more info pages. Not all of
our
products will have these. Also, what are the tags for inserting cross
sells
and possible a quantity box. I am anxious to get these problems resolved.
Thank you,
Justin

Can you give us any idea what features will be available in shopsite 6?

Katrina Morris
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 27 guests