| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Manufacturers Drop Down | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Re: Manufacturers Drop Down
I have this working in 4.3.1 with the following drop down code: (note... this is just a drop down not in a box as I have it in the header area)
Code:
To have it in a menu box use: Code:
__________________
--- pia x-cart 4.3.1 |
|||||||
|
#42
|
|||||||||
|
|||||||||
Re: Manufacturers Drop Down
I just want to say that you are awesome pia. I've been banging my head for a week with this one. Thank you sooo much... You don't happen to know how to add the same thing but in search, do you? Look at point 2 in my post:
http://forum.x-cart.com/showthread.php?t=53342 Anyhow, thank you very much!
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
#43
|
|||||||
|
|||||||
Re: Manufacturers Drop Down
Hi
For X-cart 4.3.0 version Your: modules/Manufacturers/menu_manufacturers.tpl should look like this. {if $manufacturers_menu ne ''} {capture name=menu} <form name="form_manuf" method="get" action="manufacturers.php"> <select name="manufacturerid" onChange="document.form_manuf.submit()"> <option value="0" selected>Seleccionar Artista</option> {section name=mid loop=$manufacturers_menu} <option value="{$manufacturers_menu[mid].manufacturerid}">{$manufacturers_menu[mid].manufacturer|truncate:15:"...":true}</option> {/section} </select> </form> {/if} {/capture} {include file="customer/menu_dialog.tpl" title=$lng.lbl_manufacturers content=$smarty.capture.menu additional_class="menu-manufacturers"} |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|