Welcome, Guest ( Customer Panel | Login )




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

marcop
Starting Member

Italy
7 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?

Thank''s
Marco

marcop
Starting Member

Italy
7 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
0 Item(s)
$0.00