Convert the downloable checkbox into a toggle (#46693)

* Convert downloable checkbox into a toggle

* Add changelog
This commit is contained in:
Fernando Marichal 2024-04-17 13:53:53 -03:00 committed by GitHub
parent 8da0396b34
commit fd521fb338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: dev
Convert the downloable checkbox into a toggle #46693

View File

@ -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',