errors with product templates
Posted: Wed Mar 03, 2004 4:25 pm
Hi. Brand new to ShopSIte (7.0). I'm trying to learn how to create
custom templates by studying the built-in templates. Page templates are
going smoothly. But I am running into problems with the product
templates that come with ShopSite. I uploaded AlsTools to my custom
templates directory. But when I apply it to products and publish, I get
error messages: Template Error: "IF using PAGE tag in non-page
template." And sure enough, in this sample product template I
downloaded from the help files is the tag: PAGE.DisplayPageHeader. Is
this an error in the files provided by ShopSite? And using this same
template, I get Order and View Cart URL errors.
So then I tried the DefaultCustomProductTemplate. After applying this
one to my products and more info pages and publishing, the Add to Cart
button on the more info pages is inactive, just a graphic. And when I
view the source code (from a browser, after files have been included),
Add to Cart is just an image, not enlcosed in a Submit tag as I would
have expected.
So why am I running into so many problems with these templates? I have
no problem building my own from scratch but I was hoping to have a
working template file I could use for comparison.
Thanks.
custom templates by studying the built-in templates. Page templates are
going smoothly. But I am running into problems with the product
templates that come with ShopSite. I uploaded AlsTools to my custom
templates directory. But when I apply it to products and publish, I get
error messages: Template Error: "IF using PAGE tag in non-page
template." And sure enough, in this sample product template I
downloaded from the help files is the tag: PAGE.DisplayPageHeader. Is
this an error in the files provided by ShopSite? And using this same
template, I get Order and View Cart URL errors.
So then I tried the DefaultCustomProductTemplate. After applying this
one to my products and more info pages and publishing, the Add to Cart
button on the more info pages is inactive, just a graphic. And when I
view the source code (from a browser, after files have been included),
Add to Cart is just an image, not enlcosed in a Submit tag as I would
have expected.
So why am I running into so many problems with these templates? I have
no problem building my own from scratch but I was hoping to have a
working template file I could use for comparison.
Thanks.