Copy Custom Theme Files to the ShopSite Server
Making a custom theme available to merchants involves copying four types of files to the ShopSite server:
- A page template
- A product template
- Thumbnail images of a sample page in each available color scheme
- Screenshots of a sample page in each available color scheme
Copy the Page Template
You can make the page template available to an entire mall or to just one store, depending on where you place the file on the ShopSite server and which themes.dat file you edit.
- To make the template available to an entire mall, FTP or copy the page template file to the /template/pages directory under the Shopping Cart (sc) CGI directory. Merchants will be able to use templates from this location, but they will not be able to see or modify the source code.
- To make the template available to a single store, FTP or copy the page template file to the /template/pages directory under the store's data directory. The merchant will be able to view and modify the template source code.
Copy the Product Template
You can make the product template available to an entire mall or to just one store, depending on where you place the file on the ShopSite server and which themes.dat file you edit.
- To make the template available to an entire mall, FTP or copy the page template file to the /template/products directory under the Shopping Cart (sc) CGI directory.
- To make the template available to a single store, FTP or copy the page template file to the /template/products directory under the store's data directory.
Copy the Thumbnail Images
All thumbnail images for all themes must be in one directory.
- Copy the thumbnail images to the thumbs directory under the shopsite_images/locale directory, such as /home/httpd/html/shopsite_images/en-US/thumbs.
Copy the Sample Pages
All sample theme pages must reside in one directory. If you want to let merchants select the built-in ShopSite themes as well as your custom theme, you must contact ShopSite support and obtain a tar file of the sample pages for the built-in themes, then place them in the same directory as your custom theme.
- Create a directory under the server's document root directory to hold the sample pages.
- Copy the screen shots and their associated HTML files to the new directory.
- If you are going to continue to offer the built-in ShopSite templates, untar the sample page files for those themes into the directory. (You must obtain the tar file from ShopSite support.)
- Use a text editor to open the global.aa file in the ShopSite CGI directory.
- Replace [DEFAULT] in the following line with the URL to the directory containing the sample pages:
theme_thumbnail_url: [DEFAULT]
- Save and close the global.aa file.