I need to change our drop down lists to contain Select One. In doing this the add to cart button show sold out on the initial page load. Is it possible to hide the Add to cart button completely until a variant selection is made.
Announcement
Collapse
No announcement yet.
Hide the Add to Cart button until a variant selection has been made.
Collapse
X
-
If you have jQuery available, the easiest way it something like this
Code:<input id="CheckMe" type="checkbox" name="CheckMe"> <strong>Please check me to complete order.</strong></p> <button class="btn btn-action btn-lg" type="submit" id="CompleteOrder" disabled>Complete Order</button> At bottom of page add script $('#CheckMe').change(function () { $('#CompleteOrder').prop("disabled", !this.checked); }).change() script
$('.required').change(function () {
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment