VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 Separate shipping into separate boxes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

85 Posts

Posted - February 25 2009 :  13:03:30  Show Profile  Reply with Quote
I'm using the Fedex realtime shipping calculator. One of my products has to ship by itself. Is there a way to specify this, so it calculates the shipping cost at 2 boxes and not one.

Senior Member

United Kingdom
1898 Posts

Posted - February 26 2009 :  00:13:06  Show Profile  Visit devshb's Homepage  Reply with Quote
I think it is possible to do what you're after without having to change any code; it seems to allow you to specify certain products to always be separated while others still continue to use the existing grouping logic

one of the functions which relates to this says this in its comments:
' need to see if package can be group with our products
' or needs to be shipped individually
' Individually if
' specifically individualpackages=Yes
' or check on product and individual product field said do it separately
' or xdeliveryshipping=Yes and there is a delivery address

I think what you'd do is edit fedexrtconfig.asp and change the "xcheckIndividualProductField" setting to the relevant column that you want to use on the products table that specifies a "separate override" value, ie these settings; you'd change "pother4" to any spare products column, then set that to any non-null value for products you want to separate:

'Set to Yes if individual product requires separate shipping calculation
' regardless of other settings
const xcheckIndividualProduct="No"
const xcheckIndividualProductField="pother4"

(you'd keep your "xcheckIndividualProduct" value set to No; the second option is a per-product level override of that first option)

eg if pother2 is not being used by the rest of your cart yet, you'd change this:
const xcheckIndividualProductField="pother4"
const xcheckIndividualProductField="pother2"
and then for any products that you want to separate out you'd set its pother2 value to something like "Yes" (anything other than a null will trigger separation)

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000