Tutorial: Custom Yahoo Store: 1/6
Before you begin in Store Manager, you need a location for all your digital assets. Digital assets are images, stylesheets, javascript files and any other static files you need to deliver through your site. While Store Manager has a “File” button to upload static content, this area has no ability to create subdirectories or to place multiple images per catalog item. In order to gain this ability…
Step 1. Create web directories to store digital assets.
In the Web Hosting Control Panel, go to the Manage tab, and use File Manager to create the following directories:
- /lib – this is for your .css and .js files
- /images – this is for images assocated with your templates
- /images/0 – this is for inset product images
- /images/1 – this is for product images featured on the homepage and category pages
- /images/2 – this is for product images on the main product page
- /images/3 – this is for full size (zoom) product images
To immediately redirect any nosy visitors to these directories back to your storefront, copy an index.php file to all web directories that contains one line of code: < ? header('Location: http://www.yourstore.com'); ?>
Once you’ve created these directories, having subdomains pointing to them will help you reach these directories from the storefront more easily. So under the Manage tab, create two subdomains:
- c.yourstore.com – for code, which should point to the /lib subdirectory
- i.yourstore.com – for images, which should point to the /images subdirectory
Before leaving the Web Hosting Control Panel, return to the File Manager and upload your store logo, favicon.ico and any background images or other assets needed for your templates into the /images directory. Then proceed to Step 2: Global Variables.
Tutorial: Yahoo Stores Intro < Step 1 > Step 2: Global Variables
About this entry
You’re currently reading “Tutorial: Custom Yahoo Store: 1/6,” an entry on modestmerchant.com Blog
- Published:
- 03.13.07 / 10am
- Category:
- Technology
1 Comment
Jump to comment form | comments rss [?] | trackback uri [?]