| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Drop down error | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am displaying a dropdown with product manufacturer list. It displays all the manufaturers list correctly. When i change the index, no effect on my website. It should go to manufacturer page . And also javascript doest show any page error. Please help me. Here is my code.
<select name="manufacture_list1" id="manufacture_list1"{if $onchange} onchange="javascript: self.location='manufacturers.php?manufacturerid='+ this.options[this.selectedIndex].value;"{/if}> <option value="">{$lng.lbl_please_select_one}</option> {foreach from=$manufacturers item=m} <option value="{$m.manufacturerid}"{if $m eq $manufacturers} selected="selected"{/if}>{$m.manufacturer}</option> {/foreach} </select>
__________________
X-cart 4.1.10 |
|||||||
#2
|
|||||||
|
|||||||
![]() Please be sure to read the guidelines on posting in the bugs forum - this is not stock X-Cart code, thus it is not a bug. You should check the Custom Mods forum, as there is already a mod that works for putting manufacturers into drop-downs.
Moving to Template Editing.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|