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
- For the raspberry sauce place 1 cup of raspberries in a small pot with the sugar and lemon juice. Cook until the raspberries have broken down and melted with the sugar. Place in a blender and process until smooth. Strain through a fine chinois and place in a squeeze bottle refrigerate.
- Slice the strawberry and slice in half the remaining raspberries set aside.
- To plate place the cheesecake in the middle of a plate and place the berries next to the cheesecake. Drizzle with raspberry sauce and finish with mint.
Ingredient availability varies by location*