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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 General help me questions
 Shipping Method by Weight?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

RC
Starting Member

3 Posts

Posted - October 26 2005 :  12:36:16  Show Profile  Reply with Quote
Hi,

Is there a way to select a shipping method based on the total weight of the order? I know it calculates a shipping price based on the weight, but we would like to choose Shipping Method A or B based on the total weight.

Thank you,
RC


RC
Starting Member

3 Posts

Posted - October 26 2005 :  13:28:25  Show Profile  Reply with Quote
Figured it out.

The subroutine 'GetTotalproductweight' that sits in ShopProductSubs.asp calculates TotalWeight and returns it to ShopShippingCalc.asp.

I call that subroutine from ShopCustomerForm.asp by adding some code in the sub 'ShopShippingForm' and use the returned TotalWeight value, compare it against my constant weight values, and return a proper tshipmethod.

Works fine.


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000