<?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 : Productcart variables</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Productcart variables]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 00:51:46 +0000</pubDate>
  <lastBuildDate>Sat, 11 Mar 2006 00:20:10 +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=150</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[Productcart variables : Hi, I am no pro,asp istotally...]]></title>
   <link>https://forum.productcart.com/productcart-variables_topic150_post418.html#418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=74">watercrazed</a><br /><strong>Subject:</strong> 150<br /><strong>Posted:</strong> 11-March-2006 at 12:20am<br /><br /><P>Hi,</P><P>I am no pro,&nbsp;asp is&nbsp;totally new to me,&nbsp;but here is my best, I use Access not sure what the differences in sturcture for sql.&nbsp; I think some of the variables you are&nbsp;are looking for are calculated on the fly, But I am only familiar with a small number of the tables used</P><P>&nbsp;</P><P>PageName = "pidproduct"</P><P dir=ltr style="MARGIN-RIGHT: 0px">There is no one variable for page name viewPrd.asp?idcategory=52&amp;idproduct=1342 That page would have 2 variables defining it. I think pidproduct is a field basicly defined&nbsp;in the product table in the data base if you call that it will return the number of the product. it is also used in other tables like the one below.</P><P>ContentGroup = "pidcategory"</P><P>See above</P><P>Transaction = "<FONT face="Courier New" size=2>pcCartIndex</FONT>"</P><P>Not sure What you mean by transaction</P><P>TransactionId = "<FONT face="Courier New" size=2>pcCartSession</FONT>"</P><P>Cart session is a unique identifier that is created I think when a browser first opens a page of the cart.&nbsp; I think if the browser is closed and the same person comes back they will have a new number</P><P>OrderProduct = </P><P>Not sure what you are looking for, if trying to call the products in an order, you would need both the order number and the idproduct associated with it see the table I pasted below</P><P>OrderCategory =</P><P>Really... not sure about this one</P><P>OrderQuantity =</P><P>I don't think the total order quantity is stored, at least not in the database, there may be a dymanic variable the code creates for this. I have pasted a part of my database table productsordered&nbsp;that shows&nbsp;how the&nbsp;orders are tracked&nbsp;</P><P>If more than one of an item is ordered it is stored in the table below under quantity</P><P>OrderAmount =</P><P>If you are looking for the number of products order note that individual records are created for each type of product in an order ie order # 7</P><P>Are you looking for $ amount: with or without shipping</P><P><TABLE cellSpacing=0 bgColor=#ffffff border=1><FONT face=Arial color=#000000><CAPTI&#079;N><B></B></CAPTI&#079;N></FONT><T><TR><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idProductOrdered</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idOrder</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idProduct</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>service</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>quantity</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idOptionA</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idOptionB</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>unitPrice</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>unitCost</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>xfdetails</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>idconfigSession</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>rmaSubmitted</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>QDiscounts</FONT></TH><TH borderColor=#000000 bgColor=#c0c0c0><FONT face=Arial color=#000000 size=2>ItemsDiscounts</FONT></TH></TR></T><T><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>952</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>10.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>2</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>2</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>625</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>5.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>3</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>3</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>625</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>5.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>4</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>4</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>815</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>21.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>5</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>5</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>973</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>37.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>6</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>6</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>919</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>222</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>175.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>7</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>7</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>919</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>223</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>175.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>8</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>7</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>620</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>17.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>9</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>8</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>949</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>No</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>1</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>14.99</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0><FONT face=Arial color=#000000 size=2><BR></FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD><TD borderColor=#c0c0c0 align=right><FONT face=Arial color=#000000 size=2>0</FONT></TD></TR></T><TFOOT></TFOOT></TABLE></P>]]>
   </description>
   <pubDate>Sat, 11 Mar 2006 00:20:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/productcart-variables_topic150_post418.html#418</guid>
  </item> 
  <item>
   <title><![CDATA[Productcart variables : i&amp;#039;m not too familiar with...]]></title>
   <link>https://forum.productcart.com/productcart-variables_topic150_post416.html#416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=116">Mr.Art</a><br /><strong>Subject:</strong> 150<br /><strong>Posted:</strong> 09-March-2006 at 1:13pm<br /><br /><P>i'm not too familiar with asp. I'm trying to figure out&nbsp;some variables that productcart uses. I need the variable so i can pass them to our tracking code for dynamic page tracking. Can someone help me out. Pasted below are the variables i need and the ones i think i got right. </P><P>PageName = "pidproduct"</P><P>ContentGroup = "pidcategory"</P><P>Transaction = "<FONT face="Courier New" size=2>pcCartIndex</FONT>"</P><P>TransactionId = "<FONT face="Courier New" size=2>pcCartSession</FONT>"</P><P>OrderProduct = </P><P>OrderCategory =</P><P>OrderQuantity =</P><P>OrderAmount =</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 13:13:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/productcart-variables_topic150_post416.html#416</guid>
  </item> 
 </channel>
</rss>