Jump to content

Tax Rules and €150 and below threshold for IOSS


grice

Recommended Posts

  • 6 months later...
  • 1 year later...

something like

 

public function getTaxCalculator()
{
  if ($this->context->customer->cart_value > 150) {
      $tax = new Tax();
      $tax->rate = 0;
      return new TaxCalculator(array($tax));
  } else {
     // return the original code in https://github.com/PrestaShop/PrestaShop/blob/develop/classes/tax/TaxRulesTaxManager.php
  }
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...