{"action":"created","issue":{"url":"https://api.github.com/repos/gantry/gantry5/issues/853","labels_url":"https://api.github.com/repos/gantry/gantry5/issues/853/labels{/name}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/853/comments","events_url":"https://api.github.com/repos/gantry/gantry5/issues/853/events","html_url":"https://github.com/gantry/gantry5/issues/853","id":107172972,"number":853,"title":"Woocommerce - no \"Add to cart\" button with variable products","user":{"login":"dazzyon","id":13571661,"avatar_url":"https://avatars.githubusercontent.com/u/13571661?v=3","gravatar_id":"","url":"https://api.github.com/users/dazzyon","html_url":"https://github.com/dazzyon","followers_url":"https://api.github.com/users/dazzyon/followers","following_url":"https://api.github.com/users/dazzyon/following{/other_user}","gists_url":"https://api.github.com/users/dazzyon/gists{/gist_id}","starred_url":"https://api.github.com/users/dazzyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazzyon/subscriptions","organizations_url":"https://api.github.com/users/dazzyon/orgs","repos_url":"https://api.github.com/users/dazzyon/repos","events_url":"https://api.github.com/users/dazzyon/events{/privacy}","received_events_url":"https://api.github.com/users/dazzyon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-18T10:00:09Z","updated_at":"2015-09-18T10:35:08Z","closed_at":null,"body":"On the Woocommerce product detail page:\r\n\r\nWhen i switch to the default theme (Twenty Fifteen) the button is visible. Also when i set the product to \"simple product\" the button works too.\r\nWhen i enable the Hydrogen theme and set the product to \"variable product\" the \"Add to cart\" button disappears."},"comment":{"url":"https://api.github.com/repos/gantry/gantry5/issues/comments/141414275","html_url":"https://github.com/gantry/gantry5/issues/853#issuecomment-141414275","issue_url":"https://api.github.com/repos/gantry/gantry5/issues/853","id":141414275,"user":{"login":"newkind","id":1641534,"avatar_url":"https://avatars.githubusercontent.com/u/1641534?v=3","gravatar_id":"","url":"https://api.github.com/users/newkind","html_url":"https://github.com/newkind","followers_url":"https://api.github.com/users/newkind/followers","following_url":"https://api.github.com/users/newkind/following{/other_user}","gists_url":"https://api.github.com/users/newkind/gists{/gist_id}","starred_url":"https://api.github.com/users/newkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newkind/subscriptions","organizations_url":"https://api.github.com/users/newkind/orgs","repos_url":"https://api.github.com/users/newkind/repos","events_url":"https://api.github.com/users/newkind/events{/privacy}","received_events_url":"https://api.github.com/users/newkind/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T10:35:08Z","updated_at":"2015-09-18T10:35:08Z","body":"I was just investigating it. The issue is that when WooCommerce tries to enqueue wc-add-to-cart-variation script, it's not even registered yet, thus there's nothing to enqueue. I'll try to check if there can be something done about it without deregistering and registering the script again."}}