Updated Release Testing Instructions WooCommerce 7.6 (markdown)
parent
f01bbc5cc8
commit
c33b1abc4e
|
@ -284,14 +284,16 @@ Note: ignore point `1` for release testing.
|
|||
1. Set VAT exempt on the current user using one of the below ways.
|
||||
1. Install [EU VAT Number](https://woocommerce.com/products/eu-vat-number/) and save the correct VAT number from My Account - OR
|
||||
2. Set vat exempt programmatically using a plugin like [Code Snippets](https://wordpress.org/plugins/code-snippets/):
|
||||
```add_action('init', function(){
|
||||
```
|
||||
add_action('init', function(){
|
||||
if (isset(WC()->customer)){
|
||||
WC()->customer->set_is_vat_exempt(true);
|
||||
}
|
||||
});```
|
||||
});
|
||||
```
|
||||
|
||||
2. Set tax options like this in Woo settings:
|
||||
|
||||
2. Set tax options like this in Woo settings
|
||||
![image](https://user-images.githubusercontent.com/45979455/226566065-4e023a3f-85ee-48e9-9cc3-a1af8694e779.png)
|
||||
|
||||
3. Create a product with a price of 100 and a tax rate of 15% for testing purposes.
|
||||
|
|
Loading…
Reference in New Issue