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
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Shipping pricepercent
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

6 Posts

Posted - April 03 2013 :  07:07:21  Show Profile  Reply with Quote
Hi all,
I setup shipping config to use pricepercent method. To do this I set:
xshippingcalc = "pricepercent"
Xfixedshippingcost = ".2"

But VP ASP seems not to calculates the percent, it need at least one shipping method with one value, but if I put ".2" then VP ASP calculates fixed price 0.2 USD...

Can anyone help me?


Starting Member

6 Posts

Posted - April 03 2013 :  11:20:26  Show Profile  Reply with Quote
I found the error.
There is an error in the user manual and in the source code.
I need to insert the Xfixedshippingcost = 20 and change shopshippingcalc.asp for the PRICEEPERCENT adding a division by 100: shippingcost = totalprice * percent / 100

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