Print Page | Close Window

Brands Jump Menu

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=4218
Printed Date: 19-July-2025 at 1:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Brands Jump Menu
Posted By: dccreatives
Subject: Brands Jump Menu
Date Posted: 20-December-2010 at 12:44pm
When you select a brand from the jump menu is takes you to the showsearchresults.asp page for that brand, but the Brand name is not seen in the jump menu, rather it defaults back to the Select a Brand.
 
Is there a way for the jump menu to stay on that brand for the results page?
 
 



Replies:
Posted By: dccreatives
Date Posted: 21-December-2010 at 11:50am
Can I add something to the string to make the Select a Brands jump menu show which brand I just chose?
 
http://www.kennethreeve.com/store/pc/showsearchresults.asp?resultCnt=20&idcategory=0&idSupplier=10&customfield=0&IDBrand=2 - showsearchresults.asp?resultCnt=20&idcategory=0&idSupplier=10&customfield=0&IDBrand=2
 
 


Posted By: ProductCart
Date Posted: 21-December-2010 at 2:36pm
Yes, sure. Replace:
<option value="<%=brandArray2(0, brandCount2)%>"><%=brandArray2(1, brandCount2)%></option>
... with:
<option value="<%=brandArray2(0, brandCount2)%>"<%if int(idbrand)=int(brandArray2(0, brandCount2)) then%> selected<%end if%>><%=brandArray2(1, brandCount2)%></option>
You can test it http://www.earlyimpact.com/demos/apparel/pc/showsearchresults.asp?resultCnt=20&idcategory=0&idSupplier=10&customfield=0&IDBrand=7 - here .


-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net