diff --git a/plugins/woocommerce/changelog/dev-46678_transform_include_downloads_checkbox b/plugins/woocommerce/changelog/dev-46678_transform_include_downloads_checkbox new file mode 100644 index 00000000000..72a443e10b0 --- /dev/null +++ b/plugins/woocommerce/changelog/dev-46678_transform_include_downloads_checkbox @@ -0,0 +1,4 @@ +Significance: minor +Type: dev + +Convert the downloable checkbox into a toggle #46693 diff --git a/plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/DownloadableProductTrait.php b/plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/DownloadableProductTrait.php index c884016dab3..b6fdf2514f3 100644 --- a/plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/DownloadableProductTrait.php +++ b/plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/DownloadableProductTrait.php @@ -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',