| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Rearranging and reconfiguring categories problem | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
You should be able to modify categories.php to give you the sub categories of the parent category if no sub-sub categories exist. I hope that makes sense.
It would take quite a bit of work. If I weren't so strapped for time right now, I'd look into it further for you. If I get some spare time, I'll try to figure it out. Nice looking site BTW! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#12
|
|||||||
|
|||||||
Thanks BCSE!
I appreciate both yours and Shans help and advice . Any help you can give me about modifying the categories.tpl file to keep the sub-categories visible would be invaluable. In its current state, it's not going to work very well without it. Thank you again, Mike |
|||||||
#13
|
|||||||||
|
|||||||||
Well, you're going to have to change the PHP code to do what you want it to do. It's not going to be simple from first glance at categories.php
I have to get a large list of things done today. I'll try to slip it in to see if its possible to do. It should be possible, it's just not going to be easy. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#14
|
|||||||
|
|||||||
Thanks Carrie! Just to let you know, this is my first experience in dealing with PHP so any fixes you have to share with me will probably require some patience on your part - but I do catch on to things fairly quickly. I really appreciate your help!
Mike |
|||||||
#15
|
|||||||||
|
|||||||||
No problem. I haven't forgotten about this. I'm just super swamped this week with "emergency" X-cart work. It's on my list of to-do.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#16
|
|||||||
|
|||||||
Thanks Carrie! I'm anxious to see if this will work. Hope you get your fires put out! Say, can you or anyone else guide me to where I can increase the font size used in the product text display area? I'm sure its in the css file somewhere, but I must be missing it.
Thanks again, Mike |
|||||||
#17
|
|||||||||
|
|||||||||
I think I have it! I had a few minutes tonight to take a stab at it and seem to have it. It's not completely tested though, so let me know if you find any problems with it.
Here's how to try it: 1. - BACK UP skin1/customer/categories.tpl - BACK UP include/categories.php 2. Add this code to include/categories.php: Code:
After: Code:
3. Add this code to skin1/customer/categories.tpl Code:
Before: Code:
I tested this on 3.5.10. It should work on 3.5.9. Hope this helps! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#18
|
|||||||
|
|||||||
Hi Carrie,
Thank you for the mod, but I can't seem to get it working. Here is the complete code that I currently have for categories.tpl (including your mod): Code:
And here is the code I have currently for categories.php (including your mod). This was found in htdocs/admin. There wasn't a categories.php in the customer directory so I hope I modified the right one. Code:
Can you see anything I have done wrong? Thanks again for looking into this . Mike |
|||||||
#19
|
|||||||||
|
|||||||||
It's in include directory. So restore your admin/categories.php file and edit the include/categories.php instead. Sorry about that! Not sure why I said customer/categories.php I reflected the changes in my previous post.
Let me know if that doesn't work! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#20
|
|||||||
|
|||||||
Hi Carrie,
I'm not sure if I did something wrong or not but the categories are now kind of screwed up in how they are displaying. You can view what it is doing at http://www.solutionsforliving.biz and clicking on any of the category links across the top portion of the page. I'm posting the code for the 3 files that seem to be affected: include/categories.php: Code:
catagories.tpl: Code:
and head.tpl: Code:
I really don't know what to do to fix this at this point so any help you can offer will be much appreciated. Thanks again, Mike |
|||||||
|
|||
X-Cart forums © 2001-2020
|