This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$("#multi").submit(function(e) { | |
e.preventDefault(); | |
$("#output").empty(); | |
var array1 = []; | |
var array2 = []; | |
var array3 = []; | |
$(".col1").each(function() { | |
var word1 = $(this).val(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
**README** | |
The method below simply makes variant options which aren't available in a secondary dropdown menu "disabled" | |
when using the Debut theme in Shopify. | |
It works for me, but I'm not making any promises for you... | |
Firstly, the _hideUnavailableOptions method needs to be added to Variants.prototype (see code below). |