<?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 : Batch Print Shipping Labels</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Batch Print Shipping Labels]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 12:40:25 +0000</pubDate>
  <lastBuildDate>Wed, 14 Feb 2007 16: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=660</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[Batch Print Shipping Labels : Here is the code for BatchPrint.asp...]]></title>
   <link>https://forum.productcart.com/batch-print-shipping-labels_topic660_post1929.html#1929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=453">radarman</a><br /><strong>Subject:</strong> 660<br /><strong>Posted:</strong> 14-February-2007 at 4:06pm<br /><br /><P>Here is the code for BatchPrint.asp and some modifications I did to it. But it doesnt work as i wish it to. Can anyone tell or show me how to get it right?</P><P>The part i tried to adjust is in <FONT color=#ff0000>red</FONT></P><P><FONT color=#000000>The code i added is a Horizontal Looper that supposed to make 3 colums of the data between the code. It works on other pages i try with other data but not on this one.</FONT></P><P>Help?</P><P><table width="99%"><tr><td><pre class="BBcode">&lt;%&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pidcustomer=rs("idcustom er")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;porderdate=rs("orderdate ")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;porderdate=ShowDateFrmt( porderdate)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pAddress=rs("Address")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcity=rs("city")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pstate=rs("state")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pstateCode=rs("stateCode ")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if pstateCode="" then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pstateCode=pstate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pzip=rs("zip")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pCountryCode=rs("Country Code")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ppaymentDetails=trim(rs( "paymentDetails"))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshipmentDetails=rs("shi pmentDetails")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingAddress=rs("shi ppingAddress")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingCity=rs("shippi ngCity")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingStateCode=rs("s hippingStateCode")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingState=rs("shipp ingState")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if pshippingStateCode="" then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingStateCode =pshippingState<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingZip=rs("shippin gZip")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingCountryCode=rs( "shippingCountryCode")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingPhone=rs("digit alemailtext")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pidAffiliate=rs("idaffil iate")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;paffiliatePay=rs("affili atePay")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pdiscountDetails=rs("dis countDetails")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ptaxAmount=rs("taxAmount ")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ptotal=rs("total")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcomments=rs("comments")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;porderStatus=rs("orderSt atus")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pprocessDate=rs("process Date")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pprocessDate=ShowDateFrm t(pprocessDate)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshipDate=rs("shipDate")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshipDate=ShowDateFrmt(p shipdate)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshipvia=rs("shipvia")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ptrackingNum=rs("trackin gNum")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;preturnDate=rs("returnDa te")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;preturnDate=ShowDateFrmt (preturnDate)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;preturnReason=rs("return Reason")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingFullName=rs("Sh ippingFullName")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pord_DeliveryDate=rs("or d_DeliveryDate")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pord_OrderName=rs("ord_O rderName")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pOrdPackageNum=rs("ordPa ckageNum")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;piRewardPoints=rs("iRewa rdPoints")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;piRewardPointsCustAccrue d=rs("iRewardPointsCustAccrued") <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;piRewardValue=rs("iRewar dValue")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pAddress2=rs("address2")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingCompany=rs("shi ppingCompany")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pshippingAddress2=rs("sh ippingAddress2")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ptaxDetails=rs("taxDetai ls")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pSRF=rs("SRF")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pord_VAT=rs("ord_VAT")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcv_CatDiscounts=rs("pcO rd_CatDiscounts")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if pcv_CatDiscounts&lt;&gt;"" then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcv_CatDiscounts=" 0"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcgwAuthCode=rs("gwAuthC ode")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcgwTransId=rs("gwTransI d")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pcpaymentCode=rs("paymen tCode")</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mySQL="SELECT &#091;name&#093;,lastname,customerCompany,phone,email,customertype FROM customers WHERE idCustomer=" &amp; pidcustomer<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set rsCustObj=Server.CreateObject("ADODB.Recordset")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set rsCustObj=connTemp.execute(mySQL)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CustomerName=rsCustObj(" name")&amp; " " &amp; rsCustObj("lastname")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CustomerPhone=rsCustObj( "phone")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CustomerEmail=rsCustObj( "email")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CustomerCompany=rsCustOb j("customerCompany")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CustomerType=rsCustObj(" customertype")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set rsCustObj=nothing&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%&gt;<BR>&lt;/p&gt;<BR>&lt;table width="33%" cellpadding="5" cellspacing="0" class="invoice"&gt;<BR>&nbsp; &lt;tr&gt; <BR><FONT color=#ff0000>&lt;%&nbsp; <BR>Dim Repeat_rs__numRowsHL<BR>Dim Repeat_rs__indexHL</FONT></P><P><FONT color=#ff0000>Repeat_rs__numRowsHL = -1<BR>Repeat_rs__indexHL = 0<BR>rs_numRows = rs_numRows + Repeat_rs__numRowsHL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>While ((Repeat_rs__numRowsHL &lt;&gt; 0) AND (NOT rs.EOF))<BR>%&gt;</FONT><BR>&nbsp;&nbsp;&nbsp; &lt;td class="invoice"&gt; &lt;strong&gt;SHIP TO&lt;/strong&gt;:&lt;br&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pshippingAddress="" then %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% response.write "(Same as billing address)" %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% else %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pshippingFullName&lt;&gt;"" then<BR>&nbsp;&nbsp;response.write pshippingFullName<BR>&nbsp;&nbsp;else<BR>&nbsp;&nbsp;response.write CustomerName<BR>&nbsp;&nbsp;end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;br&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pshippingCompany&lt;&gt;"" then <BR>&nbsp;&nbsp;response.write pshippingCompany &amp; "&lt;br&gt;"<BR>&nbsp;&nbsp;else<BR>&nbsp;&nbsp;if customerCompany &lt;&gt; "" then<BR>&nbsp;&nbsp;response.write customerCompany &amp; "&lt;br&gt;"<BR>&nbsp;&nbsp;end if<BR>&nbsp;&nbsp;end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%=pshippingAddress%&gt;&lt;br&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pshippingAddress2&lt;&gt;"" then <BR>&nbsp;&nbsp;response.write pshippingAddress2&amp;"&lt;BR&gt;"<BR>&nbsp;&nbsp;end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;%=pshippingcity%&gt;,  &lt;%=pshippingStateCode%&gt;&amp;nbsp;&lt;%=pshippingZip%&a mp;a mp;g t; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pShippingCountryCode &lt;&gt; scShipFromPostalCountry then<BR>&nbsp;&nbsp;response.write "&lt;BR&gt;" &amp; pShippingCountryCode<BR>&nbsp;&nbsp;end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% if pshippingPhone &lt;&gt; "" then %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% end if %&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/td&gt;<BR><FONT color=#ff0000>&lt;%</FONT></P><P><FONT color=#ff0000>&nbsp;&nbsp;&nbsp; Repeat_rs__indexHL=Repeat_rs__indexHL+1<BR>&nbsp;&nbsp;&nbsp; Repeat_rs__numRowsHL=Repeat_rs__numRowsHL-1<BR>&nbsp;&nbsp;&nbsp; rs.MoveNext()<BR>&nbsp;&nbsp;&nbsp; if len(nested_rs)&lt;=0 then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nested_rs = 1<BR>&nbsp;&nbsp;&nbsp; end if<BR>&nbsp;&nbsp;&nbsp; if ((Repeat_rs__numRowsHL &lt;&gt; 0) AND (NOT rs.EOF) AND (nested_rs mod 3 = 0)) then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write "&lt;/tr&gt;&lt;tr&gt;"<BR>&nbsp;&nbsp;&nbsp; end if<BR>&nbsp;&nbsp;&nbsp; nested_rs = nested_rs + 1<BR>&nbsp; Wend<BR>%&gt;<BR></FONT>&nbsp; &lt;/tr&gt;<BR>&lt;/table&gt;</P><P>&lt;%end if%&gt;<BR>&lt;%<BR>&nbsp;Next<BR>&nbsp;closedb()<BR>%&gt;</pre></td></tr></table></P><span style="font-size:10px"><br /><br />Edited by radarman - 14-February-2007 at 4:08pm</span>]]>
   </description>
   <pubDate>Wed, 14 Feb 2007 16:06:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/batch-print-shipping-labels_topic660_post1929.html#1929</guid>
  </item> 
  <item>
   <title><![CDATA[Batch Print Shipping Labels : Does anyone know how to modify...]]></title>
   <link>https://forum.productcart.com/batch-print-shipping-labels_topic660_post1928.html#1928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=453">radarman</a><br /><strong>Subject:</strong> 660<br /><strong>Posted:</strong> 14-February-2007 at 1:55pm<br /><br /><P>Does anyone know how to modify the "batchPrint" page for packing slips to show only the customers name and address? and....how to get this to display with 3 across so this can be printed on a sheet of peel and stick labels?</P><P>Thanks</P>]]>
   </description>
   <pubDate>Wed, 14 Feb 2007 13:55:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/batch-print-shipping-labels_topic660_post1928.html#1928</guid>
  </item> 
 </channel>
</rss>