Revert dequeue add-to-cart-variation script which is needed to properly handle variable products in single product page (https://github.com/woocommerce/woocommerce-blocks/pull/10723)

This commit is contained in:
Karol Manijak 2023-08-24 19:17:37 +02:00 committed by GitHub
parent 69d5f47048
commit 66d6154bff
1 changed files with 0 additions and 1 deletions

View File

@ -61,7 +61,6 @@ class ProductButton extends AbstractBlock {
*/
public function dequeue_add_to_cart_scripts() {
wp_dequeue_script( 'wc-add-to-cart' );
wp_dequeue_script( 'wc-add-to-cart-variation' );
}
/**