Convert the downloable checkbox into a toggle (#46693)
* Convert downloable checkbox into a toggle * Add changelog
This commit is contained in:
parent
8da0396b34
commit
fd521fb338
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Convert the downloable checkbox into a toggle #46693
|
|
@ -38,7 +38,7 @@ trait DownloadableProductTrait {
|
||||||
$product_downloads_section_group->add_block(
|
$product_downloads_section_group->add_block(
|
||||||
array(
|
array(
|
||||||
'id' => 'product-downloadable',
|
'id' => 'product-downloadable',
|
||||||
'blockName' => 'woocommerce/product-checkbox-field',
|
'blockName' => 'woocommerce/product-toggle-field',
|
||||||
'order' => 10,
|
'order' => 10,
|
||||||
'attributes' => array(
|
'attributes' => array(
|
||||||
'property' => 'downloadable',
|
'property' => 'downloadable',
|
||||||
|
|
Loading…
Reference in New Issue