Уточнить поиск
');
var slider1 = document.getElementById('slider1');
var range_all_sliders = {
'min': [74],
'max': [1301]
};
noUiSlider.create(slider1, {
start: [74, 1301],
connect: true,
step: 2,
handles: 4,
pips: {
mode: 'range',
stepped: true,
density: 4
},
range: range_all_sliders,
});
var inputPriceMin = document.getElementById('inputPriceMin');
var inputPriceMax = document.getElementById('inputPriceMax');
slider1.noUiSlider.on('update', function(values, h) {
var value = values[h];
if (h) {
inputPriceMax.value = value;
} else {
inputPriceMin.value = value;
}
});
slider1.noUiSlider.on('set', function(values, handle) {
var value = values[handle];
console.log(handle);
if (handle) {
inputPriceMax.value = value;
} else {
inputPriceMin.value = value;
}
filter = [];
manufacturer = [];
stock_status = [];
$('input[name^=\'filter\']:checked').each(function(element) {
filter.push(this.value);
});
$('input[name^=\'manufacturer\']:checked').each(function(element) {
manufacturer.push(this.value);
});
$('input[name^=\'stock_status\']:checked').each(function(element) {
stock_status.push(this.value);
});
console.log(manufacturer);
filter = filter.join(',');
manufacturer = manufacturer.join(',');
stock_status = stock_status.join(',');
if (filter != '' && manufacturer != '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter +'&manufacturer=' + manufacturer + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
} else if (filter == '' && stock_status == '' && manufacturer != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&manufacturer=' + manufacturer + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer == '' && stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' && manufacturer == '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer != '' && stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&manufacturer=' + manufacturer + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer == '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' && manufacturer != '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&manufacturer=' + manufacturer + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' || manufacturer == '' || stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami' + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
});
inputPriceMin.addEventListener('change', function() {
slider1.noUiSlider.set([this.value, null]);
});
inputPriceMax.addEventListener('change', function() {
slider1.noUiSlider.set([null, this.value]);
});
filter1 = [];
filter2 = [];
col = [];
$('input[name^=\'filter\']').each(function(element) {
if ( $(this).is(':checked')) {
filter1.push($(this).val());
col.push($(this).next().find('.total_prod ,.total_prod_off'));
}
else {
filter2.push($(this).val());
}
});
m1 = [];
m2 = [];
m_col = [];
$('input[name^=\'manufacturer\']').each(function(element) {
if ( $(this).is(':checked')) {
m1.push($(this).val());
m_col.push($(this).next().find('.total_prod ,.total_prod_off'));
}
else {
m2.push($(this).val());
}
});
st_col = [];
$('input[name^=\'stock_status\']').each(function(element) {
if ( $(this).is(':checked')) {
st_col.push($(this).next().find('.total_prod ,.total_prod_off'));
}
});
function filter_new (col) {
for (var i = 0; i < col.length; i++) {
col[i].html('x');
col[i].css({'background':'#8a7c7c','font-size':'15px'});
col[i].removeClass('total_prod total_prod_off');
col[i].addClass('total_prod_on');
}
/*$.ajax({
url: '',
type: 'get',
dataType: 'json',
data:{filter1: f1, filter2: f2, category_id: 25},
success: function(json) {
console.log(json['mod_filter']);
}
}); */
}
filter_new (col); filter_new (m_col); filter_new (st_col);
//-->
function loadPage(id1){
filter = [];
manufacturer = [];
stock_status = [];
$('input[name^=\'filter\']:checked').each(function(element) {
filter.push(this.value);
});
$('input[name^=\'manufacturer\']:checked').each(function(element) {
manufacturer.push(this.value);
});
$('input[name^=\'stock_status\']:checked').each(function(element) {
stock_status.push(this.value);
});
filter = filter.join(',');
manufacturer = manufacturer.join(',');
stock_status = stock_status.join(',');
if (filter != '' && manufacturer != '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter +'&manufacturer=' + manufacturer + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
} else if (filter == '' && stock_status == '' && manufacturer != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&manufacturer=' + manufacturer + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer == '' && stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' && manufacturer == '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer != '' && stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&manufacturer=' + manufacturer + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter != '' && manufacturer == '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&filter=' + filter + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' && manufacturer != '' && stock_status != ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami&manufacturer=' + manufacturer + '&stock_status=' + stock_status + '&min=' + inputPriceMin.value + '&max=' + inputPriceMax.value;
}
else if (filter == '' || manufacturer == '' || stock_status == ''){
location = 'https://kkrim.ru/cosmetic/uhod-za-volosami';
}
}
function diplay_hide_filter (blockId,cl)
{
if ($(blockId).css('display') == 'none')
{
$(blockId).animate({height: 'show'}, 500);
$(cl).removeClass('glyphicon glyphicon-plus');
$(cl).addClass('glyphicon glyphicon-minus');
}
else
{
$(blockId).animate({height: 'hide'}, 500);
$(cl).removeClass('glyphicon glyphicon-minus');
$(cl).addClass('glyphicon glyphicon-plus');
}
}
is_null = [];
$('input[name^=\'filter\'],input[name^=\'manufacturer\'],input[name^=\'stock_status\']').each(function(element) {
is_null.push($(this).next().find('.total_prod,.total_prod_off'));
for (var i = 0; i < is_null.length; i++) {
if (is_null[i].html()== '-') {
is_null[i].parents('div.checkbox').addClass('is_null');
is_null[i].parents('div.checkbox').find('input').attr('disabled','disabled');
$('.is_null').css('opacity','0.2');
}
}
});
$("a.list-group-item").mousemove(function(){
$(this).find('.glyphicon').css('color','#fff');
});
$("a.list-group-item").mouseleave(function(){
$(this).find('.glyphicon').css('color','');
});
$('.noUi-value-horizontal').css({'color':'','padding-top':'2px'});
$('.noUi-horizontal').css('height', '8px');
$('.noUi-horizontal .noUi-handle').css ({'width':'13px','height':'15px','position':'absolute','left':'20%','top':'-4px','margin-left':'-6px','cursor':'pointer'});
$('.noUi-handle').css({'border': '0px','background': 'url(/jslider/img/jslider.png) no-repeat 0 0','box-shadow': 'inset 0 0 0px #FFF','background-position':'0 -40px'});
Уход за волосами
Шампунь восстанавливающий Seaweed Hair Collection подходит для ослабленных и окрашенных волос.э..
Шампунь Детокс для чувствительной кожи головы препятствует появлению перхоти, уменьшает раздраж..
Эфирное масло Лавандина Гроссо нормализует салообразование кожи головы, стимулирует рост сильных и з..
Натуральные шампуни от ТМ «Мануфактура ДОМ ПРИРОДЫ»
существенно отличаются от привычных «химических..
Шампунь для темных и окрашенных волос "Насыщенный цвет" на основе экстракта винограда.Темные сорта в..
Натуральные шампуни от ТМ «Мануфактура ДОМ ПРИРОДЫ»
существенно отличаются от привычных «химических..
Натуральные шампуни от ТМ «Мануфактура ДОМ ПРИРОДЫ» существенно отличаются от привычных «химических»..
Натуральный шампунь с грязью Сакского озера и березовым
дегтем поддерживает здоровье кожи головы и ..
Натуральный шампунь с
грязью Сакского озера и корнем лопуха заботится об укреплении и улу..
Натуральный шампунь с
грязью Сакского озера и маслом арганы обеспечивает глубокое питание..
Мягкий натуральный шампунь на гидролате айвы бережно очищает, не раздражает кожу головы. Айва в соче..
Шампунь "Активатор роста" разработан на базе экстрактов ламинарии и имбиря. Эти компоненты способств..
Твоя улыбка и красивые и здоровые волосы могут свернуть горы! Шампунь на основе гидролата лаванды пр..
Активная формула шампуня:Биофен нормализует тканевое дыхание, восстанавливает энергетику клеток и за..
Твоя улыбка и красивые и здоровые волосы могут свернуть горы! Шампунь на основе гидролата лаванды за..
Шампунь для мужчин "Интенсивный уход" отлично очищает волосы
от загрязнений и подходит для ежед..
Шампунь для мужчин "Укрепляющий" отлично очищает волосы от
загрязнений и подходит для ежедневно..
Придаёт силу и блеск тусклым и ослабленным волосам. Создаёт объём от самых корней. Мягкие ПАВ бережн..
Придаёт силу и блеск тусклым и ослабленным волосам. Создаёт объём от самых корней. Мягкие ПАВ бережн..
Шампунь для мужчин «Интенсивный уход» отлично очищает волосы от загрязнений и подходит для ежедневно..
Показано с 281 по 300 из 331 (всего 17 страниц)