How to enable ajax add to cart for product detail in WooCommerce?

Go to Dashboard > Appearance > Customize > Shop Settings > Product Detail