Länge in Metern (bitte wählen)
-- Bitte auswählen -- 0,5m 1,0m +
2,83 €
2,38 €
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 +
5,66 €
4,76 €
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 +
8,50 €
7,14 €
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 +
15,58 €
13,09 €
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 +
31,15 €
26,18 €
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 +
50,98 €
42,84 €
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 +
65,14 €
54,74 €
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");