| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Main Categories as a drop down list | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
I really like this dropdown catagory boxes. Ideal navigation menu for the site I am working on. The site will have main catagories and subcatagories as follows:
> Manufacturer names (HP, Canon, etc...) as main catagories. > Product Model as sub catagories But I want to automate a little. When user choose a main catagory, in this case manufacturer name, I like second dropdown box shows only sub catagories under that manufacturer. I know how to do in regular html coding but I have no experience in php coding or whatever X-cart uses. I tried PhilJ's code and it works for one drop down box. But I need atleast two level dropdown and possible three level in future. S-H-W-E-K-H-A-W
__________________
X-Cart Gold Plus 4.5.5 Checkout ONE Checkout ONE DPM BCSE CIM Apache Linux |
|||||||
#22
|
|||||||
|
|||||||
Anyone have any samples of what this looks like? I am using version 3.58 and I have many categories listed on the side. However, I would like only some of them to be put in a drop down box above them so that my site will look cleaner and not have so many categories taking up space. I am guessing that if I do this mod, that ALL of my categories will end up in the drop down box? Anyone have a code for me to only have some of the cats in a dropdown? Thanks a lot!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#23
|
|||||||
|
|||||||
Quote:
I would love to use this mod for just my manufacturers menu. In what .tpl would I place this code
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#24
|
|||||||
|
|||||||
Quote:
skin1/customer/home.tpl copy the code to a new file - skin1/customer/manufacturers.tpl replace the code Code:
with Code:
__________________
xcartmods.co.uk |
|||||||
#25
|
|||||||
|
|||||||
Thanks for getting back to me. I just got it working and it's just what I wanted.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#26
|
|||||||
|
|||||||
I'm having an issue with the number of manufacturers that are sowing up in the drop down menu.
It will only display ten manufacturers. If I deactivate one in the admin area a new one shows up in its place on the customer front end menu. I have twelve manufacturers in the admin area. I only get ten in the customer front end. I not sure what is going on.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#27
|
|||||||
|
|||||||
Quote:
*** Just wanted to alter PhilJ's words abit but with alot appreciated to you for creating this code tho!! Thanks! *** I was abit confused when i read his comment. For manufacturers only!!! Basicly, you created "manufacturers.tpl" and drop it in "skin1/customer/" Copy this code below in manufacturers.tpl: Code:
find: Code:
replace with Code:
reload your homepage!!! Tada!! for PhilJ!!
__________________
X-Cart version 4.x (Most likely will be the latest version) |
|||||||
#28
|
|||||||
|
|||||||
x-online I believe you have misunderstood me. I do however appreciate your help.
The mod works. I was able to to get the mod up and running. The problem is it only displays the first ten manufacturers in the drop down and I have double that. Thank You x-online and of-course PhilJ
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#29
|
|||||||
|
|||||||
Khar,
I honestly didn't ready your post before about limited up to 10 manufacturers. Also, i only focused on the codes that philJ was given. Wheni first read his commend i was hum... open home.tpl... copied everything to manufactorys.tpl??!!?? then what?.. replaced code in manufactory.tpl??!!?? I just clear things up.. just incase if someone else stupid like me when first read it :P Anyhow, back to your problem.. i have seen the solution somewhere before int he forum.. Please do a search i am pretty sure that i have seen it before. Will keep you up to date if i came across again.
__________________
X-Cart version 4.x (Most likely will be the latest version) |
|||||||
#30
|
|||||||
|
|||||||
thanks I'll start searching
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
|
|||
X-Cart forums © 2001-2020
|