katie81 Posted May 18, 2004 Posted May 18, 2004 Does anyone know how I can split up the single Drop Down Categories box into Two Drop down boxes? First Box containing the countries, and the next contains the subregions of that country? Obviously it needs to load this info from the database. Here is the link The Link Any help would be much appreciated, Katie
batteryrat Posted May 18, 2004 Posted May 18, 2004 how about do subcat's to the titles like make lanzarote a subcat insted of a product :( Vertical Climb watch me loose grip an plumit!!
katie81 Posted May 18, 2004 Author Posted May 18, 2004 uhhh? Lanzarote is a subcat, and not a product, is it not? http://rentholidaycottages.com/main/index.php?cPath=31_40 What do you mean?
katie81 Posted May 18, 2004 Author Posted May 18, 2004 I'll give a prize to whoever helps me, please! I just cant figure it out in advanced search php. Katie
batteryrat Posted May 18, 2004 Posted May 18, 2004 no the customer doesnt need to think it is a product it can be listed as a country with a bit of flair care!!! Vertical Climb watch me loose grip an plumit!!
katie81 Posted May 18, 2004 Author Posted May 18, 2004 Thanks battery rat, I had figured that out. The site is still under construction, I do realize that a house is not a product! I am looking to split the drop down box of countries and regions into two seperate boxes, does anyone know how? Thanks, Katie
batteryrat Posted May 18, 2004 Posted May 18, 2004 have you looked into the contrubtions site coz i think its going to be a long road for you Vertical Climb watch me loose grip an plumit!!
katie81 Posted May 18, 2004 Author Posted May 18, 2004 there is nothing in the contribs to split the categories into two boxes. katie
batteryrat Posted May 18, 2004 Posted May 18, 2004 not that i no of ps. nice pic!! Vertical Climb watch me loose grip an plumit!!
Guest Posted May 18, 2004 Posted May 18, 2004 Did you manage to get this sorted? and if you didnt plz explain further what you require.
Guest Posted May 18, 2004 Posted May 18, 2004 Two separate drop menus would have the problem of a country being selected and then a region that is not applicable to that country :blink: I think it would be far better to load the info from the zones/countries table - you could perhaps show the countries list and then refresh 'onclick' to show the regions drop menu - if you like you could match the selected region to your subcategory of choice (by name) - that would be the simplest way for me :) Matti
peterr Posted May 18, 2004 Posted May 18, 2004 Hi, Two separate drop menus would have the problem of a country being selected and then a region that is not applicable to that country I don't _think_ that Katie has used regions as they are setup in osCommerce. For example: ? Canary Islands ? Lanzarote ? Haria is showing as http://rentholidaycottages.com/main/index.php?cPath=31_40_43 so obviously 'Haria' is still a category (#43), and there would be a number of products linked (children, to use an osC term) to "Haria" If my assumption is correct, then it would not be a problem to select the lower level category, I've done it with multiple levels, in ASP/Javascript and also PHP/Javascript. and there was an example of a multiple one (3 levels) done on an osCommerce site the other day. It's pretty simple in Javascript, see my 2 posts in this thread: http://www.oscommerce.com/forums/index.php?showtopic=89478 Peter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.