Adding charge sales tax field to product block editor template (#37582)
This commit is contained in:
parent
277f4aab12
commit
07b84051b2
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: add
|
||||||
|
|
||||||
|
Adding charge sales tax field to product block editor template.
|
|
@ -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(
|
array(
|
||||||
'woocommerce/collapsible',
|
'woocommerce/collapsible',
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue