News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Various problems with VM 2.0.12 - Tax, Shipment, Payment, discount

Started by jack19, October 09, 2012, 10:45:27 AM

Previous topic - Next topic

jack19

Hello to all,
I upgraded VM from 2.0.10 to 2.0.12.
First, the tax calculation is not correct
e.g.: Price 15,70 Tax 21% Total 19,00
In VM 2.0.12 the result is not perfect with the rounding:

Q.ty 1 price 15,70 tax

1   15,70   3,30   19,00
2   31,40   6,60   38,00
3   47,10   9,90   57,00
4   62,80   13,20   76,00
5   78,50   16,50   95,00
6   94,20   19,80   114,00
7   109,90   23,10   133,00
8   125,60   26,40   152,00
9   141,30   29,70   171,00
10   157,00   33,00   190,00

the correct calculation is this

1   15,70   3,30   19,00
2   31,40   6,59   37,99
3   47,10   9,89   56,99
4   62,80   13,19   75,99
5   78,50   16,49   94,99
6   94,20   19,78   113,98
7   109,90   23,08   132,98
8   125,60   26,38   151,98
9   141,30   29,67   170,97
10   157,00   32,97   189,97

and in the case of calculation starting from the final price

1   15,7025   3,2975   19,00
2   31,4050   6,5950   38,00
3   47,1074   9,8926   57,00
4   62,8099   13,1901   76,00
5   78,5124   16,4876   95,00
6   94,2149   19,7851   114,00
7   109,9174   23,0826   133,00
8   125,6198   26,3802   152,00
9   141,3223   29,6777   171,00
10   157,0248   32,9752   190,00

also in FE

it is not possible to change payment method or shipment method: when you click on the link you will be redirected to the home page

In BE

it is not clear how to apply the discount only on an product item.

Joomla 2.5.7 VM 2.0.12

at the time I had to downgrade to 2.0.10
Best regards
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

John2400

Jack19??

I have  have had problems in the past with rounding I have no issue in 2.0.12 /

just check your currency setting showing - I have the 0.99, 0.98 0.97, showing as you wish



[attachment cleanup by admin]

jack19

Quote from: John2400 on October 09, 2012, 13:19:28 PM
Jack19??

I have  have had problems in the past with rounding I have no issue in 2.0.12 /

just check your currency setting showing - I have the 0.99, 0.98 0.97, showing as you wish
Hi John,
At the moment I can not verify
You can check this:
it is not possible to change payment method or shipment method: when you click on the link you will be redirected to the home page
Rgds
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

John2400

hi Jack ,

there have been 13, 000 downloads of 2.0.12 and I cannot see anyone else with that issue for 2.0.12 but, but that issue appears now and again in the forum - hunt for redirect to front page or update to 2.0.12b new.

jack19

Quote from: John2400 on October 09, 2012, 22:35:44 PM
hi Jack ,

there have been 13, 000 downloads of 2.0.12 and I cannot see anyone else with that issue for 2.0.12 but, but that issue appears now and again in the forum - hunt for redirect to front page or update to 2.0.12b new.
hi, John
I am using 2.0.12b, I reinstalled and the problem of shipping and payment is resolved.
There remains the question on the calculation of taxes.
For the Italian tax authorities to use the calculation is as follows eg:
Unit price: 15.70, VAT 21%

Q.ty 1 ->15.70 * 21% VAT=3.2977 roud to ->3.30
Q.ty 2 ->31.40 * 21% VAT=6.594 round to ->6.59 not 6.60 (3.30*2)
Q.ty 3 ->47.10 * 21% VAT=9.891 round to ->9.89 not 9.90 (3.30*3)
Q.ty 4 ->62.80 *21%  VAT=13.188 round to ->13.19 not 13.20 (3.30*4)
etc.
Then the calculation for the unit is done by multiplying the tax for the individual product units (3.30 * # Units), but we need to calculate the total product for the tax rate (15.70 * # Units * 21%)
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

John2400

Lets try this :

What you are saying is that it is calculating the tax on the price before the quantity is calculated?

You want Price * quantity * VAT tax = Final price (rounded) or not.?

* Then often the issue is which tax option you have chosen of all the options. That is the trick bit. So maybe choose the tax on the cart not the individual product?

John2400


jack19

Quote from: John2400 on October 10, 2012, 10:17:46 AM
Maybe this ?
Hi John,
thanks for the reply.
What you say may be valid for B2B, but in my case that is mixed B2B and B2C the calculation should be performed as in the attached image.
Discounted prices should appear with the initial price strikethrough.
IMHO even if you use the tax for product calculation would have carried run as I just said.
Could you tell me what are those pages for editing?
Rgds

[attachment cleanup by admin]
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

John2400

Hi,

The strike through is not part of VM2 ( that is true) - I have seen some for and against it.

* The pages I edit? just the tax section? there is not hacking just go to tax and make a setting as shown in the image?

I'm thinking that a feature you request might need to be supported by a few others -
* the request for the strike through I have seen - a few times like the old VM1
* the request for the calculation?  That might have to be a coding hack if you really want it. As I have not see anyone else ask for it. But---- you never know if you want it then post away.

jack19

Quote from: John2400 on October 11, 2012, 22:51:11 PM
Hi,

The strike through is not part of VM2 ( that is true) - I have seen some for and against it.

* The pages I edit? just the tax section? there is not hacking just go to tax and make a setting as shown in the image?

I'm thinking that a feature you request might need to be supported by a few others -
* the request for the strike through I have seen - a few times like the old VM1
* the request for the calculation?  That might have to be a coding hack if you really want it. As I have not see anyone else ask for it. But---- you never know if you want it then post away.
Hi John,
I think may be of interest to Italian users.
Could you tell me what are those pages for editing? If I can make the changes I will post on the forum to share.
Rgds
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

John2400

Ask your question here - in regards to changing templates or finding the right source file to change - This post is better than I am in regards to the right files to recode or hack.

http://forum.virtuemart.net/index.php?topic=92756.0

jack19

Quote from: John2400 on October 12, 2012, 13:17:29 PM
Ask your question here - in regards to changing templates or finding the right source file to change - This post is better than I am in regards to the right files to recode or hack.

http://forum.virtuemart.net/index.php?topic=92756.0
Hi John,
thank you for replay.
Can you move this post to the forum?
Rgds
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a