X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Manufacturers Drop Down (https://forum.x-cart.com/showthread.php?t=11463)

johnwhdavies 01-14-2005 04:41 AM

Manufacturers Drop Down
 
Could anyone please point me to a topic for this subject please! I have found the sub-categories but am unable to find code for the manufacturers.

What I want is a drop down box instead of a huge list in the 'other manufacturers' page. At present I have nearly 100 of them thus causing a huge page scroll.

Many Thanks

Bella Forma 01-14-2005 01:30 PM

http://forum.x-cart.com/viewtopic.php?t=7167

There is some code in there by PhilJ for maunufacturer drop down, haven't tried it yet, it's on my huge pile of 'thing to do'!!

johnwhdavies 01-14-2005 04:02 PM

Cheers for that, but it seems as though the code is for a search drop down, what I was looking for was some code for a drop down for the other manufacturers page. :)

Lingerieblowout 01-14-2005 04:07 PM

Like this?
 
Are you looking for something like on my site:

http://www.lingerieblowout.com

cotc2001 01-15-2005 02:21 AM

Yeah i've got the same on my site (but i renamed it ranges - but it's still the manufacturer)

http://www.justhom.com

this is the code that i've got in
modules/Manufacturers/menu_manufacturers.tpl

Code:

<form name="form_manuf" method="get" action="manufacturers.php" style="margin-bottom:0;">
    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="90%" align="right" valign="middle">[img]{$ImagesDir}/3reddots.gif[/img]</td>
    <td width="0" align="right"><select name="manufacturerid" onChange="document.form_manuf.submit()">
      <option value="0" selected>Choose a Range</option>
      {section name=mid loop=$manufacturers_menu}
      <option value="{$manufacturers_menu[mid].manufacturerid}" {if $manufacturerid==$manufacturers_menu[mid].manufacturerid} selected {/if}>{$manufacturers_menu[mid].manufacturer}</option>
      {/section}
    </select> </td>
  </tr>
</table>
</form>


johnwhdavies 01-16-2005 09:36 PM

Cheers
 
I will give that a try, :lol:

John

TonyD 01-17-2005 02:20 PM

Re: Like this?
 
Quote:

Originally Posted by Lingerieblowout
Are you looking for something like on my site:

http://www.lingerieblowout.com


i am would like to see the code you used for this...

Thanks,

Tony

Lingerieblowout 01-17-2005 02:24 PM

I take a look
 
Give me a bit to look... this was a mod that I paid Funkydunk to write.

markwhoo 01-17-2005 02:30 PM

Re: I take a look
 
Quote:

Originally Posted by Lingerieblowout
Give me a bit to look... this was a mod that I paid Funkydunk to write.


Funky may not like sharing the code you had to pay for to someone for free, may want to ask permission prior and avoid upsetting someone. :wink:

Lingerieblowout 01-17-2005 02:40 PM

Maybe
 
good point.... let me see!!!

Maybe I can sell it to you via him :lol:


All times are GMT -8. The time now is 08:12 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.