<?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 : Stock Level on a Category Page</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Stock Level on a Category Page]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 20:38:16 +0000</pubDate>
  <lastBuildDate>Thu, 31 May 2012 14:08:40 +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=5143</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[Stock Level on a Category Page : Hi SeanI only used part of the...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19696.html#19696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=667">avalight</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 31-May-2012 at 2:08pm<br /><br />Hi Sean<br>I only used part of the code, as the products that I was showing were not apparel products and in a special category I created for Quick Ship Products.<br><br>&#091;code&#093;<br>&lt;% if pIDCategory=35 then %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p class="pcShowProductStock"&gt;Stock on Hand: &lt;%=pStock%&gt;&lt;/p&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<br>&#091;code&#093;<br><br>In your code, does the stock on hand show alongside each product option without having to click?<br><br>Anyway, it was helpful to get this from you.<br><br>Thanks<br>Curt<br><br>]]>
   </description>
   <pubDate>Thu, 31 May 2012 14:08:40 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19696.html#19696</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : Hi Curt,How&amp;#039;d it go?I do...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19689.html#19689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 31-May-2012 at 4:02am<br /><br />Hi Curt,<div><br></div><div>How'd it go?&nbsp;</div><div><br></div><div>I do see a little syntax error in my directions above, though. This bit should be:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><span style="font-family: 'Courier New', Courier, mono; text-align: left; white-space: pre; : rgb251, 251, 253; ">pcv_intApparel=pcArray_Products(16,pCnt) '// rs("pcProd_Apparel&nbsp;")</span></div><div></pre></td></tr></table></div><div><br></div><div>I hope that didn't throw you.</div><div><br></div><div>This is so "doable" that I'd like to add it to the wiki once I know how it went for you.&nbsp;<br>< id="Siber_1" ="applicati&#111;n/rf-chrome-plugin" style="left: 0px; top: 0px; width: 0px; height: 0px; : fixed; display: block; "></div>]]>
   </description>
   <pubDate>Thu, 31 May 2012 04:02:20 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19689.html#19689</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : Wow, thanks, I will check it out...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19653.html#19653</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=667">avalight</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 24-May-2012 at 11:05am<br /><br />Wow, thanks, I will check it out and let you know how it went.<br>Best<br>Curt<br>]]>
   </description>
   <pubDate>Thu, 24 May 2012 11:05:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19653.html#19653</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : Hi Curt,I couldn&amp;#039;t resist...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19651.html#19651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 24-May-2012 at 3:14am<br /><br />Hi Curt,<div><br></div><div>I couldn't resist looking into this before I shut down tonight.</div><div><br></div><div>Displaying the stock qty is a snap as the data is already there. You can simply place something like the following on any pcShowProduct*.asp page wherever you'd like it:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>&lt;p class="myShowStock"&gt;stock: &lt;%=pStock%&gt;&lt;/p&gt;</div><div></pre></td></tr></table></div><div>I would probably put this right above the "more info" and "buy" buttons.</div><div><br></div><div>To limit this to only display for non-apparel products, you'll need to tweak some stock code.</div><div><br></div><div>First, you'll need to add the field to the query generating the array of product data. Find:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>'// Query Products of current category</div><div></pre></td></tr></table></div><div>Below that is the query you'll need to edit. In that query, find:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>products.pcProd_BackOrder FROM products</div><div></pre></td></tr></table></div><div>Add the new field so that part is now:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>products.pcProd_BackOrder, products.pcProd_Apparel FROM products</div><div></pre></td></tr></table></div><div>Now capture that from the product array to use later. Find:&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>pcv_intBackOrder=pcArray_Products(15,pCnt) '// rs("pcProd_BackOrder")</div><div></pre></td></tr></table></div><div>Below that, add:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>pcv_intApparel=pcArray_Products(16,pCnt) '// rs(".pcProd_Apparel&nbsp;")</div><div></pre></td></tr></table></div><div>Now you can use this information on your display intelligently, so that the above display markup would be instead, like this:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>&lt;% if pcv_intApparel &lt;&gt; 1 then %&gt;</div><div>&lt;p class="myShowStock"&gt;stock: &lt;%=pStock%&gt;&lt;/p&gt;</div><div>&lt;% end if %&gt;</div><div></pre></td></tr></table></div></div><div>I expect that should do what you're looking for.</div>]]>
   </description>
   <pubDate>Thu, 24 May 2012 03:14:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19651.html#19651</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : Hi SeanHere is the category page...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19649.html#19649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=667">avalight</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 24-May-2012 at 12:58am<br /><br />Hi Sean<br>Here is the category page i am putting this on:&nbsp; <a href="http://www.modernclassics.com/store/pc/Quick-Ship-Products-c35.htm" target="_blank" rel="nofollow">page link</a><br>So I think that is horizontal.<br>I think the code mod is in the pcShowProductH.asp, around line 33<br><br>I am using V4.5a<br><br>Best<br>Curt<br>]]>
   </description>
   <pubDate>Thu, 24 May 2012 00:58:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19649.html#19649</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : Hi Curt,This is easily doable...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19648.html#19648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 24-May-2012 at 12:41am<br /><br />Hi Curt,<div><br></div><div>This is easily doable ... I just haven't had a minute to respond with instruction on it today.&nbsp;</div><div><br></div><div>Meanwhile, could you let us know what layout you're using for your category pages?</div>]]>
   </description>
   <pubDate>Thu, 24 May 2012 00:41:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19648.html#19648</guid>
  </item> 
  <item>
   <title><![CDATA[Stock Level on a Category Page : HelloI am interested in displaying...]]></title>
   <link>https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19646.html#19646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=667">avalight</a><br /><strong>Subject:</strong> 5143<br /><strong>Posted:</strong> 23-May-2012 at 12:38pm<br /><br />Hello<br>I am interested in displaying the units on hand for a non-apparel product on the category page.&nbsp; The information shows up on the product page, but the visitor must click through before they can see how many units are in our inventory.&nbsp; Perhaps this is a small tweak to the code, I don't know.&nbsp; <br><br>Thoughts, anyone?<br>Thanks<br>curt<br><br>]]>
   </description>
   <pubDate>Wed, 23 May 2012 12:38:47 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/stock-level-on-a-category-page_topic5143_post19646.html#19646</guid>
  </item> 
 </channel>
</rss>