Audio features | Audio by B&O; Dual speakers; HP Audio Boost Add to Wish ListCompare this Product ASUS Gaming Laptop N580GD-DB74 , Intel Core i7-8750HQ, 8GB+13220.00 AED Add to Wish ListCompare this Product Dell Laptop Latitude 3520 11th Gen Intel Core I7-1165G7 8GB 3509.00 AED 3599.00 AED Sale 90 Add to Wish ListCompare this Product Acer Spin Laptop 1, Intel Celeron N3350 2GB Ram eMMC 32GB, S789.00 AED Add to Wish ListCompare this Product Samsung 24" Curved Gaming Monitor - LC24F390FHMXZN550.50 AED Add to Wish ListCompare this Product Dell Latitude 3400, Intel Core i7-8565U Processor (8M Cache,3100.00 AED 3899.00 AED Sale 799 Add to Wish ListCompare this Product Lenovo Ideapad 320 Intel Core i5-8250U, 8GB Ram, 2TB HDD, 4G2172.00 AED Add to Wish ListCompare this Product HP AIO 24-df1097nh All in One Intel Core i5-1135G7 8GB/1TBHD3349.00 AED Add to Wish ListCompare this Product HP Notebook 15-Da2199 I7-10510u 10th Gen 8GB Memory 1TB HDD2700.00 AED Reviews (0)Please login or register to review Reviews Over HP Pavilion Gaming Laptop 15-Ec1046nr AMD Ryzen 7-4800H 12GB 512GBSSD GTX-1660Ti 6GB 15.6" Full HD En Keyboard Windows 10 BlackTotal Reviews (0) click here write review to add review for this product.
.ciname_fl {
border-radius: 0%;
-webkit-border-radius: 0%;
}
× Write a review For HP Pavilion Gaming Laptop 15-Ec1046nr AMD Ryzen 7-4800H 12GB 512GBSSD GTX-1660Ti 6GB 15.6" Full HD En Keyboard Windows 10 Black Please login or register to review × Report this review.CancelSubmit
//
return filters;
}
function clearFilters(defaults) {
$('input[name="cirating_filter"]').val(0);
$('input[name="cirating_filters"]').val('');
$('input[name="cirating_dofilters"]').val('');
$('#cireview_filters .cireview_filter').removeClass('active'); //
refreshReviews(defaults);
}
var ajaxCiReviewSearch = null;
function refreshReviews(defaults) {
defaults = $.extend({
before : function() {},
callback : function() {},
fadeInOut : true,
},defaults);
var filters = applyFilters();
var filter = '';
if (filters.length) {
filter += '&' + filters.join('&';;
}
defaults.before();
// if (defaults.fadeInOut) { $('#cireview').fadeOut('slow'); }
// $('#cireview').load('index.php?route=cireviewpro/cireview/review&product_id=16468&ajax=1'+filter, function() { addThisRefresh(); if (defaults.fadeInOut) { $('#cireview').fadeIn('slow'); } defaults.callback(); });
ajaxCiReviewSearch = $.ajax({
url: 'index.php?route=cireviewpro/cireview/review',
type: 'get',
data: 'product_id=16468&ajax=1'+filter,
dataType: 'html',
beforeSend: function() {
if (defaults.fadeInOut) { $('#cireview').fadeOut('slow'); }
},
complete: function() {
},
success: function(html) {
$('#cireview').html(html);
addThisRefresh(); if (defaults.fadeInOut) { $('#cireview').fadeIn('slow'); } defaults.callback();
},
error: function(xhr, ajaxOptions, thrownError) {
// alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
}
$('#cireview_filters').on('click', '.cireview_filter', function(e) {
var $this = $(this);
var value = $(this).attr('data-value');
$('input[name="cirating_filters"]').val(value);
$('#cireview_filters .cireview_filter').removeClass('active');
$this.addClass('active');
var oldClass = $(this).find('i').attr('data-class');
$(this).find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin');
refreshReviews({
before: function() {
abortCiReviewSearch();
},
callback: function() {
$this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass);
}
});
});
//
function abortCiReviewSearch() {
if (ajaxCiReviewSearch) {
if (ajaxCiReviewSearch.readyState != 4){
ajaxCiReviewSearch.abort();
ajaxCiReviewSearch = null;
}
}
}
function ciReviewSearchResults() {
var oldClass = $('#cireviewsearch').find('i').attr('data-class');
$('#cireviewsearch').find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin');
refreshReviews({
before: function() {
abortCiReviewSearch();
},
callback: function() {
$('#cireviewsearch').find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass);
}
});
}
var keyTypeWatch = (function(){
var timer = 0;
return function(callback, ms){
clearTimeout (timer);
timer = setTimeout(callback, ms);
}
})();
//
$('.clearfilters').on('click', function() {
var $this = $(this);
var oldClass = $(this).find('i').attr('data-class');
$(this).find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin');
clearFilters({
before: function() {
abortCiReviewSearch();
},
callback: function() {
$this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass);
}
});
});
$('input.cirating-stars[type=number]').each(function() {
$(this).rating({
'min' : 1,
'max' : parseInt('5'),
'icon-lib' : "cifa fa",
'active-icon' : "fa-star",
'inactive-icon' : "fa-star-o",
'clearable' : false,
'divclass' : 'cirating-input'
});
});
if (typeof addthis == 'undefined') {
var addthis_config = {"data_track_clickback": true};
var script = document.createElement('script');
script.setAttribute('src','//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e');
$('#cireview-abuse-16468').before(script);
}
$('#cireview-posnegreviews').on('click', '.cirating-posnegfilter', function(e) {
var cirating = $(this).attr('data-cirating');
$('input[name="cirating_filter"]').val(cirating);
refreshReviews({
callback : function() {
var offset = $('#cireview').offset();
$('html, body').animate({ scrollTop: (offset.top - 80) }, 'slow');
}
});
});
$('#cireviewgraph').on('click', '.cirating-filter', function(e) {
var cirating = $(this).attr('data-cirating');
$('input[name="cirating_filter"]').val(cirating);
refreshReviews({
before: function() {
abortCiReviewSearch();
},
callback : function() {
var offset = $('#cireview').offset();
$('html, body').animate({ scrollTop: (offset.top - 80) }, 'slow');
}
});
});
var citabreview = 0;
$('a[href="#tab-review"]').on('click', function() {
if (citabreview==0) {
refreshReviews({
before: function() {
abortCiReviewSearch();
},
fadeInOut : false,
});
}
citabreview++;
});
$('#cireview').delegate('.pagination a', 'click', function(e) {
e.preventDefault();
$('#cireview').fadeOut('slow');
$('#cireview').load(this.href, function() { addThisRefresh(); $('#cireview').fadeIn('slow'); });
});
refreshReviews({
before: function() {
abortCiReviewSearch();
},
fadeInOut : false,
});
$('#button-cireview').on('click', function() {
$('.alert').remove();
$('.text-danger').remove();
var $this = $(this);
var data = $("#form-cireview").serialize();
if (data) {
data += '&';
}
// 20-sep-2021: code starts
data += $('.cireview-form select, .cireview-form input, .cireview-form textarea').serialize();
// 20-sep-2021: code ends
$.ajax({
url: 'index.php?route=cireviewpro/cireview/write&product_id=16468',
type: 'post',
dataType: 'json',
data: data,
beforeSend: function() {
$('#button-cireview').button('loading');
},
complete: function() {
$('#button-cireview').button('reset');
},
success: function(json) {
$('.alert').remove();
$('.text-danger').remove();
$('.cireview-form .has-error').each(function() {
$(this).removeClass('has-error');
});
if (json['error']) {
$this.parent().after(' ' + json['error'] + ' × ');
}
if (json['name']) {
$('input[name=\'ciname\']').after(' ' + json['name'] + ' ');
}
if (json['email']) {
$('input[name=\'ciemail\']').after(' ' + json['email'] + ' ');
}
if (json['text']) {
$('textarea[name=\'cireview\']').after(' ' + json['text'] + ' ');
}
if (json['title']) {
$('input[name=\'cititle\']').after(' ' + json['title'] + ' ');
}
if (json['rating']) {
for (var i in json['rating']) {
$('#cirating-'+ i + ' > div').append(' ' + json['rating'][i] + ' ');
}
}
if (json['captcha']) {
$('#cicaptcha').append(' ' + json['captcha'] + ' ');
}
// 20-sep-2021: code starts
if (json['location']) {
$('select[name=\'cicountry_id\']').after(' ' + json['location'] + ' ');
$('select[name=\'cizone_id\']').after(' ' + json['location'] + ' ');
}
// 20-sep-2021: code ends
$('.cireview-form .text-danger').parents('.form-group').addClass('has-error');
if (json['success']) {
$('#cireview-modal').find('.modal-header').before(' ' + json['success'] + ' × ');
$('#cireview-graph').before(' ' + json['success'] + ' × ');
$('input[name=\'ciname\']').val('');
$('input[name=\'cireview_image\']').val('');
$('textarea[name=\'cireview\']').val('');
$('input[name=\'cititle\']').val('');
$('input[name=\'ciemail\']').val('');
// 20-sep-2021: code starts
$('select[name=\'cicountry_id\']').val('').trigger('change');
// 20-sep-2021: code ends
$('.cirating:checked').prop('checked', false);
$('input.cirating-stars[type=number]').each(function() {
$(this).rating('clear');
});
$('#ciattach_images').html('');
$('#cicaptcha input').val('');
if (json['refresh']) {
refreshReviews({
before: function() {
abortCiReviewSearch();
},
callback: function() {
$('a[href="#tab-review"]').html(json['tab_review']);
if (json['cireviewgraph']) { $('#cireviewgraph').html(json['cireviewgraph']); }
if (json['aggeratereview']) { $('#cireview-aggerate').html(json['aggeratereview']); }
}
});
}
setTimeout(function(){
var offset = $('.cireview-form').offset()
var mypos = (Math.round(offset.top) - 10);
if ($(window).scrollTop() > mypos) {
$('html, body').animate({ scrollTop: mypos }, 'slow');
}
$('#cireview-modal').find('.close').trigger('click');
},500);
}
}
});
});
$('.ciattach_images').each(function() {
$(this).magnificPopup({
type:'image',
delegate: 'a',
gallery: {
enabled:true
}
});
});
$('#cireview-aggerate').on('click', '.addrating', function() {
$('.cireview-write').trigger('click');
// $('#cireview-modal').modal('show');
});
$('#ciattach_images').on('click', '.attach_image_close', function() {
var $this = $(this);
var id = $this.attr('data-id');
if (id && confirm("Are you sure?")) {
$.ajax({
url: 'index.php?route=cireviewpro/cireview/delete&product_id=16468',
type: 'post',
data: 'id=' + id,
dataType: 'json',
beforeSend: function() {
},
complete: function() {
},
success: function(json) {
if (json['success']) {
$('input[name="cireview_image"]').val(json['code']);
if (json['attach_images']) {
var html = '';
for (var i in json['attach_images']) {
html += ' × ';
}
$('#ciattach_images').html(html);
}
}
},
error: function(xhr, ajaxOptions, thrownError) {
//alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
}
});
$('#button-ciattachupload').on('click', function() {
var node = this;
$('.ciattachupload .alert').remove();
$('#form-ciattach-upload').remove();
$('body').prepend('');
$('#form-ciattach-upload input[name=\'ciattachfile\']').trigger('click');
if (typeof timer != 'undefined') {
clearInterval(timer);
}
timer = setInterval(function() {
if ($('#form-ciattach-upload input[name=\'ciattachfile\']').val() != '') {
clearInterval(timer);
$.ajax({
url: 'index.php?route=cireviewpro/cireview/upload&product_id=16468',
type: 'post',
dataType: 'json',
data: new FormData($('#form-ciattach-upload')[0]),
cache: false,
contentType: false,
processData: false,
beforeSend: function() {
$(node).button('loading');
},
complete: function() {
$(node).button('reset');
},
success: function(json) {
$('.ciattachupload .alert').remove();
if (json['error']) {
$(node).parent().append(' ' + json['error'] + ' × ');
}
if (json['success']) {
$(node).parent().append(' ' + json['success'] + ' × ');
$('input[name="cireview_image"]').val(json['code']);
if (json['attach_images']) {
var html = '';
for (var i in json['attach_images']) {
html += ' × ';
}
$('#ciattach_images').html(html);
}
}
},
error: function(xhr, ajaxOptions, thrownError) {
// alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
}
}, 500);
});
// 20-sep-2021: code starts
$('select[name=\'cicountry_id\']').on('change', function() {
$.ajax({
url: 'index.php?route=account/account/country&country_id=' + this.value,
dataType: 'json',
beforeSend: function() {
$('select[name=\'cicountry_id\']').prop('disabled', true);
},
complete: function() {
$('select[name=\'cicountry_id\']').prop('disabled', false);
},
success: function(json) {
html = ' --- Please Select --- ';
if (json['zone'] && json['zone'] != '') {
for (i = 0; i < json['zone'].length; i++) {
html += '';
}
} else {
html += ' --- None --- ';
}
$('select[name=\'cizone_id\']').html(html);
},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
});
$('select[name=\'cicountry_id\']').trigger('change');
// 20-sep-2021: code ends
$('.cireview-abuse').on('click', function() {
var $this = $(this);
var review_id = $this.attr('data-review_id');
var product_id = $this.attr('data-product_id');
var cireview_id = $this.attr('data-cireview_id');
var modaldiv = $('#cireview-abuse-'+product_id);
modaldiv.find('.alert').remove();
if (review_id && product_id && cireview_id) {
var data = $('#cireview-abuse-'+product_id+ ' input, #cireview-abuse-'+product_id+ ' textarea').serialize();
if (data) {
data += '&';
}
data += 'review_id='+review_id+'&product_id='+product_id+'&cireview_id='+cireview_id;
$.ajax({
url: 'index.php?route=cireviewpro/cireview/cireviewAbuse&product_id='+product_id,
type: 'post',
data: data,
dataType: 'json',
beforeSend: function() {
$this.button('loading');
},
complete: function() {
$this.button('reset');
},
success: function(json) {
modaldiv.find('.alert').remove();
if (json['error']) {
modaldiv.find('.modal-header').before(' ' + json['error'] + ' × ')
}
if (json['success']) {
// update particular div text
modaldiv.find('.modal-header').before(' ' + json['success'] + ' × ');
setTimeout(function() {
modaldiv.find('.close').trigger('click');
}, 1000);
}
},
error: function(xhr, ajaxOptions, thrownError) {
// alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
}
});
function ciDataModal(target, find_modal, el) {
$(target).find(find_modal).attr('data-back', target);
var ev = $(target).find(find_modal).attr('id');
$(find_modal).appendTo("body");
$(find_modal).modal('show');
$(find_modal).off('hidden.bs.modal.'+ev).on('hidden.bs.modal.'+ev, function(e) {
$(find_modal).appendTo($(find_modal).attr('data-back'));
$(find_modal).removeAttr('data-back');
});
}
$('.data-modal').on('click', function() {
var target = $(this).attr('data-target');
var find_modal = $(this).attr('data-find_modal');
ciDataModal(target, find_modal, $(this));
});
$('#cireview-policy-modal').on('shown.bs.modal', function (e) {
var num_modals = $('.modal-backdrop').length;
if (num_modals > 1) {
var calc_zindex = 10;
var use_nummodal = num_modals - 1;
var zindex = parseFloat($(this).css('z-index'));
$(this).css('z-index', (zindex+ (calc_zindex*use_nummodal) ));
// access modal variables
var $backdrop = $(this).data('bs.modal').$backdrop;
$backdrop.addClass("cireviewpro-policy-backdrop");
var zindex2 = parseFloat($('.modal-backdrop.cireviewpro-policy-backdrop').css('z-index'));
$('.modal-backdrop.cireviewpro-policy-backdrop').css('z-index', ( (zindex > zindex2) ? zindex + ((calc_zindex-1) *use_nummodal) : zindex2 + (calc_zindex*use_nummodal) ) );
}
});
$('#cireview-policy-modal').on('hidden.bs.modal', function (e) {
$(this).css('z-index', '');
// console.log("cireview-policy-modal hidden");
if ($('.modal').hasClass('in')) {
$('body').addClass('modal-open');
}
});
$('#cireview-modal').on('hidden.bs.modal', function (e) {
// console.log("cireview-modal hidden");
var modal = $(this);
modal.find('.alert').remove();
$('.cireview-form .has-error').each(function() {
$(this).removeClass('has-error');
});
$('.cireview-successmsg').hide().html('');
$('.cireview-form').show();
$('.cireview-successmsg-title').hide().html('');
$('.cireview-form-title').show();
});
$('#cireview-abuse-16468').on('hidden.bs.modal', function (e) {
// console.log("cireview-abuse- hidden");
var modal = $(this);
modal.find('input[name="ciabreason"]').prop("checked", false);
modal.find('.other_reason').addClass('hide');
modal.find('textarea').val('');
modal.find('.alert').remove();
modal.find('.cireview-abuse').attr({'data-product_id' : '','data-review_id' : '', 'data-cireview_id' : ''});
});
$(document).delegate('#cireview-abuse-16468 input[name="ciabreason"]', 'click', function() {
if ($(this).val() == 'OTHER' ) {
$('.other_reason').removeClass('hide');
} else {
$('.other_reason').addClass('hide');
$('.other_reason textarea').val('');
}
});
$('#cireview').off('click', '.abuse-button-action').on('click', '.abuse-button-action', function() {
var $this = $(this);
var review_id = $this.attr('data-review_id');
var product_id = $this.attr('data-product_id');
var cireview_id = $this.attr('data-cireview_id');
if (review_id && product_id && cireview_id) {
$('#cireview-abuse-'+product_id).find('.cireview-abuse').attr({'data-review_id' : review_id, 'data-product_id' : product_id, 'data-cireview_id' : cireview_id});
//abuse-button-action
var target = '#cimodal-cireview-abuse-'+product_id;
var find_modal = '#cireview-abuse-'+product_id;
ciDataModal(target, find_modal, $(this));
// $('#cireview-abuse-'+product_id).modal('show');
}
});
$('#cireview').off('click', '.vote-button-action').on('click', '.vote-button-action', function() {
var $this = $(this);
var review_id = $this.attr('data-review_id');
var action = $this.attr('data-action');
var product_id = $this.attr('data-product_id');
var cireview_id = $this.attr('data-cireview_id');
// $('.text-danger').remove();
var oldClass = $(this).find('i').attr('data-class');
if (review_id && product_id && cireview_id) {
$.ajax({
// 20-sep-2021: code starts
url: 'index.php?route=cireviewpro/cireview/cireviewVote&product_id=' + encodeURIComponent(product_id) + '',
// 20-sep-2021: code ends
type: 'post',
data: 'review_id=' + encodeURIComponent(review_id) + '&action=' + encodeURIComponent(action) + '&product_id=' + encodeURIComponent(product_id) + '&cireview_id=' + encodeURIComponent(cireview_id),
dataType: 'json',
beforeSend: function() {
$this.find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin');
},
complete: function() {
$this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass);
},
success: function(json) {
var $parent = $this.parents('.cireview-vote');
$('.text-danger').remove();
if (json['error']) {
$parent.append(' '+ json['error'] +' ')
}
if (json['success']) {
// update particular div text
$parent.find('.vote-action').html(json['before_text']);
$parent.find('.vote-result').html(json['after_text']);
$parent.append(' '+ json['success'] +' ')
}
},
error: function(xhr, ajaxOptions, thrownError) {
// alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
}
});
$(document).delegate('.ciscrolltoreviewtab', 'click', function() {
ciScrollToReviewTab();
});
$(document).delegate('.ciopenreviewpopup', 'click', function() {
ciOpenReviewPopup();
});
});
function ciOpenReviewPopup() {
var $review = $('#cireview-graph');
$('a[href="#tab-review"]').trigger('click');
$('a[href="#' + $review.closest('.module-item').attr('id') + '"]').trigger('click');
$('a[href="#' + $review.closest('.tab-pane').attr('id') + '"]').trigger('click');
$('a[href="#' + $review.closest('.panel-collapse').attr('id') + '"]').trigger('click');
if ($('.cireview-write').length) {
$('.cireview-write').trigger('click');
} else {
ciScrollToReviewTab();
}
}
function ciScrollToReviewTab() {
var $review = $('#cireview-graph');
$('a[href="#tab-review"]').trigger('click');
$('a[href="#' + $review.closest('.module-item').attr('id') + '"]').trigger('click');
$('a[href="#' + $review.closest('.tab-pane').attr('id') + '"]').trigger('click');
$('a[href="#' + $review.closest('.panel-collapse').attr('id') + '"]').trigger('click');
$([document.documentElement, document.body]).animate({
scrollTop: $review.offset().top - 100
}, 200);
}
//--> Write a review
Please login or register to review
var ajax_price = function() {
$.ajax({
type: 'POST',
url: 'index.php?route=extension/soconfig/liveprice/index',
data: $('.product-detail input[type=\'text\'], .product-detail input[type=\'hidden\'], .product-detail input[type=\'radio\']:checked, .product-detail input[type=\'checkbox\']:checked, .product-detail select, .product-detail textarea'),
dataType: 'json',
success: function(json) {
if (json.success) {
change_price('#price-special', json.new_price.special);
change_price('#price-tax', json.new_price.tax);
change_price('#price-old', json.new_price.price);
$(".large-image img").attr("src",json.prd_image);
// $(".product-image-zoom").parent().attr("href",json.prd_image);
$(".product-image-zoom").attr("data-src",json.prd_image);
$(".product-image-zoom").attr("data-zoom-image",json.prd_image);
$(".product-image-zoom").attr("zoom-image",json.prd_image);
// $(".thumbnail.active img").attr("src",json.prd_image);
// $(".thumbnail.active img").attr("data-src",json.prd_image);
$(".mfp-img").attr("src",json.prd_image);
$(".zm-fast").attr("href",json.prd_image);
$(".zm-viewer").children().attr("src",json.prd_image);
document.getElementsByClassName("zoomWindow").style.backgroundImage = "url("+json.prd_image+")";
}
}
});
}
var change_price = function(id, new_price) {$(id).html(new_price);}
$('.product-detail input[type=\'text\'], .product-detail input[type=\'hidden\'], .product-detail input[type=\'radio\'], .product-detail input[type=\'checkbox\'], .product-detail select, .product-detail textarea, .product-detail input[name=\'quantity\']').on('change', function() {
ajax_price();
});
Subscribe to our newsletter
Sign Up Now To keep up to date with the latest arrivals, exclusive direct to your inbox subscribe to our newsletter now
function subscribe_newsletter()
{
var emailpattern = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
var email = $('#txtemail').val();
var d = new Date();
var createdate = d.getFullYear() + '-' + (d.getMonth()+1) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
var status = 0;
var dataString = 'email='+email+'&createdate='+createdate+'&status='+status;
if(email != ""){
if(!emailpattern.test(email))
{
$('.show-error').remove();
$('.send-mail').after(' × Invalid Email ')
return false;
}
else
{
$.ajax({
url: 'index.php?route=extension/module/so_newletter_custom_popup/newsletter',
type: 'post',
data: dataString,
dataType: 'json',
success: function(json) {
$('.show-error').remove();
if(json.error == false) {
$('.send-mail').after(' × ' + json.message + ' ');
setTimeout(function () {
var this_close = $('.popup-close');
this_close.parent().css('display', 'none');
this_close.parents().find('.so_newletter_custom_popup_bg').removeClass('popup_bg');
}, 3000);
}else{
$('.send-mail').after(' × ' + json.message + ' ');
}
var x = document.getElementsByClassName('signup');
for (i = 0; i < x.length; i++) {
x[i].reset();
}
}
});
return false;
}
} else{
alert("Email is required");
$(email).focus();
return false;
}
}
DOWNLOAD GODUKKAN APP
Get access to exclusive offers!
Contact Us
SpiderNet 25 Al Nahdha St, Bur Dubai, UAE UAE +(971) 585 00 9191 KSA +(971) 585 49 6609 [email protected]
Follow Us
GoDukkan- About GoDukkan
- Returns & Cancellations
- Privacy Policy
- Terms & Conditions
- Contact us
My Account- My account
- Order history
- Track order
- Returns
- Wishlist
Guide & help- Customer service
- FAQ's
- Blog
- Sitemap
- Warranty And Services
Top Categories- Laptops & Computers
- PC Components
- Mobile & Tablet
- Gaming Consoles
- Office Equipment
Show Full Description Show Less
All rights reserved © 2021 Godukkan.com
× Added to cart successfully. What is next?
// call bootstrap tooltip
$(function () {
$('body').tooltip({
selector: '[data-toggle="tooltip"]',
container: 'body'
});
});
new WOW().init();
window.setInterval(function(){ $.get(location.url); }, 60000);
var i = 0;
var go_forward;
bg_gradient_animation();
function bg_gradient_animation() {
if(i <= 0)
go_forward = true;
if(i >= 100)
go_forward = false;
if(go_forward)
i+=0.5;
else
i-=0.3;
h1.style['background-image']=`linear-gradient(to right, #fff ${i-10}%,#fff ${i}%,#422c76 ${i+10}%`;
requestAnimationFrame(bg_gradient_animation);
}
$(document).ready(function() {
ping2AbandonedCarts();
$('.customer-info-wrapper input').on('input', 'change', function (e) {
pingAbandonedCarts();
});
});
$(document).ajaxComplete(function(e, xhr, settings) {
if (xhr.status != 200) { return; }
if (settings.url.indexOf('checkout/cart') != -1 || settings.url.indexOf('common/cart/info') != -1) {
ping2AbandonedCarts();
}
});
function pingAbandonedCarts() {
var send_data = {},current_url = window.location.href;
send_data['current_url'] = current_url;
$.each($('.customer-info-wrapper input').serializeArray(), function() {
send_data[this.name] = this.value;
});
$.ajax({
url: 'index.php?route=common/footer/pingAbandonedcarts',
type: 'post',
data: send_data,
success: function(data) {},
error: function() {}
});
}
function ping2AbandonedCarts() {
var send_data = {},
current_url = window.location.href;
send_data['current_url'] = current_url;
$.ajax({
url: 'index.php?route=common/footer/pingAbandonedcarts',
type: 'post',
data: send_data,
success: function(data) {},
error: function() {}
});
}
function getURLVar(key) {
var value = [];
var query = String(document.location).split('?');
if (query[1]) {
var part = query[1].split('&';;
for (i = 0; i < part.length; i++) {
var data = part[i].split('=');
if (data[0] && data[1]) {
value[data[0]] = data[1];
}
}
if (value[key]) {
return value[key];
} else {
return '';
}
} else {
// URL alias
if (key == 'route') {
return 'product/product';
}
}
}
window.onload = function () { var dataLayer = window.dataLayer = window.dataLayer || []; $(document).ajaxSuccess(function(event, xhr, settings, json) { if (json && json['ec_data']) { if (!json.error) { if(json['action'] && json['ec_data']['action'] == "addToCart") { var ec = json['ec_data']['data']; var postdata = json['ec_data']; dataLayer.push({ 'event': 'addToCart', 'eventAction': 'addToCart', 'eventLabel': 'addToCart', 'ec_ecommerce' : { 'ecommerce': { 'currencyCode': ec['currency'], 'add': { 'products': [{ 'name' : ec['name'], 'id' : ec['id'], 'price': ec['price'], 'brand': ec['brand'], 'category': ec['category'], 'quantity': ec['quantity'], 'currency': ec['currency'] }] } } } });dataLayer.push({ 'event': 'ADD_CART', 'eventAction': 'ADD_CART', 'eventLabel': 'AddToCart', 'contents': [{ 'id' : ec['id'], 'quantity' : ec['quantity'] }], 'content_name' : ec['name'], 'content_type' : 'product', 'brand': ec['brand'], 'category': ec['category'], 'quantity':ec['quantity'], 'pixel_value': ec['fprice'], 'fb_currency': ec['fcurrency'], 'number_items': ec['quantity'], 'content_ids' : ec['id'], 'remarketing_ids' : [{'id' : ec['id'],'google_business_vertical': 'retail'}], 'value' : ec['price'], 'currency' : ec['currency'], 'ga4_items' : ec['ga4_data'], 'event_id' : ec['event_id'], });
fbq('track','AddToCart', { 'contents': [{ 'id' : ec['id'], 'quantity' : ec['quantity'] }], 'content_category': postdata['fb_data']['content_type'], 'content_ids': postdata['fb_data']['content_ids'], 'content_type': postdata['fb_data']['content_type'], 'value': postdata['fb_data']['value'], 'currency': postdata['fb_data']['currency']},{'eventID': postdata['fb_data']['event_id'] });
dataLayer.push({'event': 'ADD_CART', 'eventAction': 'ADD_CART', 'eventLabel': 'AddToCart', 'contents': [{ 'id' : ec['id'], 'quantity' : ec['quantity'] }], 'content_name' : ec['name'], 'content_type' : 'product', 'brand': ec['brand'], 'category': ec['category'], 'quantity':ec['quantity'], 'pixel_value': ec['fprice'], 'fb_currency': ec['fcurrency'], 'number_items': ec['quantity'], 'content_ids' : ec['id'], 'remarketing_ids' : [{'id' : ec['id'],'google_business_vertical': 'retail'}], 'value' : ec['price'], 'currency' : ec['currency'], 'ga4_items' : ec['ga4_data'], 'event_id' : ec['event_id'], });
console.log('Tagmanager AddToCart Event Sent'); }
if(json['action'] && json['ec_data']['action'] == "addToWishlist") { var ec = json['ec_data']['data'];dataLayer.push({ 'event': 'addToWishlist', 'eventAction': 'addToWishlist', 'eventLabel': 'addToWishlist', 'ec_ecommerce' : { 'ecommerce': { 'currencyCode': ec['currency'], 'add': { 'products': [{ 'name' : ec['name'], 'id' : ec['id'], 'price': ec['price'], 'brand': ec['brand'], 'category': ec['category'], 'quantity': ec['quantity'], 'currency': ec['currency'] }] } } } });dataLayer.push({ 'event': 'ADD_WISHLIST', 'eventAction': 'ADD_WISHLIST', 'eventLabel': 'AddToWishlist', 'content_ids' : ec['id'], 'content_name' : ec['name'], 'content_type' : 'product', 'brand': ec['brand'], 'category': ec['category'], 'pixel_value': ec['fprice'], 'fb_currency': ec['fcurrency'], 'value' : ec['price'], 'currency' : ec['currency'], 'ga4_items' : ec['ga4_data'], 'event_id' : ec['event_id'], });console.log('Tagmanager Wishlist Event Sent'); }
if(json['action'] && json['ec_data']['action'] == "addToCompare") { var ec = json['ec_data']['data'];dataLayer.push({ 'event': 'addToCompare', 'eventAction': 'addToCompare', 'eventLabel': 'addToCompare', 'ec_ecommerce' : { 'ecommerce': { 'currencyCode': ec['currency'], 'add': { 'products': [{ 'name' : ec['name'], 'id' : ec['id'], 'price': ec['price'], 'brand': ec['brand'], 'category': ec['category'], 'quantity': ec['quantity'], 'currency': ec['currency'] }] } } } }); console.log('Tagmanager Comapre Event Sent'); } if(json['action'] && json['ec_data']['action'] == "RemoveCart") { var ec = json['ec_data']['data'];dataLayer.push({ 'event': 'removeFromCart', 'eventAction': 'removeFromCart', 'eventLabel': 'removeFromCart', 'ec_ecommerce' : { 'ecommerce': { 'remove': { 'products': [{ 'name' : ec['name'], 'id' : ec['id'], 'price': ec['price'], 'brand': ec['brand'], 'category': ec['category'], 'quantity': ec['quantity'], 'currency': ec['currency'] }] } } } });dataLayer.push({ 'event': 'REMOVE_CART', 'eventAction': 'REMOVE_CART', 'eventLabel': 'REMOVE CART', 'ga4_items' : ec['ga4_data'], 'event_id' : ec['event_id'], }); console.log('Tagmanager Remove Cart Event Sent'); } } } });}; function GAClick(name,sku,price,brand,category,item_category) { dataLayer.push({ 'event': 'productClick', 'eventAction': 'productClick', 'eventLabel': 'productClick', 'ec_ecommerce' : { 'ecommerce': { 'click': { 'actionField': { 'list': category }, 'products': [{ 'name': name, 'id': sku, 'price': price, 'brand': brand, 'category': category, 'currency': 'AED' }] } } } }); dataLayer.push({ 'event': 'generic_productclick', 'eventAction': 'generic_productclick', 'eventLabel': 'generic_productclick', 'items': [{ 'item_name': name, 'item_id': sku, 'price': price, 'brand': brand, 'item_category': item_category }] });
}
|