Hello,
Oh, I see. Ok, then go to Theme Options > WooCommerce > Single product builder > Add to cart > disable AJAX Add To Cart For Simple And Variable Products option https://prnt.sc/IrNElKeDIILz Then it works. You can’t use Ajax add to cart if you want to use that.
Regards