').appendTo("body");
}
$(
''
).appendTo("div.regularsection");
if (
$("script").filter(
"[src='https://public.twik.io/js/popup-bundle.min.js']"
).length == 0
) {
$.getScript(
"https://public.twik.io/js/popup-bundle.min.js",
function() {
var params = {
popup_type: "instant",
popup_position: "center",
popup_animation: "slideBottom",
popup_closeButtonPlace: "inside",
popup_css: {
"text-align": "center",
margin: "0px",
padding: "0",
background: "transparent",
},
};
$(".popup-container").SlickModals(params);
}
);
} else {
var params = {
popup_type: "instant",
popup_position: "center",
popup_animation: "slideBottom",
popup_closeButtonPlace: "inside",
popup_css: {
"text-align": "center",
margin: "0px",
padding: "0",
background: "transparent",
},
};
$(".popup-container").SlickModals(params);
}
} else {
var script = document.createElement("SCRIPT");
script.src =
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js";
script.type = "text/javascript";
script.onload = function() {
var $ = window.jQuery;
$("html")
.attr("data-wf-page", "5d0752128518927d140033ab")
.attr("data-wf-site", "5b27ad71f471c80738d206f5");
if (
$("link").filter(
"[href='https://public.twik.io/css/popup-bundle.min.css']"
).length == 0
) {
$(
''
).appendTo("head");
}
if ($("div.regularsection").length == 0) {
$('
').appendTo("body");
}
$(
''
).appendTo("div.regularsection");
if (
$("script").filter(
"[src='https://public.twik.io/js/popup-bundle.min.js']"
).length == 0
) {
$.getScript(
"https://public.twik.io/js/popup-bundle.min.js",
function() {
var params = {
popup_type: "instant",
popup_position: "center",
popup_animation: "slideBottom",
popup_closeButtonPlace: "inside",
popup_css: {
"text-align": "center",
margin: "0px",
padding: "0",
background: "transparent",
},
};
$(".popup-container").SlickModals(params);
}
);
} else {
var params = {
popup_type: "instant",
popup_position: "center",
popup_animation: "slideBottom",
popup_closeButtonPlace: "inside",
popup_css: {
"text-align": "center",
margin: "0px",
padding: "0",
background: "transparent",
},
};
$(".popup-container").SlickModals(params);
}
};
document.getElementsByTagName("head")[0].appendChild(script);
}
// ==============================================
}
})();
Overview
The conditional selector is a feature that allows you to choose a trigger for a specified action. The trigger can range from total cart amount to specified product added to cart, to product amount, and more. Once the trigger has been reached by a user, you decide what happens next. A popup? A message? Maybe animation? Define your trigger and choose your action.
Screenshots
Explore more resources
You can use Twik's widgets to create beautiful, effective variants on your website such as popups, shorter forms, and more.
Try it now
See what Twik can do for you with our free 14-day evaluation period, limited to 1,000 pageviews.