<?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 : Wholesale shipping options</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Wholesale shipping options]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 07:53:49 +0000</pubDate>
  <lastBuildDate>Thu, 27 Jan 2011 06:00:19 +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=4276</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[Wholesale shipping options : Ah ya, I figured it would be an...]]></title>
   <link>https://forum.productcart.com/wholesale-shipping-options_topic4276_post16669.html#16669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1159">Brett</a><br /><strong>Subject:</strong> 4276<br /><strong>Posted:</strong> 27-January-2011 at 6:00am<br /><br />Ah ya, I figured it would be an if statement with a second set of database fields. I'm glad you figured out the solution! I've never really used Wholesale customers so I didn't really know where to begin.]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 06:00:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/wholesale-shipping-options_topic4276_post16669.html#16669</guid>
  </item> 
  <item>
   <title><![CDATA[Wholesale shipping options : I was able to find a work around...]]></title>
   <link>https://forum.productcart.com/wholesale-shipping-options_topic4276_post16668.html#16668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1572">eeversole</a><br /><strong>Subject:</strong> 4276<br /><strong>Posted:</strong> 26-January-2011 at 10:00pm<br /><br />I was able to find a work around for this.&nbsp; In my case, I was looking to show separate flat rate shipping amounts based on order amount for our Retail and Wholesale customers.&nbsp; What I first did was create two new fields in the FlatShipTypeRules table of the database. I named the first “quantityFromWholesale” and the second “quantityToWholesale”.&nbsp; I then entered my From and To price for my Wholesale customers in those fields as well as my Shipping Price for that scenario.<br><br>I then edited the ShipRates.asp file as follows (adding an IF THEN statement for customerType).<br><br>I replaced the following code:<br><br>If len(VarWQP)&gt;0 Then<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; &nbsp; select case VarWQP<br>&nbsp;&nbsp;&nbsp; &nbsp; case "W"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;intCustomShipWeight&amp; " AND quantityFrom&lt;=" &amp;intCustomShipWeight<br>&nbsp;&nbsp;&nbsp; &nbsp; case "Q"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;pCartShipQuantity &amp; " AND quantityFrom&lt;=" &amp; pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp; case "P"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp; pShipSubTotal &amp; " AND quantityFrom&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "O"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp; pShipSubTotal &amp; " AND quantityFrom&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "I"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; if pCartShipQuantity=1 then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; end if<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice, quantityTo FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityFrom&lt;=" &amp; pCartShipQuantity2<br>&nbsp;&nbsp;&nbsp; &nbsp; end select<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>WITH<br><br><br>If len(VarWQP)&gt;0 Then<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;if session("customerType")=1 then <br>&nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp; select case VarWQP<br>&nbsp;&nbsp;&nbsp; &nbsp; case "W"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;intCustomShipWeight&amp; " AND quantityFrom&lt;=" &amp;intCustomShipWeight<br>&nbsp;&nbsp;&nbsp; &nbsp; case "Q"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;pCartShipQuantity &amp; " AND quantityFrom&lt;=" &amp; pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp; case "P"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityToWholesale&gt;=" &amp; pShipSubTotal &amp; " AND quantityFromWholesale&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "O"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp; pShipSubTotal &amp; " AND quantityFrom&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "I"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; if pCartShipQuantity=1 then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; end if<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice, quantityTo FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityFrom&lt;=" &amp; pCartShipQuantity2<br>&nbsp;&nbsp;&nbsp; &nbsp; end select<br><br>&nbsp;&nbsp;&nbsp; &nbsp;else <br>&nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; select case VarWQP<br>&nbsp;&nbsp;&nbsp; &nbsp; case "W"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;intCustomShipWeight&amp; " AND quantityFrom&lt;=" &amp;intCustomShipWeight<br>&nbsp;&nbsp;&nbsp; &nbsp; case "Q"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp;pCartShipQuantity &amp; " AND quantityFrom&lt;=" &amp; pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp; case "P"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp; pShipSubTotal &amp; " AND quantityFrom&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "O"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityTo&gt;=" &amp; pShipSubTotal &amp; " AND quantityFrom&lt;=" &amp; pShipSubTotal<br>&nbsp;&nbsp;&nbsp; &nbsp; case "I"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; if pCartShipQuantity=1 then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=2<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; pCartShipQuantity2=pCartShipQuantity<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; end if<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; mySQL2="SELECT shippingPrice, quantityTo FROM FlatShipTypeRules WHERE idFlatShipType="&amp; idTemp &amp;" AND quantityFrom&lt;=" &amp; pCartShipQuantity2<br>&nbsp;&nbsp;&nbsp; &nbsp; end select<br>&nbsp;&nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp; end if <br><br>That's it.<br>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 22:00:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/wholesale-shipping-options_topic4276_post16668.html#16668</guid>
  </item> 
  <item>
   <title><![CDATA[Wholesale shipping options : You&amp;#039;ll probably want to edit...]]></title>
   <link>https://forum.productcart.com/wholesale-shipping-options_topic4276_post16661.html#16661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1159">Brett</a><br /><strong>Subject:</strong> 4276<br /><strong>Posted:</strong> 26-January-2011 at 4:20pm<br /><br />You'll probably want to edit this page: opc_chooseShpmnt.zip and add a few if statements to determine whether the customer is retail or wholesale. This is he page which displays the shipping options.<br /><br />*edit*<br /><br />I realize this isn't a "real solution". The reason you're having trouble finding one is that this is probably a bit of work to do. Maybe you should contact one of the accredited developers on the EarlyImpact website. Otherwise, if you're handy with ASP and ProductCart, you should be able to do this pretty easily if you start at opc_chooseShpmnt.zip.<br /><br />I'd suggest starting near line 507. I'll take a look at this some time in the future if I get time.<span style="font-size:10px"><br /><br />Edited by Brett - 26-January-2011 at 4:23pm</span>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 16:20:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/wholesale-shipping-options_topic4276_post16661.html#16661</guid>
  </item> 
  <item>
   <title><![CDATA[Wholesale shipping options : Hello,We are needing to setup...]]></title>
   <link>https://forum.productcart.com/wholesale-shipping-options_topic4276_post16659.html#16659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1572">eeversole</a><br /><strong>Subject:</strong> 4276<br /><strong>Posted:</strong> 26-January-2011 at 3:22pm<br /><br />Hello,<br><br>We are needing to setup separate shipping options for our Retail and Wholesale customers.&nbsp; I have searched this forum and have seen the question asked but no real solution offered as of yet.&nbsp; It is very important for us to get this setup.<br><br>If anyone has any ideas on how this might be accomplished I would really appreciate it. <br><br>Thank you.<br>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 15:22:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/wholesale-shipping-options_topic4276_post16659.html#16659</guid>
  </item> 
 </channel>
</rss>