ssolovey / ecp

ECP - Ecommerce project based on Magento
Open Software License 3.0
1 stars 0 forks source link

Total is not correct #338

Closed ssolovey closed 8 years ago

ssolovey commented 8 years ago

Please try T280894 Total is empty.

temp

SkyLark commented 8 years ago

Please refere to the #321 issue.

Total price wasn't implemented completely. Tax price also should be included. The total price is calculated after shipping estimation.

SkyLark commented 8 years ago

We have Taxes module implemented by Artem. But it seems it doesn't work. According to code we have to sync the TAXES.TXT file as we do for other resources.

I can't find this file in our docs.

Percentages for taxes are here: https://drive.google.com/folderview?id=0B1v7qOQYBGJzZjRPakFhREcyVlU&usp=sharing file ziptax.xls

But I think that we don't have functionality for new ziptax table.

@ssolovey Could you please remind how to calculate percentage?

I will ask Oleg to review this functionality.

ssolovey commented 8 years ago

No need to calculate percentage it is already into the table. 5 is 5% (column 4) and son on you take zip code, look into the table and take corresponding value

Sub-Total = (price + shipping + fluid + etc) Tax = Sub-Total*tax% Total = Sub-Total + Tax

SkyLark commented 8 years ago

ziptax.csv was imoprted to reman database. Tax model was refactored. Total price calculation now counts the taxes for Wisconsin state according to the table.

Total price field is visible only after shipping estimation when all numbers are known for total price calculation.

sample zip 53019