jennyfeet Posted December 6, 2004 Posted December 6, 2004 Alrighty, I'm about to build my fourth site using OSC. Before I begin there's something I need to know... Is it possible to have specific content show up on specific pages? For example, this will be a cosmetics site. If I want to add content (like a feature sidebar) only to the "Lipstick" category listing page, is that possible? If, for the "Pink Glitter Lipgloss" (a subcategory of Lips/Lipgloss), I want to add a "recommended products" sidebar box, is that possible? I'm an HTML pro and have gotten pretty handy at deciphering OSC, but I don't know PHP at all. Thanks for your input!
Guest Posted December 6, 2004 Posted December 6, 2004 Hi Jenn, Take a look at the ['Simple Template System' - http://www.oscommerce.com/community/contributions,1524] contribution. This allows you to layout absolutely any page in any way that you like! It allows you to have multiple template designs to your website aswell so at Christmas you could very easily change the look of your site in literally five seconds!! This contribution is absolutely fantastic and an absolute doddle to setup, just a few files to upload and one file to add a few lines of code to so it is also really easy to take out again if you wanted to although I have installed this system on a few sites and personally I have never looked back, it is just so good. It allows you to layout your store exactly as you want just using standard HTML and then literally 'drop' in simple variables which will then place the required code into your page for you. I guarantee that you won't find an easier way of doing this for quite a while. Hope this helps. Regards, Mark Bowen
jennyfeet Posted December 6, 2004 Author Posted December 6, 2004 Hey Mark, Thanks for your reply! I've read about STS but haven't yet tried it-- any chance you have an example site you've built with it that I could take a peek at? This would certainly help solve my layout issues-- but, what I'm wondering is, are there ways to add static content to specific db-driven pages? For example, "pink lipgloss" is a product that comes from the db...so is there any way to add a sidebar only to that page?
jennyfeet Posted December 6, 2004 Author Posted December 6, 2004 Hmmm, just thought of one way... adding html code into the product description would do it. Like, adding a right-aligned table inside of the text. Anyone know if this would work?
jennyfeet Posted December 6, 2004 Author Posted December 6, 2004 Awesome, so that works to add static content directly to a specific product description. Now, anyone know of a way to add static content directly to a main category page? Since those are all db-driven I don't know if this is possible.
Guest Posted December 6, 2004 Posted December 6, 2004 Hi Jenn, If you take a look at http://www.energymusic.co.uk/store this is a site that my wife setup that uses STS and shows you the kinds of things that are possible with the system. Bear in mind that you can make the shop look exactly how you want it to on all pages even product categoury pages. All the system does is checks if there is a page with the url that you are requesting in your STS_TEMPLATE folder and then uses that one instead of the standard page if it finds it!! Hope this helps. Regards, Mark
Recommended Posts
Archived
This topic is now archived and is closed to further replies.