Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 0ade961

Browse files
authored
Revert dequeue add-to-cart-variation script which is needed to properly handle variable products in single product page (#10723)
1 parent 7db23cd commit 0ade961

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/BlockTypes/ProductButton.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ protected function enqueue_assets( array $attributes ) {
6161
*/
6262
public function dequeue_add_to_cart_scripts() {
6363
wp_dequeue_script( 'wc-add-to-cart' );
64-
wp_dequeue_script( 'wc-add-to-cart-variation' );
6564
}
6665

6766
/**

0 commit comments

Comments
 (0)