<?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 : Report on ALL Referrers?</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Using ProductCart : Report on ALL Referrers?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 14:34:50 +0000</pubDate>
  <lastBuildDate>Thu, 24 Feb 2011 15:17:16 +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=4304</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[Report on ALL Referrers? : That did it, thanks again Brett!...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16893.html#16893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 24-February-2011 at 3:17pm<br /><br />That did it, thanks again Brett!]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 15:17:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16893.html#16893</guid>
  </item> 
  <item>
   <title><![CDATA[Report on ALL Referrers? : Hey TrekLight,  I&amp;#039;m glad...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16892.html#16892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1159">Brett</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 24-February-2011 at 2:12pm<br /><br />Hey TrekLight,<br /><br />I'm glad the solution I posted works for you :) The glitch you noticed is from some testing code I had in there that I forgot to remove. Go to line 163 of RefsalesReport.asp and remove lines 163 through 167:<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />&lt;tr class="normal"&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td colspan="8"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%=query%&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br />&lt;/tr&gt;<br /></pre></td></tr></table><br /><br />Then you shouldn't get the query displaying on your reports any more.<br /><br />*edit*<br /><br />Here's the updated file in case you don't want to get into the code: <a href="uploads/1159/RefsalesReport_new.zip" target="_blank">RefsalesReport_new.zip</a><span style="font-size:10px"><br /><br />Edited by Brett - 24-February-2011 at 2:14pm</span>]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 14:12:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16892.html#16892</guid>
  </item> 
  <item>
   <title><![CDATA[Report on ALL Referrers? : Hi Brett -   Just wanted to let...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16891.html#16891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 24-February-2011 at 1:38pm<br /><br />Hi Brett - <br /><br />Just wanted to let you know I finally had a chance to merge the code and it looks like it's working successfully!&nbsp;&nbsp;&nbsp;The only weird glitch I noticed  is that above each section/referral code in the report it's displaying the SQL code:<br /><br />SELECT orders.idorder,orders.idcustomer,orders.total,orders.shipmentDetails,orders.paymentDetails,orders.taxAmount,orders.discountDetails,orders.orderDate,orders.processDate,orders.shipDate,orders.ord_VAT FROM Orders INNER JOIN customers ON (orders.idcustomer=customers.idcustomer) WHERE (orders.IDRefer =1 OR customers.IDRefer =1) AND ((orders.orderStatus&gt;2 AND orders.orderStatus&lt;5) OR (orders.orderStatus&gt;6 AND orders.orderStatus&lt;9) OR (orders.orderStatus=10 OR orders.orderStatus=12)) AND orders.orderDate &gt;='1/1/2011' AND orders.orderDate &lt;='2/24/2011' ORDER BY orders.orderDate DESC;  <br /><br />Any idea what's causing that to display in the report?<br /><br />Many thanks for your help!!!]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 13:38:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16891.html#16891</guid>
  </item> 
  <item>
   <title><![CDATA[Report on ALL Referrers? : Thanks for the quick reply Brett.I&amp;#039;m...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16785.html#16785</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 10-February-2011 at 1:48pm<br /><br />Thanks for the quick reply Brett.&nbsp;&nbsp;&nbsp;I'm swamped at the moment but I'll compare the files and test out the new code as soon as I get a chance.  I'll let you know how it goes - I sincerely appreciate the help!]]>
   </description>
   <pubDate>Thu, 10 Feb 2011 13:48:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16785.html#16785</guid>
  </item> 
  <item>
   <title><![CDATA[Report on ALL Referrers? : Try these two files and let me...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16780.html#16780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1159">Brett</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 09-February-2011 at 4:13pm<br /><br />Try these two files and let me know if they fix your problem. It adds an "All Referrers" option to the dropdown, and if it is chosen then the resulting report behaves a bit differently, reporting all referrers in order instead of just one. No guarantees it will work, since I don't have any orders tied to referrers to verify it against. Also, I'm not sure if these files have been modified aside from this change, so run a compare against them before overwriting your files.<a href="uploads/1159/srcOrdByDate_RefsalesReport.zip" target="_blank">srcOrdByDate_RefsalesReport.zip</a><br /><br />Basically I modified srcOrdByDate.asp to change the dropdown for referrers to this:<br /><table width="99%"><tr><td><pre class="BBcode"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;select name="IdRefer"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;option value="0"&gt;All Referrers&lt;/option&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%do while not rsCustRef.eof%&gt;<br /></pre></td></tr></table><br />...so that adds a new option for all referrers, with value 0<br /><br /><br />Then, in RefsalesReport, I added a couple if statements to change the database queries:<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br /><br />if IdRefer=0 then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mySQL="SELECT Name,IdRefer FROM Referrer;"<br />else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mySQL="SELECT Name,IdRefer FROM Referrer WHERE IdRefer=" & IdRefer<br />end if<br /></pre></td></tr></table><br /><br />and a new variable:<br /><table width="99%"><tr><td><pre class="BBcode"><br />do while not rs1.eof<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Referrer=rs1("Name")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;newIdRefer=rs1("IdRefer")<br />if IdRefer=0 then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query="SELECT orders.idorder,orders.idcustomer,orders.total,orders.shipmentDetails,orders.paymentDetails,orders.taxAmount,orders.discountDetails,orders.orderDate,orders.processDate,orders.shipDate,orders.ord_VAT FROM Orders INNER JOIN customers ON (orders.idcustomer=customers.idcustomer) WHERE (orders.IDRefer =" & newIDRefer & " OR customers.IDRefer =" & newIDRefer & ") AND ((orders.orderStatus&gt;2 AND orders.orderStatus&lt;5) OR (orders.orderStatus&gt;6 AND orders.orderStatus&lt;9) OR (orders.orderStatus=10 OR orders.orderStatus=12)) " & TempSQL1 & TempSQL2 & TempSpecial & " ORDER BY " & tmpD & " DESC;"<br />else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query="SELECT orders.idorder,orders.idcustomer,orders.total,orders.shipmentDetails,orders.paymentDetails,orders.taxAmount,orders.discountDetails,orders.orderDate,orders.processDate,orders.shipDate,orders.ord_VAT FROM Orders INNER JOIN customers ON (orders.idcustomer=customers.idcustomer) WHERE (orders.IDRefer =" & IDRefer & " OR customers.IDRefer =" & IDRefer & ") AND ((orders.orderStatus&gt;2 AND orders.orderStatus&lt;5) OR (orders.orderStatus&gt;6 AND orders.orderStatus&lt;9) OR (orders.orderStatus=10 OR orders.orderStatus=12)) " & TempSQL1 & TempSQL2 & TempSpecial & " ORDER BY " & tmpD & " DESC;"<br />end if<br /></pre></td></tr></table><br /><br />I believe these will accomplish what you want, but no guarantees!]]>
   </description>
   <pubDate>Wed, 09 Feb 2011 16:13:18 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16780.html#16780</guid>
  </item> 
  <item>
   <title><![CDATA[Report on ALL Referrers? : Does anyone know of an easy way...]]></title>
   <link>https://forum.productcart.com/report-on-all-referrers_topic4304_post16779.html#16779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 4304<br /><strong>Posted:</strong> 09-February-2011 at 1:36pm<br /><br />Does anyone know of an easy way to run a report showing all referrers selected during checkout during a specific time period?<br /><br />Most other reports in the report center have the option of 'All' but for some reason the Referrer reporting requires you to run an individual report for each option and it makes much more sense to be able to see all referrers chosen during a given time period for comparison.<br /><br />On a side note, being able to see this data in a pie chart form (like the sales data) would be a great way to see which Referrals are the most effective.  Two pie charts would probably be best - one showing the breakdown by # of referrals and the other showing it by sales totals.]]>
   </description>
   <pubDate>Wed, 09 Feb 2011 13:36:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/report-on-all-referrers_topic4304_post16779.html#16779</guid>
  </item> 
 </channel>
</rss>