Screen: ShopSite > Merchandising > Custom Templates
Tell A Friend templates are essentially HTML documents which contain special tags to retrieve information from your ShopSite database. When designing a template, you can use your favorite HTML editor to get the look you want, then substitute in the custom template tags in the appropriate places.
See the Custom Template Tutorial for more detailed information about creating ShopSite Custom Templates.
You will find it easier to design a custom template if you're at least somewhat familiar with how ShopSite works, both from a customer and merchant perspective. It is especially important to become familiar with the features and function of the search tool, product templates, and page templates.
Look over the custom template specification to see the tags that are available. It will be one of your primary references while creating templates, or you can use the short version once you have the hang of it.
You may also want to look at the default Tell A Friend template (you can copy it into your custom templates using the Copy ShopSite Template button) and see how it works.
You can use any text editor or HTML editor to create your template. If you are using a WYSIWYG editor, enter the custom template tags as plain text. Some editors may complain about or not allow you to put the DEFINE and END_DEFINE tags outside the html opening and closing tags, but your template will not work properly unless they are there.
Save your template with a descriptive name and in a location where you will be able to find it. Custom templates do not require any file extension, although your editor may.
Once your template is ready for testing, upload it to your store by going to the Merchandising > Custom Templates screen, finding the Tell A Friend Templates section, and clicking on the Upload Template button. Enter the local path or Browse... for your template file. You may optionally indicate a different filename for the template on the server, then click Upload File.
You can also use FTP to upload the template to the correct directory. Keep these points in mind:
Once you have uploaded the template, you should test it by selecting it as the template in the Merchandising > Tell A Friend > Configure screen. You will probably not want to test the template on a live store, in case something doesn't work the way you expected it to. Be sure to test all the Tell A Friend features to make sure they work properly.
<!-- VAR ASPARAGUS IS NOT DEFINED -->
Make any necessary changes and test the template again, then tell the merchant that it is available. The merchant should be able to select the template from the Merchandising > Tell A Friend > Configure screen
|
ShopSite Help and Resource Center Last updated: January 19, 2007 Give Feedback |
![]() © 2008, ShopSite, Inc. ShopSite Shopping Cart Software |