I’ve been suffering from the same “variables – missing add to cart button affliction. I’ve added the code to the functions.php file (though you programmer geeks do realize there are multiple functions.php files on any wordpress server. It really didn’t like it at the wp-content folder’s function file and did nothing at all in the Enfinity folder’s function.php file. So I’m thinking it’s the same thing that several have asked about (and not received an answer at least not in the posts) about how to “upload the add-to-cart-variation.js ” and what are the contents of that file?????? Or where does one get it or how does one (non php programmer) make one? ANd WHERE does that file go in the wp/theme/woocommerce file hierarchy?