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)
-   -   Drop down error (https://forum.x-cart.com/showthread.php?t=44343)

dxbsgt 12-20-2008 03:00 AM

Drop down error
 
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>

balinor 12-20-2008 03:02 AM

Re: Drop down error
 
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.


All times are GMT -8. The time now is 03:26 PM.

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