kgamadia Posted April 19, 2010 Share Posted April 19, 2010 Hi all, I was wondering if osCommerce supports the use of <!-- #include file="xyz.inc" --> in the description for the products. I ask because I see that HTML is used, but this isn't working for me (A standard footer I am trying to apply on all products.) SSI is obviously supported by the server, as osCommerce relies quite heavily on it. Does anyone have any ideas? Thanks! Link to comment Share on other sites More sharing options...
NodsDorf Posted April 19, 2010 Share Posted April 19, 2010 Hi all, I was wondering if osCommerce supports the use of <!-- #include file="xyz.inc" --> in the description for the products. I ask because I see that HTML is used, but this isn't working for me (A standard footer I am trying to apply on all products.) SSI is obviously supported by the server, as osCommerce relies quite heavily on it. Does anyone have any ideas? Thanks! This could be accomplished using STS (Simple Template System) it allows you to make templates for product listing, index and general pages. Where your general and index pages could look one way, while your product listings look a different way. Conversely you should be able to make a new footer.php (footer_products.php) and call it when you're on the product listing pages instead of the normal footer. This is already done when you use Google Analytics however, in its case, it only applies to the checkout_process.php page. Link to comment Share on other sites More sharing options...
kgamadia Posted April 20, 2010 Author Share Posted April 20, 2010 This could be accomplished using STS (Simple Template System) it allows you to make templates for product listing, index and general pages. Where your general and index pages could look one way, while your product listings look a different way. Conversely you should be able to make a new footer.php (footer_products.php) and call it when you're on the product listing pages instead of the normal footer. This is already done when you use Google Analytics however, in its case, it only applies to the checkout_process.php page. Hi, great ideas! I will look into both of those options. Thanks, and I appreciate the speedy response. Take care. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.