I am using woocommerce latest version. I am developing a woocommerce supported theme from the scratch. Now I have a little problem. On archive page Ajax for "Add to cart" button is not working. Whenever I click "Add to cart" button the page get reloaded. I check the product setting and I got the "Enable AJAX add to cart buttons on archives " is checked. But the ajax is still not working. So where is the bug?
Note: I am a new bee in woocommerce type work.