WC_DISCOUNT_ROUNDING_MODE half down

This commit is contained in:
Mike Jolley 2015-04-10 10:28:30 +01:00
parent 1f3365f206
commit ad6c173757
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ final class WooCommerce {
$this->define( 'WC_VERSION', $this->version );
$this->define( 'WOOCOMMERCE_VERSION', $this->version );
$this->define( 'WC_ROUNDING_PRECISION', 4 );
$this->define( 'WC_DISCOUNT_ROUNDING_MODE', 2 );
$this->define( 'WC_TAX_ROUNDING_MODE', 'yes' === get_option( 'woocommerce_prices_include_tax', 'no' ) ? 2 : 1 );
$this->define( 'WC_DELIMITER', '|' );
$this->define( 'WC_LOG_DIR', $upload_dir['basedir'] . '/wc-logs/' );