Single-Product.php custom variation attribute dropdowns how do I connect ajax add to cart so it shows the attributes as well?
I have a custom dropdown attributes on single-product.php how do I connect the add to cart button together with the dropdown attribute select so the add to car button works based on ajax? Right now only quantity works. <div class="product-options-grid"> <?php global $product; // Check if product is variable or simple if ($product->is_type('variable')) { $available_variations