PHP Class TaxModifier, silvershop-core

If you would like to make your own tax calculator, create a subclass of this and enable it by using {@link Order::set_modifiers()} in your project _config.php file. Sample configuration in your _config.php: TaxModifier::set_for_country('NZ', 0.125, 'GST', 'inclusive'); TaxModifier::set_for_country('UK', 0.175, 'VAT', 'exclusive');
Inheritance: extends OrderModifier
Show file Open project: burnbright/silverstripe-shop Class Usage Examples

Public Methods

Method Description
TableTitle ( )

Method Details

TableTitle() public method

public TableTitle ( )