View Single Post
  #1  
Old 10-05-2011, 01:09 AM
 
plnewton plnewton is offline
 

Advanced Member
  
Join Date: Sep 2011
Posts: 65
 

Angry dynamic html drop down list using SKU, manufacturer, and hidden product's SKU

Is it possible to create with xcart an dynamic html drop down list using SKU, manufacturer, and hidden product's SKU??!!

For example, when they click manufacturer, it would display a list of my manufacturers, then when that is chosen, it would load below it in another drop down some printer models i have that are currently hidden product SKU's ( already coded hidden products to $i variable on my site, and have this working, then when that is clicked, the next drop down shows options as my visible product SKU's on my site.


Is this sort of thing possible with x-cart? Please assist!








My code looks like this, so far;

<div id="ctl00_ContentPlaceHolder1_verticalNavigationLe ft_ctl01_UpdatePanel1">
<div id="pinkBoxContent" style="margin-top:0px; margin-bottom:10px; margin-left:0px; padding:0px; background-image: url(http://5dollarinkcartridges.com.au/newsite/index_files/PinkBox.gif);
background-repeat: no-repeat; width:228px; height: 215px; background-position:left; vertical-align: top; ">
<div style="margin-left:4px;" align="left">
<div style="margin-left: 35px; font-family: Arial, Helvetica, sans-serif; font-size: 18px; color: #FFFFFF; font-weight: bold;">
<br>Search By Printer:</div>
<div style="padding-left:10px; padding-top:15px; padding-bottom:5px;">
<select name="ctl00$ContentPlaceHolder1$verticalNavigation Left$ctl01$ddlPrinterBrand" onchange="javascript:setTimeout('__doPostBack(\'ct l00$ContentPlaceHolder1$verticalNavigationLeft$ctl 01$ddlPrinterBrand\',\'\')', 0)" id="ctl00_ContentPlaceHolder1_verticalNavigationLe ft_ctl01_ddlPrinterBrand" style="width:195px;">
<option value="">&lt;Select Your Printer Brand&gt;</option>
<option selected="selected" value="09dc2dc0-457e-4f1e-b1a9-78547c10093e">Manufacturers</option>
<option value="36c36980-7687-40f7-b601-97b276c8b7c1">Brother</option>

</select>
</div>
<div style="padding-left:10px; padding-top:5px; padding-bottom:5px;">
<select name="ctl00$ContentPlaceHolder1$verticalNavigation Left$ctl01$ddlPrinterSeries" onchange="javascript:setTimeout('__doPostBack(\'ct l00$ContentPlaceHolder1$verticalNavigationLeft$ctl 01$ddlPrinterSeries\',\'\')', 0)" id="ctl00_ContentPlaceHolder1_verticalNavigationLe ft_ctl01_ddlPrinterSeries" style="width:195px;">
<option value="">&lt;Select Your Printer Series&gt;</option>
<option selected="selected" value="29ed9092-f6f9-41e9-9324-17c933614070">Hidden Product's SKU</option>
<option value="36c36980-7687-40f7-b601-97b276c8b7c1">DCP-110C</option>
</select>
</div>
<div style="padding-left:10px; padding-top:5px; padding-bottom:5px;">
<select name="ctl00$ContentPlaceHolder1$verticalNavigation Left$ctl01$ddlPrinterModel" id="ctl00_ContentPlaceHolder1_verticalNavigationLe ft_ctl01_ddlPrinterModel" style="width:195px;">
<option value="">&lt;Select Your Printer Model&gt;</option>
<option selected="selected" value="76cf566d-1669-4c3f-a5aa-752fc97fad18">Visable Product SKU</option>
<option value="36c36980-7687-40f7-b601-97b276c8b7c1">LC57Y</option>
</select>
</div>
<div style="padding-left:45px; padding-top:15px; padding-bottom:5px;" align="left">
<input name="ctl00$ContentPlaceHolder1$verticalNavigation Left$ctl01$btnSearch" id="ctl00_ContentPlaceHolder1_verticalNavigationLe ft_ctl01_btnSearch" src="http://5dollarinkcartridges.com.au/newsite/index_files/Search_Blue.gif" style="border-width: 0px;" type="image">
</div>
</div>
</div>
</div>
__________________
Version 4.4.3
Reply With Quote