Custom Template

General ShopSite user discussion

Custom Template

Postby priscila » Mon Oct 29, 2007 12:00 am

Can I create any kind of page using Custom Template? How I can use it? By creating a new template in .html format & then upload it?
priscila
 
Posts: 29
Joined: Mon Oct 22, 2007 10:59 pm

RE: Custom Template

Postby ShopSite Lauren » Mon Oct 29, 2007 1:27 pm

Priscila,

If you already have th look that you would like for your stre setup, and you would like to add that look to your ShopSite store as a custom template, there are a few steps that you can go through.

1. Go into the back office of ShopSite (manager or pro) to Merchandising > Custom Templates > Page/Product > Upload Template. You can upload your template into ShopSite. It does not matter what type of file you upload. I typically upload .txt files.

2. Once you have uploaded your code into ShopSite, you can go back in and Edit the template. You would first want to add [-- DEFINE PAGE --] at the top of your file, before the <html> tag, and [-- END_DEFINE PAGE --] at the end of your code, after the </html> tag.

3. You can then start replacing your information with ShopSite tags. Your template is more of a skeleton, or a frame work, and the tags will pull information from the ShopSite database to fill in the blanks. For example, where you currently have the page name, you would replace the page name text with [-- PAGE.Name --]. Each time a page is published using this template, ShopSite will place the page name in this space.

4. When you are ready to see what your template looks like, you would need to apply it to a page (Pages > Edit Page Layout, and select your template from the pull down menu). Then publish your website, and you can view the page.

For more ShopSite template tags you can refer to the following Help page.
http://shopsite.com/help/8.3/en-US/temp ... sheet.html

-Lauren
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT


Return to User Forum

Who is online

Users browsing this forum: No registered users and 114 guests

cron