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(
|
||||
array(
|
||||
'id' => 'product-downloadable',
|
||||
'blockName' => 'woocommerce/product-checkbox-field',
|
||||
'blockName' => 'woocommerce/product-toggle-field',
|
||||
'order' => 10,
|
||||
'attributes' => array(
|
||||
'property' => 'downloadable',
|
||||
|
|
Loading…
Reference in New Issue