Print Page | Close Window

"Sort by" found where?

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=3003
Printed Date: 20-May-2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: "Sort by" found where?
Posted By: BigOrder
Subject: "Sort by" found where?
Date Posted: 03-September-2009 at 11:31am
On each Category page there is a drop-down menu that says "Sort By". In what file might I find the code for this? Not the actual text "Sort By", I know this in the language file, but the actual code for this.

I want to change the text Sort By to an image that is bigger and more noticeable.

Thanks.


-------------
Shane
Big Order Savings
www.bigordersavings.com



Replies:
Posted By: Greg Dinger
Date Posted: 03-September-2009 at 11:43am
viewcategories.asp
 
      <%
      '=================================
      'show SORT BY drop-down
      '=================================
      if HideSortPro<>"1" then %>
       <td align="right" valign="middle" style="padding-left: 10px;">
        <form action="viewCategories.asp?pageStyle=<%=pcPageStyle%>&idcategory=<%=pidcategory%><%=pcv_strCSFieldQuery%>" method="post" class="pcForms">
         <%=dictLanguage.Item(Session("language")&"_viewCatOrder_5")%>
         <select name="prodSort" onChange="javascript:if (this.value != '') {this.form.submit();}">
         <%if UONum>0 then%>           
          <option value="19" <%if ProdSort="19" then%>selected<%end if%>><%=dictLanguage.Item(Session("language")&"_viewCatOrder_6")%></option>
         <%end if%>                       
          <option value="0" <%if ProdSort="0" then%>selected<%end if%>><%=dictLanguage.Item(Session("language")&"_viewCatOrder_1")%></option>
          <option value="1" <%if ProdSort="1" then%>selected<%end if%>><%=dictLanguage.Item(Session("language")&"_viewCatOrder_2")%></option>
          <option value="2" <%if ProdSort="2" then%>selected<%end if%>><%=dictLanguage.Item(Session("language")&"_viewCatOrder_3")%></option>
          <option value="3" <%if ProdSort="3" then%>selected<%end if%>><%=dictLanguage.Item(Session("language")&"_viewCatOrder_4")%></option>
         </select>
        </form>
       </td>
      <% end if
      '=================================
      'end SORT BY drop-down
      '=================================
      %>


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: BigOrder
Date Posted: 03-September-2009 at 1:11pm
Great Greg, thanks for the help. And I didn't break anything either!

http://www.bigordersavings.com/store/pc/Hospitality-Garden-Elements-c75.htm


(He likes it when I don't break things. Tongue)


-------------
Shane
Big Order Savings
www.bigordersavings.com



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