diff --git a/assets/js/atomic/blocks/product-elements/button/block.js b/assets/js/atomic/blocks/product-elements/button/block.js index 579424b2f1b..19a63d8e0ef 100644 --- a/assets/js/atomic/blocks/product-elements/button/block.js +++ b/assets/js/atomic/blocks/product-elements/button/block.js @@ -162,6 +162,7 @@ const AddToCartButton = ( { aria-label={ buttonAriaLabel } className={ classnames( 'wp-block-button__link', + 'wp-element-button', 'add_to_cart_button', 'wc-block-components-product-button__button', colorStyles.className, @@ -206,6 +207,7 @@ const AddToCartButtonPlaceholder = ( {