<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Making a field non-searchable??</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Making a field non-searchable??]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 10 Apr 2026 17:33:30 +0000</pubDate>
  <lastBuildDate>Thu, 12 Jun 2008 20:23:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=1621</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Making a field non-searchable?? :   Hamish wrote:Cool!!! Is that...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5508.html#5508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=499">nathan</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 12-June-2008 at 8:23pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Hamish" alt="Originally posted by Hamish" style="vertical-align: text-bottom;" /> <strong>Hamish wrote:</strong><br /><br />Cool!!! <img src="https://forum.productcart.com/smileys/smiley4.gif" border="0" alt="Big%20smile" /><BR>Is that a comparison of the new patch with the modified new patch?<BR><BR>I was expecting that there would probably be more modifications required to cut back the search code even further. Smaller changes are great as there is less to modify when new versions are released.<BR><BR>Do you have the AJAX enabled so that it calculates the number of hits as you type the search options in?&nbsp; If so, is the number correct? <BR><BR><BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Ajax is enabled and displays the correct search number!</DIV>]]>
   </description>
   <pubDate>Thu, 12 Jun 2008 20:23:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5508.html#5508</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Hi Qwijybo, That&amp;#039;s pretty...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5409.html#5409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 05-June-2008 at 3:23pm<br /><br />Hi Qwijybo,<br>&nbsp;&nbsp;&nbsp;&nbsp; That's pretty similar to my "fix" - Your just leaving one extra field in&nbsp; place (the short description).<br><br>Personally I always use an unusual word, usually the client companies name or sometimes "Hamish" to flag areas of amended code as searching for all occurances of a word such as edit gives to many hits in the full source code.<br><br>Please let us know the comparative improvement in your search times, natan had a very great improvement &amp; it would be nice to see some other figures as well. <br>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 15:23:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5409.html#5409</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : To eliminate the details from...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5405.html#5405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1228">Qwijybo</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 05-June-2008 at 2:40pm<br /><br /><DIV>To eliminate the details from being searched&nbsp;I edited the parts of the code dealing with adding the string tmpSQL to strSQL. There are two locations in viewsearchresults.asp that need editing.</DIV><DIV>&nbsp;</DIV><DIV>I commented these two lines then copied the first line and changed the variable to tmpSQL2. Search for "strSQL=strSQL &amp; tmpSQL" and make the following edits.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;' EDIT strSQL=strSQL &amp; tmpSQL <DIV>&nbsp;' EDIT strSQL=strSQL &amp; " OR " &amp; tmpSQL2 </DIV><DIV>&nbsp; strSQL=strSQL &amp; tmpSQL2</DIV><DIV>&nbsp;</DIV><DIV>The ' is all you need. I put in ' EDIT so I can search qucikly and easily for any edits I have made to the code.</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 14:40:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5405.html#5405</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Cool!!! Is that a comparison of...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5391.html#5391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 8:28pm<br /><br />Cool!!! <img src="https://forum.productcart.com/smileys/smiley4.gif" border="0" alt="Big%20smile" /><br>Is that a comparison of the new patch with the modified new patch?<br><br>I was expecting that there would probably be more modifications required to cut back the search code even further. Smaller changes are great as there is less to modify when new versions are released.<br><br>Do you have the AJAX enabled so that it calculates the number of hits as you type the search options in?&nbsp; If so, is the number correct? <br><br><br>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 20:28:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5391.html#5391</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : When both files are Mod... search...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5390.html#5390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=499">nathan</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 8:12pm<br /><br />When both files are Mod... search goes from 25 to 3 sec!]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 20:12:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5390.html#5390</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Hi, There is identical code in...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5388.html#5388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 7:40pm<br /><br />Hi,<br>&nbsp;&nbsp; There is identical code in there as well, so I would say so. <br>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 19:40:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5388.html#5388</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Ill give it a try... does anything...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5386.html#5386</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=499">nathan</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 7:30pm<br /><br />Ill give it a try... does anything need to be done to inc_srcPrdQuery.asp ?]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 19:30:36 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5386.html#5386</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? :  OK - There&amp;#039;s lots to this...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5385.html#5385</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 7:14pm<br /><br />OK - There's lots to this code &amp; I'm certain it would be possible to amend it fairly radically to focus it on just the bits you want.<br><br>First thing some of the code runs via AJAX on the search page - to indicate the number of hits you will get - which is great, but maybe not for 18,000 prods - from memory (it's a few hrs since I looked, it's switched on/off depending on whether the AJAX Tooltip is enabled. I don't recall if this is the new or current version. That code will also need amending - if it IS enabld as it will give a different count from the actual search. <br><br>Anyway, onto code changes...<br><br>Look for Lines 394 &amp; 485&nbsp; :-<br><br>&nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; tmpSQL<br>&nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; " OR " &amp; tmpSQL2<br>&nbsp;&nbsp;&nbsp; if tIncludeSKU="true" then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;strSQL=strSQL &amp; " OR " &amp; tmpSQL3<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;strSQL=strSQL &amp; " OR " &amp; tmpSQL4 &amp; "))"<br>&nbsp;&nbsp;&nbsp; else&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;strSQL=strSQL &amp; " OR " &amp; tmpSQL3 &amp; "))"<br>&nbsp;&nbsp;&nbsp; end if<br><br>And try :-<br><br>' HAM -&nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; tmpSQL<br>' HAM -&nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; " OR " &amp; tmpSQL2<br>&nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; tmpSQL2<br>&nbsp;&nbsp;&nbsp; if tIncludeSKU="true" then<br>' HAM -&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; " OR " &amp; tmpSQL3<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; " OR " &amp; tmpSQL4 &amp; "))"<br>&nbsp;&nbsp;&nbsp; else&nbsp;&nbsp;&nbsp; <br>' HAM -&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; " OR " &amp; tmpSQL3 &amp; "))"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strSQL=strSQL &amp; "))"&nbsp; ' HAM - Added line<br>&nbsp;&nbsp;&nbsp; end if<br><br>- Where&nbsp; 'HAM are lines I commented out - Note the EXTRA line after the last commented out line. <br><br>tmpSQL&nbsp; - Search of "Details"<br>tmpSQL2 - Search of "Description"<br>tmpSQL3 - Search of "Short&nbsp; Description"<br>tmpSQL4 - Search by SKU<br><br>I've NOT tested this code change and, of course (by design) it limits the breadth of the search.<br><br>&nbsp;]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 19:14:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5385.html#5385</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Thanks ]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5382.html#5382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=499">nathan</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 2:18pm<br /><br />Thanks]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 14:18:42 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5382.html#5382</guid>
  </item> 
  <item>
   <title><![CDATA[Making a field non-searchable?? : Hi Nathan,  I&amp;#039;ll take another...]]></title>
   <link>https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5381.html#5381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1621<br /><strong>Posted:</strong> 04-June-2008 at 1:42pm<br /><br />Hi Nathan,&nbsp; <br>&nbsp;&nbsp;&nbsp; I'll take another look&nbsp; at the code. <br>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 13:42:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/making-a-field-nonsearchable_topic1621_post5381.html#5381</guid>
  </item> 
 </channel>
</rss>