Länge in Metern (bitte wählen)
-- Bitte auswählen -- 0,5m 1,0m +
0,57 €
0,48 €
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 +
1,56 €
1,31 €
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,56 €
2,15 €
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 +
4,53 €
3,81 €
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 +
9,50 €
7,98 €
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,45 €
12,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");
20,0m +
18,69 €
15,71 €
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");