Peanut Butter and Chocolate Fudge (8 nos) (2024)

Skip to Main Content
  • 0 • Rs. 0

SubscriptionsDessertsCondimentsSnacksNutsStaples

"); break; case "2": jQuery("#zippy_widget_1511").remove(); if (zippyBtn.parent().is("#wrapper-1511")) jQuery("#wrapper-1511").before(""); else zippyBtn.before(""); break; case "3": console.log("Manual"); break; case "4": jQuery("#zippy_widget_1511").remove(); par = zippyBtn; /*while(! par.parent().is("[action='/cart/add']") ) { par = par.parent(); }*/ par.before(""); break; default: jQuery("#zippy_widget_1511").remove(); } zipcode = getCookieZippy("zip"); if (zipcode != "") { hasZippyCookie(); } else { noZippyCookie(); } } }, "json" ); } }, "json" ); if (rules_flag == 0) { return; } } } function setCookieZippy(cname, cvalue) { let exdays = 7; if (zippyShop == "thegourmetbox") { exdays = 2; } let d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); let expires = "expires=" + d.toUTCString(); document.cookie = cname + "=" + cvalue + "; " + expires + "; Path=/; SameSite=None; Secure"; } function getCookieZippy(cname) { let name = cname + "="; let ca = document.cookie.split(';'); for (let i = 0; i < ca.length; i++) { let c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } function hasZippyCookie() { if (zippyPage == "products" || zippyPage == "cart") { jQuery("#zippy_widget_1511").empty(); zipcode = getCookieZippy("zip"); //console.log(zipcode); jQuery.ajax({ url: "https://www.risingsigma.com/zippy-v2/engine.php", data: { set_id: set_id, q: zipcode, clicked: clicked, utm: utm_source, page: zippyPage, product: product, variant: variant_id }, type: "GET", beforeSend: function () { jQuery("#zippy_widget_1511").empty(); jQuery("#zippy_widget_1511").append(''); }, success: function (data2, status2) { jQuery("#zippy_widget_1511").empty(); msg = data2.fail_msg; color = fail_color; svg = ''; if (status2 == "success" && data2.flag == "1") { msg = data2.msg1; color = succ_color; svg = '\ \ '; } if (widget_layout == "1") { lekh = '\

\ \ ' + heading + '\

\

\ \ '+ zipcode + '\ '+ svg + '\ \ CHANGE\

\

' + msg + '

\ '; } else { lekh = '\

\ \ \

' + msg + '

\

'; } if (data2.msg && zippyPage == "products") { lekh += data2.msg; } jQuery("#zippy_widget_1511").append(lekh); if (jQuery("#zippy_widget_1511").length != 0) { disableFuncZippy(); } jQuery("#zippy_widget_1511").css("margin-left", jQuery("#wrapper-1511").css("text-align") == "center" ? "auto" : ""); jQuery("#zippy_widget_1511").css("margin-right", jQuery("#wrapper-1511").css("text-align") == "center" ? "auto" : ""); jQuery("#zippy_widget_1511").css("text-align", jQuery("#wrapper-1511").css("text-align")); if (zippyPage == "products") { if (disable_atc == "1" && status2 == "success" && data2.flag == "1") { if (zippyBtn.parent().is("#wrapper-1511")) { jQuery(".tooltip-1511").remove(); jQuery("#overlay-1511").remove(); jQuery("[action='/cart/add']:eq(0)").find("[type=button]").removeAttr("disabled"); jQuery("[action='/cart/add']:eq(0)").find("[role=button]").removeAttr("disabled"); zippyBtn.removeAttr("disabled"); zippyBtn.off("focus"); jQuery("#overlay-1511").mouseenter(); jQuery("#overlay-1511").mouseleave(); zippyBtn.unwrap(); } } } else if (zippyPage == "cart") { if (cart_checkout_disabled == "1" && status2 == "success" && data2.flag == "1") { if (zippyBtn.parent().is("#wrapper-1511")) { jQuery(".tooltip-1511").remove(); jQuery("#overlay-1511").remove(); zippyBtn.removeAttr("disabled"); zippyBtn.off("focus"); jQuery("#overlay-1511").mouseenter(); jQuery("#overlay-1511").mouseleave(); zippyBtn.unwrap(); } } } jQuery("#change").click(function () { noZippyCookie(); }); }, dataType: "json" }); } } function noZippyCookie() { if (zippyPage == "products" || zippyPage == "cart") { jQuery("#zippy_widget_1511").empty(); jQuery.get( "https://www.risingsigma.com/zippy-v2/engine.php", data = { shop: zippyShop } ); if (widget_layout == "1") { lekh = '\

\ \ ' + heading + '\

\

\

\

\ \ '; } else { lekh = '\

\ \ ' + heading + '\

\

\

\

\ \ '; } jQuery("#zippy_widget_1511").append(lekh); if (jQuery("#zippy_widget_1511").length != 0) { disableFuncZippy(); } jQuery("#zippy_widget_1511").css("margin-left", jQuery("#wrapper-1511").css("text-align") == "center" ? "auto" : ""); jQuery("#zippy_widget_1511").css("margin-right", jQuery("#wrapper-1511").css("text-align") == "center" ? "auto" : ""); jQuery("#zippy_widget_1511").css("text-align", jQuery("#wrapper-1511").css("text-align")); jQuery("#pin").on("keyup", function (event) { if (event.keyCode === 13) { jQuery("#checkPin").click(); } }); jQuery("#formide").submit(function (e) { e.preventDefault(); }); jQuery("#checkPin").click(function () { clicked = 1; let str = jQuery("#pin").val().trim(); if (str.length == 0) { jQuery("#pin_fail").css("display", "block"); jQuery("#pin_fail").fadeIn(); jQuery("#pin_fail").html("Please enter a valid input."); setTimeout(function () { jQuery("#pin_fail").fadeOut(); }, 2222); } else { setCookieZippy("zip", str); hasZippyCookie(); } }); } } function disableFuncZippy() { if (zippyPage == "products") { if (zippyBtn.parent().is("#wrapper-1511")) { jQuery(".tooltip-1511").remove(); jQuery("#overlay-1511").remove(); zippyBtn.removeAttr("disabled"); // zippyBtn.css("width", "initial"); zippyBtn.off("focus"); jQuery("#overlay-1511").mouseenter(); jQuery("#overlay-1511").mouseleave(); zippyBtn.unwrap(); } if (disable_atc == "1") { let btn_width = zippyBtn.css("width"); zippyBtn.wrap(""); jQuery("#wrapper-1511").prepend(""); overlay = jQuery("#overlay-1511"); overlay.height(jQuery("#wrapper-1511").height()); overlay.width(jQuery("#wrapper-1511").width()); overlay.css("cursor", "not-allowed"); zippyBtn.before('

\

' + tooltip_text + '

\

\

'); zippyBtn.attr("disabled", "disabled"); zippyBtn.css("width", btn_width); zippyBtn.on("focus", function () { zippyBtn.css("outline", "none"); }); let y = jQuery("#wrapper-1511").height() + jQuery(".tooltip-1511").height() / 3; overlay.mouseenter(function () { jQuery(".tooltip-1511").css("top", "-" + y + "px"); jQuery(".tooltip-1511").css("left", "7px"); jQuery(".tooltip-1511").css("display", "inline-block"); }); overlay.mouseleave(function () { jQuery(".tooltip-1511").css("display", "none"); }); // console.log("Disabled"); } } } main_function(); })(jQuery); clearInterval(timerId_1511); } else console.log("jQuery not loaded.");}, 50);
Peanut Butter and Chocolate Fudge (8 nos) (2024)

References

Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 6249

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.