Warning: A non-numeric value encountered in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/WikiEmbed.php on line 1287

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/resources/css_selector.php on line 49

Warning: Invalid argument supplied for foreach() in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/WikiEmbed.php on line 961

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/resources/css_selector.php on line 49

Warning: Invalid argument supplied for foreach() in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/WikiEmbed.php on line 961

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/resources/css_selector.php on line 49

Warning: Invalid argument supplied for foreach() in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/WikiEmbed.php on line 961

Warning: A non-numeric value encountered in /homepages/4/d19599333/htdocs/wp/wp-content/plugins/wiki-embed/WikiEmbed.php on line 1287
ballOOnhead666ballOOnhead666
Peace & Chaos

//

//

//


//
//

<!–

–>

#i3-head-carousel {display: none;}

function createCookie(name, value, days) {
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
var expires = „; expires=“ + date.toGMTString();
}
else var expires = „“;
document.cookie = name + „=“ + value + expires + „; path=/“;
}

function readCookie(name) {
var nameEQ = name + „=“;
var ca = document.cookie.split(‚;‘);
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ‚ ‚) c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name, „“, -1);
}

if (‚NodeList‘ in window) {
if (!NodeList.prototype.each && NodeList.prototype.forEach) {
NodeList.prototype.each = NodeList.prototype.forEach;
}
}

if (readCookie(‚marketing‘)) {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,’script‘,
‚https://connect.facebook.net/en_US/fbevents.js‘);
fbq(‚init‘, ‚949710895509801‘);
fbq(‚track‘, ‚PageView‘);
}

window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‚js‘, new Date()); gtag(‚config‘, ‚AW-734430541‘);

JavaScript seems to be disabled in your browser.
You must have JavaScript enabled in your browser to utilize the functionality of this website.

setTimeout(function(){
jQuery(‚#i3-head-carousel‘).owlCarousel({
loop:false,
margin:10,
nav:true,
autoPlay: true,
responsiveRefreshRate:10,
singleItem: true
})},2000);

jQuery(‚#accountButtonOpen, #closeAccountButton‘).click(function(event) {
if (!jQuery(„#myDropdownAcc“).is(‚:visible‘)) {
jQuery(‚#myDropdownAcc‘).show();
jQuery(‚#myDropdownCon‘).hide();
} else {
jQuery(‚#myDropdownAcc‘).hide();
}
});

//

Cart0 Item(s)Item(s)

You have no items in your shopping cart.

jQuery(function($){
$(‚.mini-cart‘).mouseover(function(e){
$(this).children(‚.topCartContent‘).fadeIn(200);
return false;
}).mouseleave(function(e){
$(this).children(‚.topCartContent‘).fadeOut(200);
return false;
});
});

Afghanistan

Albania

Algeria

American Samoa

Andorra

Angola

Anguilla

Antarctica

Antigua and Barbuda

Argentina

Armenia

Aruba

Australia

Austria

Azerbaijan

Bahamas

Bahrain

Bangladesh

Barbados

Belarus

Belgium

Belize

Benin

Bermuda

Bhutan

Bolivia

Bosnia and Herzegovina

Botswana

Bouvet Island

Brazil

British Indian Ocean Territory

British Virgin Islands

Brunei

Bulgaria

Burkina Faso

Burundi

Cambodia

Cameroon

Canada

Cape Verde

Cayman Islands

Central African Republic

Chad

Chile

China

Christmas Island

Cocos (Keeling) Islands

Colombia

Comoros

Congo – Brazzaville

Congo – Kinshasa

Cook Islands

Costa Rica

Croatia

Cuba

Cyprus

Czech Republic

Côte d’Ivoire

Denmark

Djibouti

Dominica

Dominican Republic

Ecuador

Egypt

El Salvador

Equatorial Guinea

Eritrea

Estonia

Ethiopia

Falkland Islands

Faroe Islands

Fiji

Finland

France

French Guiana

French Polynesia

French Southern Territories

Gabon

Gambia

Georgia

Germany

Ghana

Gibraltar

Greece

Greenland

Grenada

Guadeloupe

Guam

Guatemala

Guernsey

Guinea

Guinea-Bissau

Guyana

Haiti

Heard Island and McDonald Islands

Honduras

Hong Kong SAR China

Hungary

Iceland

India

Indonesia

Iran

Iraq

Ireland

Isle of Man

Israel

Italy

Jamaica

Japan

Jersey

Jordan

Kazakhstan

Kenya

Kiribati

Kuwait

Kyrgyzstan

Laos

Latvia

Lebanon

Lesotho

Liberia

Libya

Liechtenstein

Lithuania

Luxembourg

Macau SAR China

Macedonia

Madagascar

Malawi

Malaysia

Maldives

Mali

Malta

Marshall Islands

Martinique

Mauritania

Mauritius

Mayotte

Mexico

Micronesia

Moldova

Monaco

Mongolia

Montenegro

Montserrat

Morocco

Mozambique

Myanmar (Burma)

Namibia

Nauru

Nepal

Netherlands

Netherlands Antilles

New Caledonia

New Zealand

Nicaragua

Niger

Nigeria

Niue

Norfolk Island

North Korea

Northern Mariana Islands

Norway

Oman

Pakistan

Palau

Palestinian Territories

Panama

Papua New Guinea

Paraguay

Peru

Philippines

Pitcairn Islands

Poland

Portugal

Puerto Rico

Qatar

Romania

Russia

Rwanda

Réunion

Saint Barthélemy

Saint Helena

Saint Kitts and Nevis

Saint Lucia

Saint Martin

Saint Pierre and Miquelon

Saint Vincent and the Grenadines

Samoa

San Marino

Saudi Arabia

Senegal

Serbia

Seychelles

Sierra Leone

Singapore

Slovakia

Slovenia

Solomon Islands

Somalia

South Africa

South Georgia and the South Sandwich Islands

South Korea

Spain

Sri Lanka

Sudan

Suriname

Svalbard and Jan Mayen

Swaziland

Sweden

Switzerland

Syria

São Tomé and Príncipe

Taiwan

Tajikistan

Tanzania

Thailand

Timor-Leste

Togo

Tokelau

Tonga

Trinidad and Tobago

Tunisia

Turkey

Turkmenistan

Turks and Caicos Islands

Tuvalu

U.S. Minor Outlying Islands

U.S. Virgin Islands

Uganda

Ukraine

United Arab Emirates

United Kingdom

United States

Uruguay

Uzbekistan

Vanuatu

Vatican City

Venezuela

Vietnam

Wallis and Futuna

Western Sahara

Yemen

Zambia

Zimbabwe

Åland Islands

jQuery(function($){
$(„#banner-slider-demo-23“).owlCarousel({
autoPlay:true,
lazyLoad:true,
stopOnHover:true,
pagination:false,
navigation:true,
navigationText:[„„,“„],
slideSpeed:500,
paginationSpeed:500,
singleItem:true
});

$(„#banner-slider-demo-23-mobile“).owlCarousel({
autoPlay:true,
lazyLoad:true,
stopOnHover:true,
pagination:false,
navigation:true,
navigationText:[„„,“„],
slideSpeed:500,
paginationSpeed:500,
singleItem:true
});
});

jQuery(document).ready(function() {
jQuery(„.various“).fancybox({
maxWidth : 800,
maxHeight : 600,
fitToView : false,
width : ‚70%‘,
height : ‚70%‘,
autoSize : false,
closeClick : false,
openEffect : ’none‘,
closeEffect : ’none‘
});
})

DRESSES

OUTWEAR

jQuery(function($){
$(„#i3-home-categories“).owlCarousel({
autoPlay:true,
lazyLoad:true,
stopOnHover:true,
pagination:false,
navigation:true,
navigationText:[„„,“„],
slideSpeed:500,
paginationSpeed:500,
itemsCustom:[ [0, 2], [320, 2], [480, 2], [768, 3], [992, 3], [1200, 5] ]
});
});

#PEACE & CHAOS STYLE
VIEW INSTAGRAM

<!–

–>

Product was successfully added to your shopping cart.


jQuery(‚#finish_and_checkout‘).click(function(){
try{
parent.location.href = ‚https://www.peaceandchaos.com/en/checkout/cart/‘;
}catch(err){
location.href = ‚https://www.peaceandchaos.com/en/checkout/cart/‘;
}
});
jQuery(‚#continue_shopping‘).click(function(){
jQuery(‚#after-loading-success-message‘).fadeOut(200);
clearTimeout(ajaxcart_timer);
setTimeout(function(){
jQuery(‚#after-loading-success-message .timer‘).text(ajaxcart_sec);
}, 1000);});

.i3-footer-top-img img{
max-width: 610px;
}

var windowScroll_t;
jQuery(window).scroll(function(){
clearTimeout(windowScroll_t);
windowScroll_t = setTimeout(function(){
if(jQuery(this).scrollTop() > 100){
jQuery(‚#totop‘).fadeIn();
}else{
jQuery(‚#totop‘).fadeOut();
}
}, 500);
});
jQuery(‚#totop‘).click(function(){
jQuery(‚html, body‘).animate({scrollTop: 0}, 600);
return false;
});
jQuery(function($){
$(„.cms-index-index .footer-container.fixed-position .footer-top,.cms-index-index .footer-container.fixed-position .footer-middle“).remove();
});

if (jQuery( window ).width() <= 991)
jQuery(„.i3-right“).insertBefore(„.i3-stocklists-div-first“);
if (jQuery( window ).width() <= 550)
jQuery(„.i3-homepage-banners-first-5“).insertAfter(„.i3-homepage-banners-first-7“);

var countryArray = {‚Greece‘: 80,’Austria‘: 100,’Belgium‘: 100,’Bulgaria‘: 100,’Croatia‘: 100,’Cyprus‘: 100,’Czech Republic‘: 100,’Denmark‘: 100,’Estonia‘: 100,’Finland‘: 100,’France‘: 100,’Germany‘: 100,’Hungary‘: 100,’Ireland‘: 100,’Italy‘: 100,’Latvia‘: 100,’Lithuania‘: 100,’Luxembourg‘: 100,’Malta‘: 100,’Netherlands‘: 100,’Poland‘: 100,’Portugal‘: 100,’Romania‘: 100,’Slovakia‘: 100,’Slovenia‘: 100,’Spain‘: 100,’Sweden‘: 100};
function geoip(json){
var countryCookie = getCookie(‚country-cookie‘);
if (countryCookie){
countryCookie = countryCookie.split(‚-‚);
countryCookieNumber = countryCookie[1];
countryCookie = countryCookie[0];
if (countryCookie == ‚Greece‘){
jQuery(„.i3-signup2“).html(‚WANT YOUR ITEMS FAST? Pick them up from our headquarters with the click-away method.‚);
}else{
jQuery(„.i3-signup2“).remove();
}
}
if (!countryCookie){
setCookie(‚country-cookie‘, json.country+‘-0′, 30);
}
jQuery(„#i3-select-section .col-sm-4“).click(function(){
setCookie(‚country-cookie‘, jQuery(this).attr(‚id‘)+‘-1′, 30);
jQuery(„#i3-head-country“).text(jQuery(this).attr(‚id‘));
existEU = jQuery(this).attr(‚id‘) in countryArray;
if (jQuery(this).attr(‚id‘) == ‚Greece‘){
jQuery(„.i3-footer-delivery“).text(„Free delivery on orders over 80€“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 80€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/greece-next-day/‘);
}
if (jQuery(this).attr(‚id‘) != ‚Greece‘ && existEU){
jQuery(„.i3-footer-delivery“).text(„EU next day delivery option“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 100€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/eu-next-day/‘);
}
if (jQuery(this).attr(‚id‘) != ‚Greece‘ && !existEU){
jQuery(„.i3-footer-delivery“).text(„Express delivery option“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 120€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/worldwide-delivery/‘);
}
jQuery(„#i3-head-price“).text(120);
jQuery(„#i3-head-price“).text(countryArray[jQuery(this).attr(‚id‘)]);
jQuery(„#i3-country-code“).text(jQuery(this).attr(‚id‘));
jQuery(„#i3-head-carousel“).css(„display“, „initial“);
jQuery.fancybox.close(true);
});
var countryCookie = getCookie(‚country-cookie‘);
if (countryCookie){
countryCookie = countryCookie.split(‚-‚);
countryCookieNumber = countryCookie[1];
countryCookie = countryCookie[0];
existEU = countryCookie in countryArray;
if (countryCookie == ‚Greece‘){
jQuery(„.i3-footer-delivery“).text(„Free delivery on orders over 80€“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 80€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/greece-next-day/‘);
}
if (countryCookie != ‚Greece‘ && existEU){
jQuery(„.i3-footer-delivery“).text(„EU next day delivery option“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 100€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/eu-next-day/‘);
}
if (countryCookie != ‚Greece‘ && !existEU){
jQuery(„.i3-footer-delivery“).text(„Express delivery option“);
jQuery(„.i3-delivery span“).text(„Free delivery on orders over 120€“);
jQuery(„.i3-footer-delivery-a“).attr(‚href‘,’https://www.peaceandchaos.com/en/worldwide-delivery/‘);
}
}
jQuery(„.i3-li-no“).click(function(){
setCookie(‚country-cookie‘, json.country+‘-1′, 30);
jQuery(„.i3-country-cookie“).css(‚display‘,’none‘);
});
jQuery(„.i3-li-yes“).click(function(){
jQuery(„.i3-country-cookie“).css(‚display‘,’none‘);
});
if (countryCookieNumber == 0){
jQuery(„.i3-country-cookie“).css(‚display‘,’block‘);
}
var countryValue = countryArray[countryCookie];
jQuery(„#i3-head-country“).text(countryCookie);
jQuery(„#i3-head-price“).text(120);
jQuery(„#i3-head-price“).text(countryValue);
jQuery(„#i3-country-code“).text(countryCookie);
jQuery(„#i3-head-carousel“).css(„display“, „initial“);

}
function setCookie(name,value,days) {
var expires = „“;
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = „; expires=“ + date.toUTCString();
}
document.cookie = name + „=“ + (value || „“) + expires + „; path=/“;
}
function getCookie(name) {
var nameEQ = name + „=“;
var ca = document.cookie.split(‚;‘);
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==‘ ‚) c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

jQuery(document).ready(function() {
jQuery(„#i3-fancy-country“).text(getCookie(‚country-cookie‘));
jQuery(„.i3-no“).click(function(){
jQuery(„.i3-head-select“).css(„display“,“block“);
jQuery(„.i3-save-country-div“).css(„display“,“block“);
});
jQuery(„.i3-yes“).click(function(){
jQuery.fancybox.close(true);
});
});

jQuery(document).ready(function() {
jQuery(„.i3-head-fancybox“).fancybox({
‚width‘: 750,
‚autoSize‘: false
});
});

jQuery(‚.i3-head-select‘).on(‚change‘, function() {

setCookie(‚country-cookie‘, this.value, 30);
});
jQuery(„#i3-save-country“).click(function(){
jQuery(„#i3-head-country“).text(getCookie(‚country-cookie‘));
jQuery(„#i3-head-price“).text(countryArray[getCookie(‚country-cookie‘)]);
jQuery(„.i3-head-select“).css(„display“,“none“);
jQuery(„#i3-save-country“).css(„display“,“none“);
jQuery(„#i3-fancy-country“).text(getCookie(‚country-cookie‘))
jQuery.fancybox.close(true);
});

if (jQuery( window ).width() < 992){
jQuery(„.i3-footer-bottom-left“).insertBefore(„.i3-footer-bottom-right“);
jQuery(„.i3-head-account“).html(‚‚);
jQuery(„#accountbutton“).css(„display“,“block“);
jQuery(„.i3-mobile-search“).insertAfter(„.menu-icon“);
jQuery(„.i3-mobile-wishlist“).insertBefore(„.mini-cart“);
jQuery(„.i3-mobile-wishlist“).css(„display“, „inline-block“);
jQuery(„.i3-mobile-wishlist“).css(„margin-top“, „15px“);
}

×

if (jQuery( window ).width() < 992){
jQuery(„#search_mini_form“).insertAfter(„.i3-search-mobile-text“);
function openNav() {
document.getElementById(„myNav“).style.width = „100%“;
jQuery(‚body‘).removeClass(„mobile-nav-shown“);
}

function closeNav() {
document.getElementById(„myNav“).style.width = „0%“;
}
}

#cookie-consent-content {
background-color: white;
border: 0;
box-shadow:#121212 2px 2px 14px 2px;
font-size: 14px;
color: white;
line-height: 20px;
padding: 20px 30px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 9999;
}
#cookie-consent-content:before {
width: calc(100% – 20px);
height: calc(100% – 20px);
border: 1px solid white;
content: „“;
position: absolute;
left: 10px;
top: 10px;
z-index: -1;
}
.cookie-consent-container {
padding: 10px 0px;
}
.cookie-consent-container p {font-size: 12.5px; color: black; font-family: „azo-sans-web, sans-serif“}
.cookie-consent-accept-selected-button {
width: 100%;
}
.cookie-consent-accept-all-button {
width: 100%;
}
#cookie-consent-details {
padding-top: 10px;
}
#cookie-consent-tabs > div {
padding: 5px 10px;
color: black;
font-family: „azo-sans-web, sans-serif“;
font-size: 13px;
}
#cookie-consent-details ul {
padding: 0px;
}
#cookie-consent-details ul li {
list-style: none;
display: inline-flex;
margin-right: 25px;
}
#cookie-consent-tabs {
display: none;
position: relative;
background: rgba(255,255,255, 0.8);
}
#cookie-consent-tabs ul {
background: transparent;
margin: 0;
padding: 0;
}
#cookie-consent-tabs ul li {
list-style: none;
display: inline-block;
margin-right: 0;
margin-bottom: 0;
font-size: 16px;
font-weight: bold;
padding: 10px 20px;
border-right: 1px solid white;
background: #333;
}
#cookie-consent-tabs ul li:last-child {
border-right: none;
}
#cookie-consent-tabs ul li a {
color: white;
}
.cookie-consent-tab-content {
max-height: 150px;
overflow: auto;
}
.top-section {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
#cookie-consent-content .actions {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
font-family: „azo-sans-web, sans-serif“;
}
.cookie-consent-show-details {
text-align: center;
}
.cookie-consent-show-details-btn {
font-weight: 400;
text-align: center;
font-size: 12px;
background: black;
border: none;
color: white !important;
padding: 5px 15px;
cursor: pointer;
margin-left: .9rem;
}
.cookie-consent-accept-selected-button {
padding: 8px 10px;
color: black;
border: 1px solid #cccccc;;
width: auto;
font-size: 12.5px;
font-weight: 500;
background:transparent;
border-radius: 0px;
}
.cookie-consent-accept-selected-button:hover {
border: 1px solid;
border-color: #cccccc;;
color: black;
background: transparent;
border-radius: 0px;
}
.cookie-consent-accept-all-button {
padding: 8px 10px;
border: none;
color: white;
background: black !important;
width: auto;
font-size: 12.5px;
font-weight: 500;
}
.cookie-consent-accept-all-button:hover {
border: none;
color: white;
background: black !important;
}
.cookie-consent-accept-all-button:after {
display: none !important;
}
.cookie-consent-options {
display: flex;
justify-content: center;
flex-flow: row wrap;
align-items: center;
border: 1px solid #ccc;
padding: 2px 0;
border-radius: 0px;
background: #f0f0f0;
}
.cookie-consent-options .form-check.form-check-inline {
margin: 0 1rem;
position: relative;
flex-grow: 1;
}

#cookie-consent-tabs p {
color: black;
}

#statistics-cookies {
border-bottom: 1px solid black;
border-top: 1px solid black;
}

#required-cookies {
border-bottom: 1px solid black;
border-top: 1px solid black;
}

#marketing-cookies {
border-bottom: 1px solid black;
border-top: 1px solid black;
}

.cookie-option-name {
color: white;
font-size: 12.5px;
font-weight: 500;
background-color: unset;
}

.cookie-wrapper {max-width: 650px; width:100%; margin: auto; display:flex; flex-direction: row;}
.form-check-label {color: black; font-size: 12px;}
.cookie-brand-img {width: 20%; padding-right: 10px;}
.cookie-content {width: 80%;}

/* input style */
.form-check-inline input[type=“checkbox“] {
opacity: 0;
position: absolute;
top: 0;
left: 0;
z-index: 2;
cursor: pointer;
}
.form-check-inline input[type=“checkbox“] ~ .form-check-label{
background-image: url(‚/images/unchecked.svg‘);
background-repeat: no-repeat;
height: auto;
min-height: 14px;
width: auto;
display: inline-block;
padding: 0px 0 0 17px;
position: relative;
top: 0;
left: 0;
z-index: 1;
cursor: pointer;
margin-top: 0;
margin-bottom: 0;
background-position: left 1px;
background-position-x: left;
background-position-y: 0px;
vertical-align: top;
line-height: 16px;
font-size: 12px;
color: black;
}

.form-check-inline input[type=“checkbox“]:checked ~ .form-check-label {
background-image: url(‚/images/checked.svg‘);
background-repeat: no-repeat;
height: auto;
width: auto;
min-height: 14px;
display: inline-block;
padding: 0px 0 0 17px;
vertical-align: top;
line-height: 16px;
}
.cookie-brand-img img{
max-width: 100%;
}
span.cookie-option-name {background-color: unset !important;}
@media screen and (max-width: 585px) {
#cookie-consent-content .actions {
flex-direction: row;
text-align: center;
margin: 1rem 0;
}
.top-section {
flex-direction: column;
align-items: center;
}
#cookie-consent-tabs ul {
background: transparent !important;
display: flex;
align-items: center;
flex-flow: row wrap;
}
#cookie-consent-tabs ul li {
font-size: 12px;
margin-right: 0;
padding: 10px 15px;
margin: 1px 0;
/* background: black; */
}
#cookie-consent-content {padding: 15px;}
.cookie-consent-container {padding-right: 0; font-size: 12px;}
#cookie-consent-tabs p {font-size: 12px; line-height: normal; font-family: „azo-sans-web, sans-serif“;}
.cookie-wrapper {flex-direction: column;}
.cookie-content {width: 100%;}
.cookie-brand-img {max-width: 120px; width: 100%;}
.cookie-consent-options .form-check.form-check-inline {margin: 1.5rem 0rem;}
}

jQuery(function($) {
$(‚.cookie-consent-show-details-btn‘).click(function(e) {
if ($(‚#cookie-consent-tabs‘).length) {
if ($(‚#cookie-consent-tabs‘).is(‚:visible‘)) {
if ($(e.currentTarget).hasClass(‚active‘)) {
$(e.currentTarget).removeClass(‚active‘);
}
$(e.currentTarget).text(„Περισσότερα“);
$(‚#cookie-consent-tabs‘).hide();
} else {
if (!$(e.currentTarget).hasClass(‚active‘)) {
$(e.currentTarget).addClass(‚active‘);
}
$(e.currentTarget).text(“ Hide Details“);
$(‚#cookie-consent-tabs‘).show();
}
}
});

$(document.body).on(‚click‘, ‚.cookie-consent-accept-all-button‘, function(e) {
createCookie(‚i3-cookie-consent‘, 1, 10);
$(„#statistics-cookies-checkbox“).prop(‚checked‘, ‚true‘);
createCookie(’statistics‘, 1, 10);
$(„#marketing-cookies-checkbox“).prop(‚checked‘, ‚true‘);
createCookie(‚marketing‘, 1, 10);
$(‚#cookie-consent-content‘).hide();
});

$(document.body).on(‚click‘, ‚.cookie-consent-accept-selected-button‘, function(e) {
createCookie(‚i3-cookie-consent‘, 1, 10);
$(‚#cookie-consent-content‘).hide();
});

$(document.body).on(‚change‘, ‚#statistics-cookies-checkbox‘, function(e) {
if ($(this).is(‚:checked‘)) {
createCookie(’statistics‘, 1, 10);
} else {
eraseCookie(’statistics‘);
}
});

$(document.body).on(‚change‘, ‚#marketing-cookies-checkbox‘, function(e) {
if ($(this).is(‚:checked‘)) {
createCookie(‚marketing‘, 1, 10);
} else {
eraseCookie(‚marketing‘);
}
});

if (!readCookie(‚i3-cookie-consent‘)) {
$(‚#cookie-consent-content‘).show();
}
$(‚#cookie-consent-tabs‘).tabs();
});

(function(w,d,t,u,n,a,m){w[‚MauticTrackingObject‘]=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,’script‘,’https://marketing.peaceandchaos.com/mtc.js‘,’mt‘);

mt(’send‘, ‚pageview‘);

Sign up for our newsletter and receive updates on the latest Peace & Chaos collections and offers.

I would like to be informed about:

I agree with the terms and conditions.

Don’t show again

jQuery(document).ready(function () {

if (Mage.Cookies.get(„i3newsletterpopup“) != ’shown‘) {
jQuery(‚#i3newsletterpopup‘).popup({
closebutton: true,
autoopen: true,
background: true
});

jQuery(‚#i3newsletterpopup‘).popup({
onclose: function() {
if (jQuery(‚#donotshow:checked‘).length > 0){
var expiryDate = new Date();
expiryDate.setDate(expiryDate.getDate() + 1);
Mage.Cookies.set(‚i3newsletterpopup‘, ’shown‘, expiryDate);
}
}
});

};

jQuery(‚#i3newsletterpopup‘).popup({
closebutton: true,
background: true
});

}); //end document ready

function validateEmail(email) {
const re = /^(([^()\[\]\\.,;:\s@“]+(\.[^()\[\]\\.,;:\s@“]+)*)|(„.+“))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(String(email).toLowerCase());
}

jQuery(document.body).on(‚click‘, „#i3newslettersubbtnpopup“, function(e) {
e.preventDefault();
e.stopImmediatePropagation();
e.stopPropagation();

if (jQuery(‚#emailinput‘).val() == “) {
alert(‚The email address field is empty!‘);
return;
}

var isEmailValid = validateEmail(jQuery(‚#emailinput‘).val());
if(!isEmailValid){
alert(‚Please enter a valid email address.‘);
return;
}

if (!jQuery(‚#i3newslettertermspopup‘).is(‚:checked‘)) {
alert(‚You must accept the terms and conditions before signing up.‘);
return;
}

try {
grecaptcha.reset();
} catch (e) {}
grecaptcha.ready(function() {
// grecaptcha.execute(‚6LfkKM8ZAAAAAE_onunHNSEQX6QCf2lk4Vxhwe1z‘, { action: ‚homepage‘ }).then(function (token) {
// window.gtokeni3 = token;
if (jQuery(‚.grecaptcha-newsletter‘).length) {
// jQuery(‚.grecaptcha-newsletter‘).each(function() {
// jQuery(this).val(token);
// });
setTimeout(function() {
jQuery(‚#i3formform‘)[0].submit();
var expiryDate = new Date();
expiryDate.setDate(expiryDate.getDate() + 365);
var i3newsletterpopup = parseInt(Mage.Cookies.get(„i3newsletterpopup“));
Mage.Cookies.set(‚i3newsletterpopup‘, ’shown‘, expiryDate);
}, 500);
}
//});
});

});

#i3newsletterformcontainer-mobile{
display:none;
}
.popup_close.i3newsletterpopup_close {
position: absolute;
top: 8px;
right: 10px;
background: none;
border: none;
font-size: 30px;
line-height: 25px;
font-weight: lighter;
cursor: pointer;
color: #000;
}
.i3-newsletter-checkbox{
margin-top: 5px;
}
.i3-newsletter-checkbox input{
display: inline-block;
vertical-align: middle;
margin: auto;
}
.i3-newsletter-checkbox p{
display: inline-block;
padding: 2px;
vertical-align: middle;
margin: auto;
margin-left: 5px;
color: #000;
}
.i3-newsletter-checkbox p a{
color: #d8c798;
}
#emailinput {
width: 69%;
font-size: 14px;
line-height: 30px;
padding: 0px 10px;
border: unset;
display: inline-block;
border: 1px solid;
}
#i3newslettersubbtnpopup {
font-family: azo-sans-web;
font-weight: 500;
font-size: 14px;
line-height: 26px;
border: unset;
padding: 0 0px;
margin-top: 5px;
width: 30%;
display: inline-block;
margin: auto;
vertical-align: middle;
color: #444;
background: #000;
color: #fff;
}
#i3newsletterformcontainer h2 {
width: 66%;
font-size: 18px;
text-align: right;
position: absolute;
z-index: 99;
color: white;
margin: 60px auto;
left: 112px;
}
#i3newsletterformcontainer p {
font-size: 14px;
position: absolute;
top: 144px;
left: 56px;
width: 80%;
color: white;
}
#i3newsletterformcontainer {
background: white;
}
#i3formcontent{
margin-bottom: 10px;
}
.i3-newsletter-main-content{
background: #fff;
}
#i3newsletterformcontainer img {max-width: 100%;}
#i3newsletterformcontainer .i3newscontent {position: relative;}
#i3-success-response {font-weight: bold; color: green;}
#i3-error-response {font-weight: bold; color: red;}
.agreecheck {margin-top: -1px;}
span.agreement {
line-height: 30px;
font-size: 14px;
color: white;
}
span.agreement a {
color: #ff4e69;
}

@media only screen and (max-width: 576px) {
#i3newsletterformcontainer p {
font-size: 12px;
top: 120px;
}
#i3newsletterformcontainer-mobile{
display:block;
margin: 35px auto 0px auto;
}
}

@media only screen and (max-width: 398px) {
#i3newsletterformcontainer h2 {
width: 75%;
font-size: 14px;
margin: unset;
margin-top: 42px;
left: 72px;
}

#i3formcontent {
bottom: 0px;
left: 10px;
width: 100%;
}

#i3newsletterformcontainer p {
font-size: 12px;
top: 110px;
left: 36px;
width: 80%;
}

#emailinput {
width: 65%;
font-size: 12px;
}

span.agreement a {
color: white;
}
}
#i3newsletterpopup{
margin: 0px;
max-width: 850px;
background: #fff;
}
@media only screen and (min-width: 577px){
#i3newsletterformcontainer {
width: 40%;
display: inline-flex;
padding: 0px !important;
vertical-align: middle;
}
.i3-newsletter-main-content.col-sm-7 {
width: 60%;
display: inline-flex;
vertical-align: middle;
}
#i3formcontent{
padding: 30px;
padding-left: 40px;
}
}
@media only screen and (max-width: 577px){
#i3newsletterformcontainer{
display: none;
}
#i3newsletterpopup {
max-width: 350px;
padding-bottom: 100px;
padding-left: 20px;
padding-right: 20px;
}
#i3formcontent{
margin-top: 20px;
}
#emailinput {
width: 65%;
font-size: 12px;
}
}

var formsToProtectOnPage = [];
var currentForm;
var currentValidationForm;
var checkedForms = [];
var hasFormsChanged = false;

var onSubmit = function (token) {
if (currentValidationForm && currentValidationForm.validator
&& currentValidationForm.validator.validate()
) {
currentForm.querySelector(‚[name=“amasty_invisible_token“]‘).setAttribute(‚value‘, token);
if (typeof(recaptchaObject) !== ‚undefined‘
&& ‚post‘ !== currentForm.method
) {
recaptchaObject.submit();
} else {
currentForm.submit();
}
} else {
grecaptcha.reset();
}
};

function checkForms() {
formsToProtect = [„form[action*=\“customer\/account\/createpost\“]“,“form[action*=\“newsletter\/subscriber\/new\“]“,“form[action*=\“customer\/account\/loginPost\“]“,“form[action*=\“review\/product\/post\“]“,“form[action*=\“contacts\/index\/post\“]“];
formsToProtect.forEach(function (item) {
var continueWorking = true;
formsSearchedBySelector = $$(item);
checkedForms.forEach(function(element) {
if (element[0] == formsSearchedBySelector[0]) {
continueWorking = false;
return;
}
})
if (formsSearchedBySelector.length != 0 && continueWorking) {
checkedForms.push(formsSearchedBySelector);
formsSearchedBySelector.forEach(function (formToProtect) {
formsToProtectOnPage.push(formToProtect);
hasFormsChanged = true;
});
}
});
if (hasFormsChanged) {
for (var index in formsToProtectOnPage) {
if (formsToProtectOnPage.hasOwnProperty(index)) {
var formToProtectOnPage = formsToProtectOnPage[index];
if (‚form‘ !== formToProtectOnPage.tagName.toLowerCase()) {
formToProtectOnPage = formToProtectOnPage.getElementsByTagName(‚form‘);
if (0 formToProtectOnPage.getElementsByClassName(‚amasty_recaptcha‘).length) {
var recaptchaBlock = document.createElement(‚div‘);
recaptchaBlock.className = ‚amasty_recaptcha‘;
formToProtectOnPage.appendChild(recaptchaBlock);
}

if (1 > formToProtectOnPage.getInputs(formToProtectOnPage, ‚hidden‘, ‚amasty_invisible_token‘).length) {
var tokenInput = document.createElement(‚input‘);
tokenInput.type = ‚hidden‘;
tokenInput.name = ‚amasty_invisible_token‘;
tokenInput.value = “;
formToProtectOnPage.appendChild(tokenInput);
}

formToProtectOnPage.onsubmit = function submitProtectedForm(event) {
currentForm = event.target;
currentValidationForm = new VarienForm(currentForm.id, false);
recaptchaBlock = currentForm.querySelector(„.amasty_recaptcha“);
if (“ == recaptchaBlock.innerHTML) {
recaptcha = grecaptcha.render(recaptchaBlock, {
’sitekey‘: ‚6LdC_fgZAAAAAFyiz_BMokb9ZC4D4X3s7aNoCTN7‘,
‚callback‘: onSubmit,
’size‘: ‚invisible‘,
‚theme‘: ‚light‘,
‚badge‘: ‚bottomright‘
});
}
grecaptcha.reset(recaptcha);
grecaptcha.execute(recaptcha);
return false;
}
}
}
}
}

document.observe(„dom:loaded“, function() {
var formsCount = 0;
setInterval(function () {
var formLength = $$(‚form‘).length;
if (formsCount != formLength) {
formsCount = formLength;
checkForms();
}
}, 1000);
});

source: http://www.peaceandchaos.com/

Share