Woocommerce Ajax add to cart redirect to homepage
I am using Woocommerce 3.9.2, WordPress 5.3.2 and Phlox shop theme (Version 2.4.22) and I have problem with AJAX add to cart.
When I go into shop page and click add to cart random project it redirects to homepage. But when I go to single product page and then press add to cart it works as it should.
Where could be the problem ?
Site link here enter link description here