Simple Template System makes it easy to create custom osCommerce templates
Previous to the STS Template System if you wanted to create a custom look for your osCommerce store it required a lot more knowledge than a simple HTML template. It required editting a header and footer file to create the look you wanted.
The way the Simple Template System works is you first create the HTML template then simply put in "placeholders" for the various elements of the shopping cart. Let's take a look at how simple this is.
1. The first thing you need to do is to download and install the contribution Simple Template System (STS) (you will need to know how to work with the osCommerce shopping cart.)
2. Open the sts_template.html file. It will look like this:
You will see a simple table layout with an assortment of "placeholders" (example "$content", this is the placeholder for the content of the cart). I always make a duplicate of this file to have for future reference.
3. Now you need to create your template that you would like to use for the design of your shopping cart. Here is the one I will be using.
4. Now it is time to place the "placeholders" into your template. Here are the placeholders in my template.
5. That is all there is to it. Upload your new sts_template.html file to your "includes" folder and your done.
*Note be sure to copy the <head> section of the original file to your template file. This contribution works with the "Header tags controller" and has some code requirements for the dynamic meta tags to work.
The Simple Template System has made it so much easier for osCommerce designers to create eye catching templates in a simple straight-forward method, that now almost anyone can do it. |