Ingredients
$(document).ready(function(){ function getChecked(){ return $(document).find('[id^="ingredientCheck"]:checked'); } function atLeastOneIsChecked() { let checked = getChecked(); return (checked.length > 0); } $(document).on('click', '.form-check-input', function(){ if(atLeastOneIsChecked()){ $(document).find('.js-add-recipe-to-cart').removeAttr("disabled"); } else { $(document).find('.js-add-recipe-to-cart').attr("disabled", "disabled"); } }); $(document).on('click', '.js-add-recipe-to-cart', function(){ if(atLeastOneIsChecked()){ // get all items let items = getChecked(); let i = 0, itemLen = items.length; for(i;i<itemLen;i++){ let item = $(items[i]).data("product"); pacecore_add_to_cart(item); } } }); });
Directions
- Bring tap water to a rolling boil; measure all the dry ingredients. Add the maple syrup and dry ingredients to the boiling water. Turn off the heat; stir until sugar and salt are dissolved.
- In a 5-gallon bucket, add the ice water, then pour in the brine concentrate, using 1 gallon of brine for every 5 pounds of pork loin; stir and allow to dissolve.
Ingredient availability varies by location*