DYNAMIC RULES: I would like to set value 'How much' including_tax OR excluding_tax (for discounts rule types: Discount Percentage, Discount Amount, Fixed Price etc.). Example: - b2c discount -> set product fixed price 10$ (including_tax) - b2b discount -> set product fixed price 10$ (excluding_tax)
DYNAMIC RULES:
I would like to set value 'How much' including_tax OR excluding_tax (for discounts rule types: Discount Percentage, Discount Amount, Fixed Price etc.).
Example:
- b2c discount -> set product fixed price 10$ (including_tax)
- b2b discount -> set product fixed price 10$ (excluding_tax)
Hi there,
I don't think we can add this directly in rules, because this is very dependent on your WooCommerce tax settings.
1) Generally, to display prices excluding tax for B2B and including tax for B2C, you can use our guide here:
https://woocommerce-b2b-plugin.com/docs/how-to-display-prices-excluding-tax-for-b2b-users-and-including-tax-for-b2c-users/
2) There is also the following setting that determines if prices are considered entered as including tax or excluding tax:
You can change the value of this for B2B users. For example to set it to 'No' for B2B users, you can use the following code snippet:
Kind regards,
Stefan