window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('js', new Date());
var _paq = _paq || [];
var _paq = _paq || []
_paq.push(['trackEvent', 'product', 'visit', '29621']);
Чехол Freewell Sherpa для Samsung Galaxy S23 Ultra
Артикул: 29621
$(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);
}
}
Особенности
Apple MagSafe, байонет Sherpa для мобильного объектива
Модель устройства
Samsung Galaxy S23 Ultra
Вид чехла
накладка
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("Доставим быстро");
}
Чехол серии Sherpa байонетом для установки объектива от Freewell. В корпус уже встроен адаптер Apple MagSafe для работы с соответствующими аксессуарами
Характеристики
Особенности конструкции
Apple MagSafe, байонет Sherpa для мобильного объектива
Модель устройства
Samsung Galaxy S23 Ultra
Вид чехла
накладка
Артикул производителя
FW-GX-S23U
Вес
80 г
Похожие товары
Чехол X-Doria Defense Shield для Samsung Galaxy Note10 Розовое золото
Нет оценок
Чехол X-Doria Defense Shield для Samsung Galaxy Note10 Красный
Нет оценок
Чехол Raptic Shield для Galaxy Note 20 Красный
Нет оценок
Чехол Raptic Shield для Galaxy Note 20 Переливающийся
Нет оценок
Чехол PQY Wish для Galaxy S20 Чёрный
Нет оценок
Чехол PQY Spring для Galaxy S20 Ultra White/Pink Flower
Нет оценок
Чехол PQY Spring для Galaxy S20 Ultra Purple Flower
Нет оценок
Чехол PQY Spring для Galaxy S20 Ultra Gold Feather
Нет оценок
gtag('event', 'view_item_list', {
"send_to": "UA-32432488-1",
"ecomm_pagetype": "Главная",
"items": [
{
"id": 17157,
"name": "Чехол X-Doria Defense Shield для Samsung Galaxy Note10 Розовое золото",
"list_name": "Главная"
},
{
"id": 17155,
"name": "Чехол X-Doria Defense Shield для Samsung Galaxy Note10 Красный",
"list_name": "Главная"
},
{
"id": 21369,
"name": "Чехол Raptic Shield для Galaxy Note 20 Красный",
"list_name": "Главная"
},
{
"id": 21370,
"name": "Чехол Raptic Shield для Galaxy Note 20 Переливающийся",
"list_name": "Главная"
},
{
"id": 20592,
"name": "Чехол PQY Wish для Galaxy S20 Чёрный",
"list_name": "Главная"
},
{
"id": 20613,
"name": "Чехол PQY Spring для Galaxy S20 Ultra White/Pink Flower",
"list_name": "Главная"
},
{
"id": 20614,
"name": "Чехол PQY Spring для Galaxy S20 Ultra Purple Flower",
"list_name": "Главная"
},
{
"id": 20615,
"name": "Чехол PQY Spring для Galaxy S20 Ultra Gold Feather",
"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(
{
afterLoad: function(element) {
$(element).closest('.float-left.first').find('.productShimmerLoader').hide();
},
onError: function(element){
$(element).attr("src",'/wa-data/public/shop/products/14/webp/content/img/design/themes/no-image.webp');
$(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: '0.0000',
goal: 'prosmotrel_kartochku_tovara',
params: {
product_id: '29621'
}
});
$('.product_action--like').off('click').on('click', function() {
var _tmr = window._tmr || (window._tmr = [])
_tmr.push({
type: 'reachGoal',
id: 3325343,
value: '0.0000',
goal: 'addtofavorites',
params: {
product_id: '29621'
}
});
_tmr.push({
type: 'reachGoal',
id: 3245403,
value: '0.0000',
goal: 'add_to_wishlist',
params: {
product_id: '29621'
}
});
});
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({
type: "reachGoal",
id: 3245403,
value: "0.0000",
goal: "viewProduct",
params:
{
product_id: "29621"
}
});
gtag('event', 'view_item', {
"send_to": "UA-32432488-1",
"ecomm_prodid": "29621",
"ecomm_pagetype": "product",
"ecomm_totalvalue": '0.0000',
"items": [
{
"id": "29621",
"name": "Чехол Freewell Sherpa для Samsung Galaxy S23 Ultra",
"price": '0.0000'
}
]
});
window.vkAsyncInit = function() {
VK.Retargeting.Init('VK-RTRG-1347429-hq2AP');
const eventParams = {
"products" : [{"id":"29621"}],};
VK.Retargeting.ProductEvent(240231, "view_product", eventParams);
}