diff --git a/plugins/woocommerce-blocks/src/BlockTypes/AddToCartForm.php b/plugins/woocommerce-blocks/src/BlockTypes/AddToCartForm.php
index 97a145360fc..7e9eb182b02 100644
--- a/plugins/woocommerce-blocks/src/BlockTypes/AddToCartForm.php
+++ b/plugins/woocommerce-blocks/src/BlockTypes/AddToCartForm.php
@@ -90,9 +90,9 @@ class AddToCartForm extends AbstractBlock {
return '';
}
- $parsed_attributes = $this->parse_attributes( $attributes );
+ $parsed_attributes = $this->parse_attributes( $attributes );
$is_descendent_of_single_product_block = $parsed_attributes['isDescendentOfSingleProductBlock'];
- $product = $this->add_is_descendent_of_single_product_block_hidden_input_to_product_form( $product, $is_descendent_of_single_product_block );
+ $product = $this->add_is_descendent_of_single_product_block_hidden_input_to_product_form( $product, $is_descendent_of_single_product_block );
$classname = $attributes['className'] ?? '';
$classes_and_styles = StyleAttributesUtils::get_classes_and_styles_by_attributes( $attributes );
@@ -124,7 +124,7 @@ class AddToCartForm extends AbstractBlock {
'',
$is_descendent_of_single_product_block ? 'true' : 'false'
);
- $regex_pattern = '/