Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I have setting in _config.php following parameters!
TaxCalculator::set_for_country("CH", 7.6, "MWST", "inclusive");
and in the Order.php
$shipping = '$' . number_format($sc->Shipping(), 2);
$tax = '$' . number_format($sc->calcAddedTax(), 2);
remove the Comment // signs ...
it still does not working???
Can any body help me!!!
Setting SimpleShipping --- is ok. in the new version functionaly
because when i set
TaxCalculator::set_for_country("CH", 7.6, "MWST.", "inclusive");
in the ecommerce/_config.php then nothing dooing also when i db/build... or /?flush=1 ...???
thanks for help!
in the documentation TaxCalculator is wrong!!!
// Set the tax calculation to be for NZ customers at 12.5% exclusive
// on the order price.
TaxCalculator::set_for_country("NZ", 0.125, "GST", "exclusive");
when i take this one in the log saying
PHP Fatal error: Class 'TaxCalculator' not found in /var/www/vhosts/webjobs.ch/subdomains/const/httpdocs/ecommerce/_config.php on line 17,
These its working
'CH' => 10,
'DE' => 25,
because these not working
TaxModifier::set_for_country("CH", 7.6, "MWST.", "inclusive");
You Check on
thanks for help
Must i write the command these way
Order::set_modifiers(TaxModifier::set_for_country("CH", 7.6, "MWST.", "inclusive"));
perhaps is Romain Louis here he has write the new TaxModifier???
Thanks for Help stooni