window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('js', new Date());
var _paq = _paq || [];
var _paq = _paq || []
_paq.push(['trackEvent', 'product', 'visit', '80115']);
Светофильтр Fotorgear Pro II Gold Streak 58мм
Артикул: 80115
Вид фильтра: Streak (блики от источника света)
Диаметр светофильтра: 58 мм
$(document).on('change', 'input[type="checkbox"].related_product_checkbox_field', function () {
let sum = 0;
$('input[type="checkbox"].related_product_checkbox_field:checked').each(function (i, e) {
sum = sum + parseInt($(e).data('price'));
});
$('#related_total_amount').text(sum.toLocaleString());
});
$(document).on('click', '.related_product_container .black_btn', function () {
//e.preventDefault();
$('input[type="checkbox"].related_product_checkbox_field:checked').each(function (i, e) {
var btn = $('.related_product_container .black_btn');
var cont = $('.related_product_container');
$(e).prop('checked', false);
$.ajax({
type: "POST",
url: "/cart/add/",
data: {
product_id: $(e).data('product-id'), quantity: 1
},
beforeSend: function () {
btn.addClass('processing');
cont.addClass('white-fade');
},
success: function (response) {
console.log(response)
if (response.hasOwnProperty("data")) {
updateCartRelated(response.data)
} else {
alert(response.errors)
}
},
complete: function () {
btn.removeClass('processing');
cont.removeClass('white-fade');
}
});
});
});
$(document).on('DOMNodeInserted', 'input[name="load_complete"]', function (e) {
let endOffset = 0;
const floatHeight = $('#product_left_block').outerHeight(true);
if ($('.also_buy').length) {
endOffset = $('.also_buy').position().top;
} else if ($('#upper_tabs').length) {
endOffset = $('#upper_tabs').position().top;
}
console.log('STICKY! '+ endOffset);
if (endOffset > 0) {
var stickyBottomOffset = $('.also_buy').height();
console.log('sticky_offset '+endOffset);
console.log( $(document).outerHeight(true))
$('#product_left_block').sticky({
topSpacing: $('#top_menu_search').outerHeight(), bottomSpacing: $(document).outerHeight(true) - endOffset
});
}
});
function updateCartRelated(data) {
$("#cart_header .cart-total").html(data.total.replace(/[^0-9 ]/gi, ''));
let el = $('.header_list--cart .header_product[data-id="' + data.item_id + '"]').find('.multiplier');
el.data('data-count', parseInt(el.attr('data-count')) + 1).html('(' +el.attr('data-count') + ' шт)');
$('.header_action_counter--cart').html(data.count)
if (data.count == 0) {
$(".cart-total").empty();
$('.header_action_counter--cart').empty().hide();
$(".cart-total span:first").attr('data-total', 0);
}
}
if (typeof yamaps == 'undefined') {
(function() {
return new Promise(function (resolve, reject) {
var s;
s = document.createElement('script');
s.src = "https://api-maps.yandex.ru/2.1/?apikey=c9fff453-c3f4-4a82-a88c-63b1b148c552&lang=ru-RU";
s.onload = resolve;
s.onerror = reject;
document.body.appendChild(s);
})
})();
}
Оплата заказа при получении
var country_town = localStorage.getItem('formStorage');
var date = new Date();
let compare_location = '';
obj_town = JSON.parse(country_town);
if (obj_town !== "undefined" && obj_town !== null) {
compare_location = obj_town.user_region;
} else {
compare_location = Cookies.get('city-choose-full')
}
if (compare_location == 'Россия, Москва' && date.getHours() < 12) {
$("#updateDelivery span").html("Доставим сегодня");
} else {
$("#updateDelivery span").html("Доставим быстро");
}
Фильтр Gold Streak повторяет эффект дорогой анаморфной оптики. Источники света растягиваются в горизонтальном блике теплого золотистого оттенка
Характеристики
Линз в комплекте
1 шт
Вид фильтра
Streak (блики от источника света)
Диаметр светофильтра
58 мм
Артикул производителя
10259
ВНИМАНИЕ
адаптер для установки не входит в комплект
Вес
35 г
Похожие товары
Светофильтр Kase Soft GND1.2 Mobile Magnetic
Нет оценок
Светофильтр Kase Soft GND1.5 Mobile Magnetic
Нет оценок
Светофильтр Kase ND4000 Mobile Magnetic
Нет оценок
Светофильтр Kase ND4 Mobile Magnetic
Нет оценок
Светофильтр Kase ND32 Mobile Magnetic
Нет оценок
Светофильтр NiSi Black Mist 1/4 для IP-A
Нет оценок
Светофильтр Kase Magnetic Blue Streak +magnetic clip
Нет оценок
Светофильтр SmallRig MagEase Magnetic CPL
Нет оценок
gtag('event', 'view_item_list', {
"send_to": "UA-32432488-1",
"ecomm_pagetype": "Главная",
"items": [
{
"id": 24631,
"name": "Светофильтр Kase Soft GND1.2 Mobile Magnetic",
"list_name": "Главная"
},
{
"id": 24632,
"name": "Светофильтр Kase Soft GND1.5 Mobile Magnetic",
"list_name": "Главная"
},
{
"id": 24634,
"name": "Светофильтр Kase ND4000 Mobile Magnetic",
"list_name": "Главная"
},
{
"id": 24639,
"name": "Светофильтр Kase ND4 Mobile Magnetic",
"list_name": "Главная"
},
{
"id": 24636,
"name": "Светофильтр Kase ND32 Mobile Magnetic",
"list_name": "Главная"
},
{
"id": 48767,
"name": "Светофильтр NiSi Black Mist 1/4 для IP-A",
"list_name": "Главная"
},
{
"id": 25560,
"name": "Светофильтр Kase Magnetic Blue Streak +magnetic clip",
"list_name": "Главная"
},
{
"id": 70673,
"name": "Светофильтр SmallRig MagEase Magnetic CPL",
"list_name": "Главная"
},
]
});
$(".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": "Главная",
"ecomm_pagetype": "Главная",
}
]
});
}
);
$('.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
}
});
});
Удалённый склад
Вы добавили товар с удаленного склада. Это значит, что на доставку такого товара
потребуется на 3-5 дней больше чем расчетное время доставки в корзине
var _tmr = window._tmr || (window._tmr = [])
_tmr.push({
type: 'reachGoal',
id: 3325343,
value: '1990.0000',
goal: 'prosmotrel_kartochku_tovara',
params: {
product_id: '80115'
}
});
$('.product_action--like').off('click').on('click', function() {
var _tmr = window._tmr || (window._tmr = [])
_tmr.push({
type: 'reachGoal',
id: 3325343,
value: '1990.0000',
goal: 'addtofavorites',
params: {
product_id: '80115'
}
});
_tmr.push({
type: 'reachGoal',
id: 3245403,
value: '1990.0000',
goal: 'add_to_wishlist',
params: {
product_id: '80115'
}
});
});
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({
type: "reachGoal",
id: 3245403,
value: "1990.0000",
goal: "viewProduct",
params:
{
product_id: "80115"
}
});
gtag('event', 'view_item', {
"send_to": "UA-32432488-1",
"ecomm_prodid": "80115",
"ecomm_pagetype": "product",
"ecomm_totalvalue": '1990.0000',
"items": [
{
"id": "80115",
"name": "Светофильтр Fotorgear Pro II Gold Streak 58мм",
"price": '1990.0000'
}
]
});
window.vkAsyncInit = function() {
VK.Retargeting.Init('VK-RTRG-1347429-hq2AP');
const eventParams = {
"products" : [{"id":"80115"}],};
VK.Retargeting.ProductEvent(240231, "view_product", eventParams);
}