Adding charge sales tax field to product block editor template (#37582)

This commit is contained in:
Joel Thiessen 2023-04-05 16:23:58 -07:00 committed by GitHub
parent 277f4aab12
commit 07b84051b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: add
Adding charge sales tax field to product block editor template.

View File

@ -513,6 +513,27 @@ class WC_Post_Types {
),
),
),
array(
'woocommerce/product-radio',
array(
'title' => __( 'Charge sales tax on', 'woocommerce' ),
'property' => 'tax_status',
'options' => array(
array(
'label' => __( 'Product and shipping', 'woocommerce' ),
'value' => 'taxable',
),
array(
'label' => __( 'Only shipping', 'woocommerce' ),
'value' => 'shipping',
),
array(
'label' => __( "Don't charge tax", 'woocommerce' ),
'value' => 'none',
),
),
),
),
array(
'woocommerce/collapsible',
array(