Светофильтры на объектив Freewell Versatile Magnetic VND
gtag('event', 'view_item_list', {
"send_to": "UA-32432488-1",
"ecomm_pagetype": "category",
"items": [
]
});
$(".goods .goods_row a").click(
function(e) {
gtag('event', 'select_content', {
"content_type": "product",
"send_to": "UA-32432488-1",
"ecomm_prodid": $(this).data("uidgood"),
"ecomm_totalvalue": $(this).data("pricegood"),
"items": [
{
"id": $(this).data("uidgood"),
"name": $(this).data("namegood"),
"list_name": "Category",
"ecomm_pagetype": "Category",
}
]
});
}
);
$('.lazy').lazy(
{
beforeLoad: function (element) {
$(element).on("error", function () {
$(element).addClass('no-image');
});
},
afterLoad: function(element) {
$(element).closest('.float-left.first').find('.productShimmerLoader').hide();
},
onError: function(element) {
$(element).attr("src",'/wa-content/img/design/themes/no-image.svg');
$(element).addClass('no-image');
$(element).closest('.float-left.first').find('.productShimmerLoader').hide()
}
});
$('.item_action_block .item_like').off('click').on('click', function() {
let productId = $(this).closest('.item_action').find('input[type="submit"]').attr('data-pid');
let productPrice = $(this).closest('.item_action').find('input[type="submit"]').attr('data-pprice');
if (productId == undefined) {
productId = $(this).closest('.item_action').find('input[type="hidden"][name="product_id"]').val();
productPrice = parseInt($(this).closest('.item_desc').find('.price .current').text());
}
console.log(productId + ' - '+ productPrice)
var _tmr = window._tmr || (window._tmr = [])
_tmr.push({
type: 'reachGoal',
id: 3325343,
value: productPrice,
goal: 'addtofavorites',
params: {
product_id: productId
}
});
_tmr.push({
type: 'reachGoal',
id: 3245403,
value: productPrice,
goal: 'add_to_wishlist',
params: {
product_id: productId
}
});
});
$(document).ready(function() {
$('#tabs').easytabs({
updateHash: true
});
});
$(function() {
$(window).scroll(function() {
if($(this).scrollTop() != 0) {
$('#toTop').fadeIn();
} else {
$('#toTop').fadeOut();
}
});
$('#toTop').click(function() {
$('body,html').animate({scrollTop:0},800);
});
});
jQuery(document).ready(function($) {
$.quickorder.locale='ru_RU';
$.quickorder.aftercallback='';
;
});
$(document).ready(function () {
$("#search").searchautocomplete({"serviceUrl":"\/search\/autocomplete\/","minChars":1000});
});
var arrived_ignore_stock_count = 1;
$.itemsetsFrontend.init();
(function() {
return new Promise(function (resolve, reject) {
var s;
s = document.createElement('script');
s.src = '/wa-apps/shop/plugins/itemsets/js/itemsetsFrontendLocaleOriginal.js';
s.onload = resolve;
s.onerror = reject;
document.body.appendChild(s);
})
})()
new Promise(function(e,n){var r;(r=document.createElement("script")).src="/wa-apps/shop/plugins/optimizer/js/optimizer-register.js?0.0.1231731109656",r.onload=e,r.onerror=n,document.head.appendChild(r)});
new Promise(function(e,n){var r;(r=document.createElement("script")).src="/wa-apps/shop/plugins/deliveryinfo/js/deliveryinfo_front.js",r.onload=e,r.onerror=n,document.head.appendChild(r)});
var fired = false;
$(document).ready(() => {
console.log('------------------TRIGGER')
if (fired === false) {
fired = true;
var asyncLoadScripts = window.setTimeout(() => {
$.ajax({
type: "GET",
url: "/async/",
async:true,
cache: true,
data: {
main_action : 'category',
ulk : '1', yandexsale : '',
canonical : 'https://kremlinstore.ru/category/freewell-versatile-magnetic-vnd/',
mainPage : 'https://kremlinstore.ru',
ref : 'https://kremlinstore.ru/category/freewell-versatile-magnetic-vnd',
config : '{"opt":null,"vk_api_id":4387331,"now":"?1731109656"}',
cart_code : '',
user_id : '',
category : '{"id":"497372"}', },
success: function(html){
$("body").append(html);
}
});
}, 100)
}
});