boo_lolly Posted February 10, 2009 Posted February 10, 2009 Hey guys, I've deployed several OsCommerce sites, but I haven't done much customization in the design. Well, now, I'm completely redesigning the OsC cart theme using the Simple Templating System. I've got everything done except for the way '$content' shows up. For those of you that are not familiar, $content is the variable responsible for displaying whatever is supposed to be displayed on a page as the user is navigating through the site. I have the entire theme changed, except I don't know what files are responsible for the layout of the product listings, search results, shopping cart page, etc. I also want to modify the 'boxes' such as the Manufacturer's dropdown menu and the 'categories listing box'. How can I change how the search results come up? All of these things I want to modify but I just don't know where the files I need are... I'm looking to go right into the code, NOT from the admin interface. I am proficient in PHP, MySQL, and HTML, so I'm not afraid of breaking anything, and I always make backups. I just have no idea what files I need to find and modify. Please help. Thanks
spooks Posted February 10, 2009 Posted February 10, 2009 Search results & product listings are both output by the product listing module. Take a look at Product Listing Enhancements, Thumbnails & Manufacturer Headings http://addons.oscommerce.com/info/6051 that may help you Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
boo_lolly Posted February 10, 2009 Author Posted February 10, 2009 where is the product listing module code? I'm looking for the files that dynamically output HTML. That is what I want to modify. I won't need any extra addons. I just want to know where the code is.
spooks Posted February 11, 2009 Posted February 11, 2009 Er in modules!!! I was pointing to the contrib to help you, see how that works so where to go, as in like, this question!! Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
boo_lolly Posted February 11, 2009 Author Posted February 11, 2009 The contrib doesn't help at all. It has literally nothing to do with what I'm looking for. There is only a Product Info template modifier... And when I looked at those files... they didn't make any sense. It's not what I'm looking for at all. I didn't once see anywhere in sts_user_code.php anything about a table tag, or listing anything. Just global variables and classes that are held elsewhere that are responsible for that... In STS, when you type '$searchbox' or '$languagebox' it prints out an entire table, with a header, a border, and styles already implemented... I'm looking for the code that PRINTS THAT OUT. I want to modify the way '$searchbox' will look when i type it in STS. Do you understand??????? I really want to get rid of those stupid category images. I want to get rid of them and I want to find the code that prints out that part of the table... Seriously.. I cannot be the only one who has done this before, and Sam cannot be the only one who doesn't give good advice... Someone has done this before.. is there even any STS documentation that explains how to modify the product listings or the '$manufacturersbox' type variables?
bkellum Posted February 11, 2009 Posted February 11, 2009 The contrib doesn't help at all. It has literally nothing to do with what I'm looking for. There is only a Product Info template modifier... And when I looked at those files... they didn't make any sense. It's not what I'm looking for at all. I didn't once see anywhere in sts_user_code.php anything about a table tag, or listing anything. Just global variables and classes that are held elsewhere that are responsible for that... In STS, when you type '$searchbox' or '$languagebox' it prints out an entire table, with a header, a border, and styles already implemented... I'm looking for the code that PRINTS THAT OUT. I want to modify the way '$searchbox' will look when i type it in STS. Do you understand??????? I really want to get rid of those stupid category images. I want to get rid of them and I want to find the code that prints out that part of the table... Seriously.. I cannot be the only one who has done this before, and Sam cannot be the only one who doesn't give good advice... Someone has done this before.. is there even any STS documentation that explains how to modify the product listings or the '$manufacturersbox' type variables? STS support is provided ONLY in the STSv4 Support Thread. The link is in the STS User Manual as well as in my signature below. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
shadowcatek Posted February 11, 2009 Posted February 11, 2009 The contrib doesn't help at all. It has literally nothing to do with what I'm looking for. There is only a Product Info template modifier... And when I looked at those files... they didn't make any sense. It's not what I'm looking for at all. I didn't once see anywhere in sts_user_code.php anything about a table tag, or listing anything. Just global variables and classes that are held elsewhere that are responsible for that... In STS, when you type '$searchbox' or '$languagebox' it prints out an entire table, with a header, a border, and styles already implemented... I'm looking for the code that PRINTS THAT OUT. I want to modify the way '$searchbox' will look when i type it in STS. Do you understand??????? I really want to get rid of those stupid category images. I want to get rid of them and I want to find the code that prints out that part of the table... Seriously.. I cannot be the only one who has done this before, and Sam cannot be the only one who doesn't give good advice... Someone has done this before.. is there even any STS documentation that explains how to modify the product listings or the '$manufacturersbox' type variables? to remove category images... i used the instructions in this post: http://www.oscommerce.com/forums/index.php?showtopic=308605
halluzineyt Posted December 16, 2009 Posted December 16, 2009 Help i am also configuring an modified shop My link i just want to configure the product listing box just put the title on top and add some short description.no need to install new adons coz i have tried that product listing enhancement and it just made it messy.. i have installed a thumbnail fix then when i installed this enhancement the thumb is back again to the original thumbnail system oscommerce use.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.