var fb_pixel_event_id_search = getCookie('fb_pixel_event_id_search'); var content_ids_list = []; var search_string = ''; function getContentIdsList() { var listSelector = getListSelector(); if (typeof listSelector !== 'undefined') { return getContentIds(listSelector, '', ''); if (content_ids_list.length == 0) { console.log('Could not locate the product IDs'); } } } function fctp_search(max_tries) { if (typeof jQuery == 'undefined' || typeof fbq != 'function') { setTimeout(function() { fctp_search(max_tries-1) },500); } else { $(document).ready(function () { content_ids_list = getContentIdsList(); if (content_ids_list.length > 0) { launchSearchEvent(); } function launchSearchEvent() { $.ajax({ url: pp_aurl, type: 'POST', cache: false, data: { customAjax: true, content_ids_list : content_ids_list, search_query: search_string, quantity: qty, event: 'Search', rand: Math.floor((Math.random() * 100000) + 1), token: '207ac0c434c316ea0608d9d142021a46', } }) .done(function(data) { if (typeof data.custom_data !== 'undefined') { ppTrackEvent('Search', data.custom_data, data.event_id); } }) .fail(function(jqXHR, textStatus, errorThrown) { // Something went wrong }); } }); } } function getListSelector() { if ($('#product_list').length > 0) { return $('#product_list').children(); } else if ($('.products article').length > 0) { return $('.products article'); } else if ($('.product_list').length > 0) { return $('.product_list').children(); } else if ($('.ajax_block_product').length > 0) { return $('.ajax_block_product'); } } function getContentIds(selector, prefix, combi_prefix) { var tmp = []; var id = ''; selector.each(function() { if (tmp.length < 5) { let e = false; if ($(this).data('idProduct') > 0) { e = $(this); } else if ($(this).find('[data-id-product]').length > 0) { e = $(this).find('[data-id-product]').first(); } else { $(this).find('a').each(function() { let param = $(this).attr('href').match(/\/([0-9]*)-([0-9]*)[\-]?/); if (typeof param[1] !== 'undefined') { id = param[1] } else if (combi_prefix !== false && typeof param[2] !== 'undefined') { id += combi_prefix+param[2]; } }); } if (e !== false) { id = e.data('idProduct'); if (combi_prefix !== false && e.data('idProductAttribute')) { id += combi_prefix+e.data('idProductAttribute'); } } if (id !== '') { tmp.push(id); } } else { return false; } }); return tmp.length > 0 ? tmp : false; } -->

ΦΙΛΤΡΑ ΑΝΑΖΗΤΗΣΗΣ

Κατηγορίες
more... less
Τιμή
26 27
Brands
Filter

Αρχική

Αρχική

Αποτελέσματα αναζήτησης

Προβολή 1-1 of 1 προϊόν(τα)
*/ -->