<?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 : Need help adding code to ordercomplete.asp</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Need help adding code to ordercomplete.asp]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 09:03:05 +0000</pubDate>
  <lastBuildDate>Thu, 05 Feb 2009 09:27:43 +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=2412</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[Need help adding code to ordercomplete.asp : Bueller? Anyone?  ]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8755.html#8755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 05-February-2009 at 9:27am<br /><br />Bueller?&nbsp; Anyone?]]>
   </description>
   <pubDate>Thu, 05 Feb 2009 09:27:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8755.html#8755</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Sorry EarlyImp, I wasn&amp;#039;t...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8700.html#8700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 03-February-2009 at 12:52pm<br /><br />Sorry EarlyImp, I wasn't implying that my questions were directed back to you by any means.&nbsp; I fully understand that you've done as much as you can in terms of product support. <br><br>As you pointed out, the means to implement this are already in place, it just requires another line or two of code to pass the right variables to the AvantLink api.&nbsp; If this were a complicated integration project I'd certainly enlist the services of a developer, but I really just need some very basic help.&nbsp; I've seen similar coding help provided plenty of times on this forum so I'm sure there's someone out there who can provide some assistance.<br><br>I appreciate all the help you gave and you definitely got me extremely close to solving the problem!<br>]]>
   </description>
   <pubDate>Tue, 03 Feb 2009 12:52:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8700.html#8700</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Seth, that is unfortunately where...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8690.html#8690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1">ProductCart</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 03-February-2009 at 5:04am<br /><br />Seth, that is unfortunately where we have to draw the line. We cannot help the vast ProductCart community implement source code changes. This would be a never-ending effort that is simply not economically sustainable for Early Impact.<br><br>What we are happy to do is to provide guidelines, as we did above. If you need assistance implementing these guidelines, however, you will need to contact a developer either through these forums, by using the list of <a href="http://www.earlyimpact.com/cpd" target="_blank">Certified ProductCart Developers</a> available on our Web site, or just by contacting any proficient ASP developer.<br>]]>
   </description>
   <pubDate>Tue, 03 Feb 2009 05:04:23 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8690.html#8690</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Thanks for the tip about the Analytics...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8682.html#8682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 02-February-2009 at 6:59pm<br /><br />Thanks for the tip about the Analytics page, I think that's definitely what I was looking for.&nbsp; Unfortunately I'm a bit of an amateur when it comes to coding, so forgive me for still needing help to figure this out.<br><br>Here's a couple more questions:&nbsp;&nbsp; <br><br>1.) In order to use the variables defined in <b>inc-GoogleAnalytics.asp</b> can I just add the line &lt;!--#include file="<b>inc-GoogleAnalytics.asp</b>"--&gt; to ordercomplete.asp? <br><br>2.) In order to calculate the order amount minus tax and shipping, would I have to define a new variable (say pPreTotal) and then have a line that reads: pPreTotal = pTotal - (pTaxAmount + pTotalShipping)&nbsp;&nbsp; ?&nbsp; Am I even close?&nbsp; :)<br><br>3.) In <b>inc-GoogleAnalytics.asp </b>it appears that it passes the item information (SKU, price quantity) for each item in the order on a new line. How do I get it to combine the info for all the items in the order into the one line of code as required?<br><br>My apologies again for asking for so much help, but that's what I love about EI and these forums so thank you in advance for any assistance!<br><br>]]>
   </description>
   <pubDate>Mon, 02 Feb 2009 18:59:52 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8682.html#8682</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : If you look at our integration...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8662.html#8662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1">ProductCart</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 02-February-2009 at 11:51am<br /><br />If you look at our integration with Google Analytics, you will see that we build item-level data into a string formatted according to the GA specifications in the file "pc/<b>inc-GoogleAnalytics.asp</b>".<br><br>This is used for the e-commerce integration with Google Analytics.<br><br>The code included in that file should definitely help you accomplish what you described above.<br>]]>
   </description>
   <pubDate>Mon, 02 Feb 2009 11:51:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8662.html#8662</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Sorry, I should have mentioned...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8627.html#8627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 30-January-2009 at 11:24am<br /><br />Sorry, I should have mentioned that I did find the variables for the OrderId, OrderTotal, but I didn't see anything in the wiki or the comment in ordercomplete.asp in regards to passing the order items as required.&nbsp;&nbsp; Is that something you can help me out with?<br><br>Also, EarlyImp, I would love it if you could let me know about the ability to pass the OrderTotal (pTotal) without Tax and Shipping included.&nbsp;&nbsp; This is a huge problem for those of us using any kind of third party affiliate program, if I send the pTotal amount I'm paying my affiliates a commission on tax and shipping which is clearly money lost on my end.&nbsp; I first posed the question in this thread but never got anywhere:&nbsp; http://www.earlyimpact.com/forum/forum_posts.asp?TID=2252&amp;KW=&amp;PID=7846<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Fri, 30 Jan 2009 11:24:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8627.html#8627</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Hi Seth, please see: http://wi...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8624.html#8624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1">ProductCart</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 30-January-2009 at 10:13am<br /><br />Hi Seth, please see: <a href="http://wiki.earlyimpact.com/how_to/add_tracking_code" target="_blank">http://wiki.earlyimpact.com/how_to/add_tracking_code</a>]]>
   </description>
   <pubDate>Fri, 30 Jan 2009 10:13:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8624.html#8624</guid>
  </item> 
  <item>
   <title><![CDATA[Need help adding code to ordercomplete.asp : Hey everyone - Instead of using...]]></title>
   <link>https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8617.html#8617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=507">TrekLightGear</a><br /><strong>Subject:</strong> 2412<br /><strong>Posted:</strong> 29-January-2009 at 7:13pm<br /><br />Hey everyone - <br><br>Instead of using the built-in affiliate feature in PC I partnered up with AvantLink to host my affiliate program.&nbsp;&nbsp; In order to integrate it, I got the following instructions:<br><br><blockquote>Add the following line of JavaScript to your order confirmation page:			<pre>&lt;script type="text/javascript" src="https://tracking.avantlink.com/avant_rfpc.php?mi=&#091;MERCHANT_ID&#093;&amp;ot=&#091;ORDERTOTAL&#093;&amp;on=&#091;ORDERNUMBER&#093;&amp;oi=&#091;ORDERITEMS&#093;"&gt;&lt;/script&gt;</pre>			<p><strong>Replace:</strong></p>			<p>&#091;MERCHANT_ID&#093; with the provided Merchant ID for your affiliate program</p>			<p>&#091;ORDERTOTAL&#093; with a variable that outputs the order total (without taxes, shipping)</p>			<p>&#091;ORDERNUMBER&#093;with a variable that outputs the order number so that we can matchaffiliate sales back to your internal order numbers.</p>			<p>&#091;ORDERITEMS&#093; Replace this with a delimited list of items that were part of the order.</p>			<p>Eachorder item needs to contain the SKU, Item Price (for a single item) andquantity and be delimited by the pipe (|) character:</p>			<p>SKU|Price|Quantity</p>			<p>For orders that contain multiple items, each item should be delimited with the tilde (~) character. Example with multiple items:</p>			<p>SKU1|Price1|Quantity1~SKU2|Price2|Quantity2</p>			<p>Here's a full example of what the javascript would look like for an order with 2 items:</p>			<pre>&lt;script type="text/javascript" src="https://tracking.avantlink.com/avant_rfpc.php?mi=11111&amp;ot=48.99&amp;on=1234&amp;oi=TNF0123|19.99|1~TNF4567|29.00|1"&gt;&lt;/script&gt;</pre>						<p><i>Note:The SKUs passed to us in the tracking need to match the SKUs in theproduct datafeed you provide to us so that we can properly report onthe sale item details.</i></p><p><br></p></blockquote>If anyone could help me figure out what the correct variables are that I need to include in the code to meet the requirements I would greatly appreciate it.&nbsp; I tried searching the Wiki as well as the Forum but couldn't find the right info to help me figure this out.<br><br>]]>
   </description>
   <pubDate>Thu, 29 Jan 2009 19:13:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/need-help-adding-code-to-ordercomplete-asp_topic2412_post8617.html#8617</guid>
  </item> 
 </channel>
</rss>