VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: mansonul on December 07, 2011, 11:57:19 AM

Title: Please advice on how to calculate shipping taxes
Post by: mansonul on December 07, 2011, 11:57:19 AM
Hello,

In Romania we shipp our products with the national post office. They have a service called "ramburs" which on delivery they cash our clients with the amount that our client had agreed in the checkout from our online store. Then they (the post office) sends us the money.

Now, the problem is that the post office has a lot of taxes applied to this service. Here is the schema:

a) Fixed tax for choosing this service: 1.65 RON
b) Weight tax: kg * 1.65 RON (from 0.1kg to 1kg the value is 1.65, from 1.01kg to 2kg the value is 3.3, from 2.1kg to 3kg the value is 4.95, and so on)
c) Assurance tax: 0.22 RON
d) Tax applied to the checkout value: checkout value * 1.1% + 2.5 RON

And now an example (we sell books):

1 book has a weight of 245 grams and a value of 14 RON so virtuemart should calculate the shipping as this:

a"(1.65)"+b"(1.65)"+c"(0.22)"+d"(14*1.1%+2.5=0.154+2.5=2.654)"=6.174

I don`t know how to make this... Please advice!

Thank you!
Title: Re: Please advice on how to calculate shipping taxes
Post by: Milbo on December 07, 2011, 16:23:17 PM
I think in your case you need an adjusted shipment plugin. But maybe alatak knows a better way.
Title: Re: Please advice on how to calculate shipping taxes
Post by: Studio 42 on December 07, 2011, 16:48:03 PM
Hi,
I think an extra plugin is the only solution, because the rules must fith with Romania post office.