Hey, I work with MrAirsoft.com, and I want to add content to the different categories, but the guy who does the coding says he can't. For example: http://mrairsoft.com/index.php?cPath=22 There, I would like to write something about the section under "Let's See What We Have Here" and above the actual product list. However, as I said, my coder/programmer guy says he can't do that based on the structure of osCommerce. Is there anyway we can do it?
sure can.. just have to edit the template, find the spot you want the text, use a _get statement, and use a couple of if statements: $cp = $_GET['cpath']; if ($cp = '28'){ echo "Category 28 suck n' such"; } if ($cp = '29'){ echo "Category 29 suck n' such"; } something like that, and if register_globals is off you can most likely set and use session variables..
Alright man, I will try that. However, in the past I've seen that it is good to get multiple suggestions, just in case the first doesn't work (not that I'm doubting you). Anymore suggestions, or even support for the first suggestion?
The programmer guy says it won't work because they are in the database, he can't edit those directly. Anything else?
I came across your post while trying to find a solution for myself. If I am correct all you're wanting to do is to add a description to a category above your products, if this is correct you can use "Subcategory Textboxes_v2.0.2" If you're looking for what I'm looking for, which is adding additional information to each product in a category view, please let me know if you find a solution and I'll do the same for you as well. James
Wait is that just for subcategories, or actual categories? I want to add text above the products in main categories, but I'm guessing you can use that Contribution with main categories as well as subcategories, correct?
I personally haven't used it yet, but from the page you gave for an example, looks like this is what your looking for! I'll try to include a screenshot, James
That's Great! I'm glad somebody is getting something solved today...lol Seriously, it looks like a fairly easy mod to install and if your coder can't do it... maybe you should find a new one James
Don't worry PCJames, he's good, I know he can do it, although we may not be able to do it immediately cause we're doing a lot of improvements.
Okay James, so with this mod, could I add text above the products here: http://mrairsoft.com/index.php?cPath=25 There's no sub-category, just a regular category; so, could I add text there, in that category with that contribution?
yes it should work on everything you have showed me so far... also you can totally remove the "Let's See What We Have Here" crap and add the name of the category or sub cat's with "Page Heading Title" contribution and if you wanted too you can get rind on the cat and sub-cat images too!
Hey, I added that contribution, but then the text is displayed everywhere in that category, even in the products, and I just want it to be on the category but it is in the products too!
Sorry for the delay, been on vacation. Goto admin and in youe "Textbox" config set "Display Subcategory textbox on product listing page" to false, that should do the trick. James