#shopify-section-announcement-bar {
background: #f14d38;
color: #ccbebe;
}
,
content: {
text: "<h2><strong>SAVE 10% OFF YOUR FIRST ORDER!</strong></h2>",
image: null,
form: {
name: "Your Name",
email: "Your Email",
phone: "Your Phone Number",
gdprText: "I agree to subscribe to this newsletter and receive communications.",
submitButton: "Join Now"
},
discountCode: "[Thank you! Here is your discount code:] (FIRSTORDER10)",
arrangeItems: "text,image,form,form_name,form_email,form_phone,form_gdpr,form_submit,"
}
};
PopupReactMitsConfig.content.image = "//projektride.co.uk/cdn/shop/files/shop_1200x1200_6528bd73-1b4f-4da6-8282-9b2d84bb3598.webp?v=1729359149&width=900";
PopupReactMitsConfig.content.imagePosition = "50.0% 50.0%";
(function() {
var alreadyShown = sessionStorage.getItem("popupAlreadyShownMits");
var mapMs = {
after3days: 259200000,
after7days: 604800000,
after15days: 1296000000,
after30days: 2592000000,
after90days: 7776000000,
after180days: 15552000000,
};
function isNewSession() {
var showSessionAfter = localStorage.getItem("showSessionAfterMits");
var afterClosing = PopupReactMitsConfig.settings.afterClosing;
if (afterClosing !== "everyNewSession" && typeof showSessionAfter !== 'undefined') {
var currentTime = Date.now();
var showSessionAfterInMs = parseInt(showSessionAfter, 10);
if (
showSessionAfterInMs - currentTime > mapMs[afterClosing] ||
showSessionAfterInMs
<
currentTime
) {
return true;
}
return false;
}
return true;
};
if (
(typeof Shopify !== 'undefined' && Shopify.designMode === true) ||
isNewSession() ||
!(typeof alreadyShown !== 'undefined' && alreadyShown === 'yes')
) {
var sentCustomerMits = localStorage.getItem("isAlreadySentCustomerDataMits");
var afterSubscribing = null;
if (typeof PopupReactAdditionalMitsConfig !== 'undefined') {
afterSubscribing = PopupReactAdditionalMitsConfig?.settings?.afterSubscribing ?? null;
}
if (
!(typeof Shopify !== 'undefined' && Shopify?.designMode === true) &&
afterSubscribing === "disable" &&
(sentCustomerMits !== null && sentCustomerMits === "yes")
) {
return;
}
var js = document.createElemen