Page 1 of 1

creating custom product information page

PostPosted: Wed Jun 02, 2010 5:39 am
by crystalis
Hi guys,
i would like to know if there is an alternate way to creating the product information. i tried adding html tags between the [--MORE_INFO PAGE--] in the product templates but there in no effect. i even publish the shop so that the changes made are reflected back. Could someone please provide me with some hints as to how to create the product information page.

PostPosted: Wed Jun 02, 2010 6:40 am
by Jim
Did you check the box on Product > Edit Product Info to enable the creation of the more information page? If that box isn't checked then the page won't be created even if there is a section in the product template that defines the layout.

Also you need to assign your template to the product under Products > Edit Product Layout.

Something as simple as the following should work.
Code: Select all
[-- DEFINE MORE_INFO_PAGE --]
<html>
<head>
<title>[-- product.name --]</title>
</head>
<body>
[-- product.name --]<p>
[-- product.graphic --]<br>
[-- PRODUCT.MoreInformationText --]
</body>
</html>
[-- END_DEFINE MORE_INFO_PAGE --]

[-- DEFINE PRODUCT --]
<a href="[-- PRODUCT.MoreInfoURL --]">
      [-- PRODUCT.Graphic --]
  </a>
<a href="[-- PRODUCT.MoreInfoURL --]">
      [-- PRODUCT.name --]
  </a>
[-- END_DEFINE PRODUCT --]



Note that some of the ShopSite provided page templates override the product template so that all products on the page will display the same. So you might need to check and see if that is the case if your product layout isn't what you expect.

You also could use a simple page template like
Code: Select all
[-- DEFINE PAGE --]
html>
<head>
<title>[-- PAGE.Name --]</title>
</head>
<body>
[-- page.name --]<br>
<table cellpadding="5" cellspacing="5" border="0" width="100%">
  [-- LOOP PRODUCTS Page.Columns --]
   <td>[-- PRODUCT --]</td>
  [-- END_LOOP PRODUCTS --]
</table>
</body>

[-- END_DEFINE PAGE --]