i try to calculate tax for export.Every price in magento admin had already inserted with tax include. So the only sollution i can think is to calculate it at success page.

With tax 24% i try to calculate it by

<?php $tax = ($totalprice->getSubtotal() /1.24)*0.24; ?>

is it a syntax error?

Any other way to auto calculate magento the prices and tax?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.