<?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 : sort by sku</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : sort by sku]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 10 Apr 2026 18:44:49 +0000</pubDate>
  <lastBuildDate>Sat, 08 Mar 2014 23:06:25 +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=5816</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[sort by sku :  It worked!!! Thank you so much....]]></title>
   <link>https://forum.productcart.com/sort-by-sku_topic5816_post21880.html#21880</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1444">ym</a><br /><strong>Subject:</strong> 5816<br /><strong>Posted:</strong> 08-March-2014 at 11:06pm<br /><br />It worked!!! Thank you so much.]]>
   </description>
   <pubDate>Sat, 08 Mar 2014 23:06:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/sort-by-sku_topic5816_post21880.html#21880</guid>
  </item> 
  <item>
   <title><![CDATA[sort by sku : Thanks for the clarification.This...]]></title>
   <link>https://forum.productcart.com/sort-by-sku_topic5816_post21876.html#21876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5816<br /><strong>Posted:</strong> 07-March-2014 at 11:43pm<br /><br />Thanks for the clarification.<div><br></div><div>This is easy to tweak.</div><div><br></div><div>In /pc/showfeatured.asp, find:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">		</span>Case "0": querySort = " ORDER BY pcprod_OrdInHome asc"</div></div><div></pre></td></tr></table></div><div>replace that with the following:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">		</span>'Modified to sort by date entered by default:</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>'Case "0": querySort = " ORDER BY pcprod_OrdInHome asc"</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>Case "0": querySort = " ORDER BY pcprod_OrdInHome ASC, products.pcprod_EnteredOn DESC"</div></div><div></pre></td></tr></table></div><div><br></div><div>Then find:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>query="SELECT distinct products.idProduct, products.sku, products.description, products.price, products.listHidden, products.listPrice, products.serviceSpec, products.bToBPrice, products.smallImageUrl, products.noprices, products.stock, products.noStock, products.pcprod_HideBTOPrice, products.pcprod_OrdInHome, products.formQuantity, products.pcProd_BackOrder FROM products, categories_products, categories WHERE products.active=-1 AND products.showInHome=-1 AND products.configOnly=0 AND products.removed=0 " &amp; queryNFS &amp; " AND categories_products.idProduct=products.idProduct AND categories.idCategory=categories_products.idCategory AND categories.iBTOhide=0 " &amp; query1 &amp; querySort</div></div><div></pre></td></tr></table></div><div>Replace that with the following:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>'Modified to include to include products.pcprod_EnteredOn:</div><div>'query="SELECT distinct products.idProduct, products.sku, products.description, products.price, products.listHidden, products.listPrice, products.serviceSpec, products.bToBPrice, products.smallImageUrl, products.noprices, products.stock, products.noStock, products.pcprod_HideBTOPrice, products.pcprod_OrdInHome, products.formQuantity, products.pcProd_BackOrder FROM products, categories_products, categories WHERE products.active=-1 AND products.showInHome=-1 AND products.configOnly=0 AND products.removed=0 " &amp; queryNFS &amp; " AND categories_products.idProduct=products.idProduct AND categories.idCategory=categories_products.idCategory AND categories.iBTOhide=0 " &amp; query1 &amp; querySort</div><div>query="SELECT distinct products.idProduct, products.sku, products.description, products.price, products.listHidden, products.listPrice, products.serviceSpec, products.bToBPrice, products.smallImageUrl, products.noprices, products.stock, products.noStock, products.pcprod_HideBTOPrice, products.pcprod_OrdInHome, products.formQuantity, products.pcProd_BackOrder, products.pcprod_EnteredOn FROM products, categories_products, categories WHERE products.active=-1 AND products.showInHome=-1 AND products.configOnly=0 AND products.removed=0 " &amp; queryNFS &amp; " AND categories_products.idProduct=products.idProduct AND categories.idCategory=categories_products.idCategory AND categories.iBTOhide=0 " &amp; query1 &amp; querySort</div></div><div></pre></td></tr></table></div><div><br></div><div>If you actually assign sort order values to your featured products in the Control Panel, those will trump with this query. If you don't, then everything will be ordered by the date added to the database.</div><div><br></div><div>You can therefore have the best of both by using the ordering option in the CP if you want to pop certain products to the top, else everything will be ordered by date entered from most recent to oldest.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 07 Mar 2014 23:43:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/sort-by-sku_topic5816_post21876.html#21876</guid>
  </item> 
  <item>
   <title><![CDATA[sort by sku :  Thank you for the reply. I&amp;#039;m...]]></title>
   <link>https://forum.productcart.com/sort-by-sku_topic5816_post21874.html#21874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1444">ym</a><br /><strong>Subject:</strong> 5816<br /><strong>Posted:</strong> 07-March-2014 at 10:37pm<br /><br />Thank you for the reply. I'm reffering to the featured products page. (showfeatured.asp)<div>And I meant "order by". </div><div>&nbsp;</div><div>I'm adding new products frequently and when this page (showfeatured.asp) is loaded, I'd like to show new products first.</div>]]>
   </description>
   <pubDate>Fri, 07 Mar 2014 22:37:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/sort-by-sku_topic5816_post21874.html#21874</guid>
  </item> 
  <item>
   <title><![CDATA[sort by sku : Are you referring to this display...]]></title>
   <link>https://forum.productcart.com/sort-by-sku_topic5816_post21872.html#21872</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5816<br /><strong>Posted:</strong> 07-March-2014 at 9:33pm<br /><br />Are you referring to this display on the home page, the featured products page, or both? And do you really mean "sort by" (a user interface option) or just "order by" (a database query option)?<div><br></div><div>Just looking for a some clarification to be able to assist you with what you really want here.</div>]]>
   </description>
   <pubDate>Fri, 07 Mar 2014 21:33:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/sort-by-sku_topic5816_post21872.html#21872</guid>
  </item> 
  <item>
   <title><![CDATA[sort by sku :  I&amp;#039;d like to display all...]]></title>
   <link>https://forum.productcart.com/sort-by-sku_topic5816_post21870.html#21870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1444">ym</a><br /><strong>Subject:</strong> 5816<br /><strong>Posted:</strong> 07-March-2014 at 9:23am<br /><br />I'd like to display all featured products by sku, newly added products&nbsp;first and older products in the last row. It looks like by default,&nbsp;it's opposite.&nbsp;Does anybody know the solutions? Thank you.]]>
   </description>
   <pubDate>Fri, 07 Mar 2014 09:23:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/sort-by-sku_topic5816_post21870.html#21870</guid>
  </item> 
 </channel>
</rss>