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:
parent
69d5f47048
commit
66d6154bff
|
@ -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' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue