Länge in Metern (bitte wählen)
-- Bitte auswählen -- 0,5m 1,0m +
1,79 €
1,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
2,0m +
2,38 €
2,00 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
3,0m +
2,98 €
2,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
5,0m +
6,55 €
5,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
7,0m +
7,74 €
6,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
10,0m +
8,93 €
7,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
15,0m +
14,28 €
12,00 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");
20,0m +
23,21 €
19,50 €
require([
'jquery',
], function ($) {
$( document ).ready(function() {
// Check if the user is logged in or logged out
var isLoggedIn = false;
var isLoggedOut = false;
// Check for the presence of 'account/login' and 'account/logout' in the href attributes
$('.cs-header-user-nav__menu a').each(function() {
var href = $(this).attr('href');
if (href.includes('account/logout/')) {
isLoggedIn = true;
} else if (href.includes('account/login/')) {
isLoggedOut = true;
}
});
// Determine the user status based on the presence of the links
if (isLoggedIn) {
console.log('User is logged in');
// Add your logic for when the user is logged in
} else if (isLoggedOut) {
console.log('User is logged out f');
// Add your logic for when the user is logged out
// if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ')
// }
jQuery('.cs-grid-layout__brick').each(function() {
let productName = jQuery(this).find(".cs-product-tile__name-link.product-item-link").text();
if (productName.toLowerCase() && productName.toLowerCase().indexOf('hikvision') != -1) {
// console.log(productName);
jQuery(this).find(".price-box.price-final_price").html('Preise sichtbar im Login >>');
}
});
} else {
console.log('User status could not be determined');
// Add your logic for when the user status is not determined
}
if (jQuery("li.cs-grid-layout__brick .hide-price.show-price-for-all").length > 1){
console.log('page has show-price-for-all');
if (jQuery("li.cs-grid-layout__brick .price-container.price-final_price.tax.weee").length > 0) {
// jQuery("li.cs-grid-layout__brick .price-box.price-final_price").html(' Preise sichtbar im Login >> ');
}
}
});
});
console.log("test me here 21123");