Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (2022)

';var X = _this.offset().left; var Y = _this.offset().top;$("body").append(iframe_html);$('#video_iframe').css({left:X+"px",top:Y+"px"});}function removeVideoIframe(){$('#video_iframe').remove();}$(document).on('click','.mobile_close_icon',function() {removeVideoIframe();})function getSelectedPropertys(){var propertys = [];$('.sale_property_box').each(function(index,property_box){if($(property_box).attr('value_id')) {var property = {};property.prop_name = $(this).attr('property_name');property.prop_value = $(property_box).find("a.cur").attr('data_name');propertys.push(property);}});return propertys;}var mySwiper2; $(function(){ mySwiper2 = new Swiper('.wap_bigimgbox_container', { observer:true, observeParents:true, loop : true, pagination :{el: '.swiper-pagination',clickable :true,type: 'fraction',}}); $("#product_table > ul > li > a").click(function(){ if($(this).siblings('.product_table_content').is(':hidden')){ $(this).siblings('.product_table_content').slideDown(); $(this).children('.product_table_icon').addClass('on'); }else{ $(this).siblings('.product_table_content').slideUp(); $(this).children('.product_table_icon').removeClass('on'); } }); $('.write-a-review').click(function(){ $("#product_table a").removeClass("cur"); $("#product_table").find('.review_tab').addClass('cur'); $(".tabfont").each(function(){ var _this = $(this); if(_this.hasClass('write-a-review_form')){ _this.show(); }else{_this.hide()} }); }); $('#goodsimagelist').children('li:visible').each(function(index){ var _this = $(this); if(_this.attr('class') == 'cur'){ var middleimage = _this.children('a').attr('data_pic'); if(!middleimage){ return false; }$('#middleimag').attr('src', middleimage);$('#middleimag').css('opacity','1');var alt_text = _this.children('a').children('img').attr('alt');if(alt_text){$('#middleimag').attr('alt', alt_text);}if(_this.attr('data_type')=="video"){createVideoIframe(_this.attr('data_json'));}else{removeVideoIframe();} return false; } });if($('#goodsimagelist').children('li:visible').length>6){$('a.btn_prev').show();$('a.btn_next').show();}else{$('a.btn_prev').hide();$('a.btn_next').hide();} $('.smallimage').live('click', function(){ var _this = $(this); var pic = _this.attr('data_pic'); var data_img = _this.attr('data_img'); if(!pic){ return false; } var middleimage = pic; var data_id = _this.attr('data_id'); if(_this.hasClass('cur')){ data_id =0 ;middleimage = "https://us03-imgcdn.ymcart.com/84260/2021/12/28/1/5/15cb391b59976f98.jpg?x-oss-process=image/quality,Q_90/auto-orient,1/resize,m_lfit,w_650,h_975"; } if(data_id || data_id===0){ $('#goodsimagelist').children('li').each(function(){ $(this).attr('data_id')==data_id?$(this).show():$(this).hide(); }); }if($('#goodsimagelist').children('li:visible').length>6){$('a.btn_prev').show();$('a.btn_next').show();}else{$('a.btn_prev').hide();$('a.btn_next').hide();} $('.viewimg-list').children('.viewimg-item').removeClass('cur'); _this.parent('.viewimg-item').addClass('cur'); $('#middleimag').attr('src',middleimage ); $('#middleimag').css('opacity','1');var alt_text = _this.children('img').attr('alt');if(alt_text && !_this.hasClass('sale_property')){$('#middleimag').attr('alt', alt_text);} $(".viewpic").attr("title","Traxxas Slash 2WD RTR On-Board Audio Short Course Truck") $('.viewpic').attr('download', data_img);$('.jqzoom').attr('rel', data_img);$('.bigimgbox').css('height','auto');if(_this.attr('data_type')=="video"){createVideoIframe(_this.attr('data_json'));return false;}else{removeVideoIframe();}return false; }); $('.sale_property').live('click',function(){var _this = $(this); var data_pic = $(this).attr('data_pic'); if(data_pic!=''&&data_pic!=undefined){ var container = $('#goodsimagelist'); container.children('li').removeClass('cur'); container.find('li').each(function(){ var data_pic_li = $(this).find('a').attr('data_pic'); if(data_pic==data_pic_li){ var _first = $(this).clone(); //$(this).remove(); //container.find('li:first').before(_first); $(this).addClass('cur'); } });$('#goodsimagelist').css("top","0px"); } var value_id = $(this).attr('data_id'); var sale_property_nums = '9999991';sale_property_nums = Math.floor(sale_property_nums); //如果当前属性已经选中 if($(this).hasClass('cur')) { $(this).parent().parent().find(".select_value").text(''); //删除选中样式 $(this).removeClass('cur'); //去除选中值$(this).parent().attr('value_id',''); $('#goods_stock_num').html('9999991');$(this).siblings(".sale_property").removeClass('disable');$('#goodsimagelist').children('li:visible').eq(0).addClass("cur").find('a').click();if($(this).parent().attr('select_id')!=""){$("#"+$(this).parent().attr('select_id')).find('select').val(0);$("#"+$(this).parent().attr('select_id')).find('select').change();} } else if(!$(this).hasClass('disable')) {if($(this).find('img').length>0){$(this).parent().parent().find(".select_value").text(": "+$(this).attr('data_name'));}else{$(this).parent().parent().find(".select_value").text(": "+$(this).attr('data_name'));}$(this).parent().attr('value_id',value_id); $(this).siblings(".sale_property").removeClass('cur'); $(this).addClass('cur');if($(this).parent().attr('select_id')!=""){$("#"+$(this).parent().attr('select_id')).find('select').val(value_id);$("#"+$(this).parent().attr('select_id')).find('select').change();} } //customattr if(typeof check_diy_extra_box === "function") { var selected_propertys = getSelectedPropertys(); console.log(JSON.stringify(selected_propertys)); check_diy_extra_box(selected_propertys); }//$('#goodsimagelist').css("top","0px");var finnal_sku_group = new Array();$('.sale_property_box').each(function(index,property_box){ if($(property_box).attr('value_id')) { finnal_sku_group.push($(property_box).attr('value_id')); }});if(finnal_sku_group.length ==0){$('a.sale_property').removeClass('disable');}if(finnal_sku_group.length ==1){$('.sale_property_box[value_id="'+finnal_sku_group[0]+'"]').find('a.sale_property').removeClass('disable');}if ((finnal_sku_group.length+1) >= $('.sale_property_box').length) {$('.sale_property_box').each(function(index,property_box){if (!$(property_box).attr('value_id') || $(property_box).attr('value_id') != value_id) {$(property_box).find('a.sale_property').each(function(){var value_item = $(this);var temp_sku_group2 = new Array();$.each(finnal_sku_group,function(k,v){if (v != $(property_box).attr('value_id') || !$(property_box).attr('value_id')) {temp_sku_group2.push(v);}});temp_sku_group2.push($(this).attr('data_id'));var in_stock = false;$.each(skulist,function(key,item){var temp_property_arr=item.sku_code.split('_');var value_id_in = true;for(var i = 0; i < temp_sku_group2.length; i++) {if (temp_property_arr.indexOf(temp_sku_group2[i]) == -1){value_id_in = false;}}if(value_id_in){in_stock = true;return false;}});if(in_stock){value_item.removeClass('disable');}else{value_item.addClass('disable');}if(value_item.hasClass('disable') && value_item.hasClass('cur')){value_item.removeClass('cur');$(property_box).attr('value_id','');}});}});}else{$('.sale_property_box').each(function(index,property_box){if (!$(property_box).attr('value_id')) {$(property_box).find('a.sale_property').each(function(){$(this).removeClass('disable');});}});}finnal_sku_group.sort(sortNumber);var sku_code = finnal_sku_group.join("_");document.body.ymcart_event_sku_change={'sku_code':sku_code}; document.querySelector('body').dispatchEvent(ymcart_event_sku_change); var change_addtocart = true;$.each(skulist,function(index,item){if(sku_code==item.sku_code){sale_property_nums = Math.floor(item.stock_nums);// 处理价格var sku_price_rate ;sku_price_rate = item.price * 1.00000000; var variant = (item.barcode?item.barcode:(item.codeno?item.codeno:item.sku_code)); if(window.history){window.history.replaceState({variant: variant},'',(location.href.search(/variant=/i)>=0?location.href.replace(/variant=[^=]+/i,'variant='+variant):(location.href.search(/\?/i)>=0?location.href+'&variant='+variant:location.href+'?variant='+variant)));}changeSkuPrice(sku_price_rate,item.weight,item.volume); if(item.stock_nums<1 && is_bookable!="1"){ $('#addskutocart,.wap_addtocart').html("Out Of Stock");$('#addskutocart,.wap_addtocart').addClass('btn_outstock');if($('.btn_outstock').length == 0){$('.seckill_addskutocart_btn').before('Out Of Stock');}$('#addskutocart_buynow').parent().hide();$('#addskutocart,.wap_addtocart').removeClass("common_style_black_border"); change_addtocart= false; }else if(item.stock_nums<1 && is_bookable=="1"){$('#addskutocart,.wap_addtocart').html("Pre-Order");$('#addskutocart,.wap_addtocart').removeClass('btn_outstock');$('#addskutocart_buynow').parent().show();$('.seckill_addskutocart_btn').parent().find('.btn_outstock').remove();$('#addskutocart,.wap_addtocart').addClass("common_style_black_border");change_addtocart= false;}}}); if(change_addtocart){ $('#addskutocart,.wap_addtocart').html("Add to Cart");$('#addskutocart,.wap_addtocart').removeClass('btn_outstock');$('.seckill_addskutocart_btn').parent().find('.btn_outstock').remove();$('#addskutocart_buynow').parent().show();$('#addskutocart,.wap_addtocart').addClass("common_style_black_border");//$('#qty_box').show(); }else{//$('#qty_box').hide();}$('#goods_stock_num').html(sale_property_nums);if(sale_property_nums<1 && is_bookable=="1"){$('#addskutocart,.wap_addtocart').html("Pre-Order");$('#addskutocart,.wap_addtocart').removeClass('btn_outstock');$('.seckill_addskutocart_btn').parent().find('.btn_outstock').remove();$('#addskutocart_buynow').parent().show();$('#addskutocart,.wap_addtocart').addClass("common_style_black_border");}//属性图片处理if(_this.hasClass('property_image') && !_this.hasClass('disable')){if(_this.hasClass('diy_property') && _this.parent().attr('property_name')!=""){if(typeof(diy_property_image_thumb_white_setting)!="undefined" && diy_property_image_thumb_white_setting.length>0){var in_white_list = false;for(var i in diy_property_image_thumb_white_setting){if(diy_property_image_thumb_white_setting[i]==_this.parent().attr('property_name')){in_white_list = true;break;}}if(!in_white_list){return false;}}if(typeof(diy_property_image_thumb_black_setting)!="undefined" && diy_property_image_thumb_black_setting.length>0){var in_black_list = false;for(var i in diy_property_image_thumb_black_setting){if(diy_property_image_thumb_black_setting[i]==_this.parent().attr('property_name')){in_black_list = true;break;}}if(in_black_list){return false;}}}var data_id = _this.attr('data_id');if(!_this.hasClass('cur')){ data_id = 0;}if(data_id || data_id===0){$('#goodsimagelist').children('li').each(function(){$(this).attr('data_id')==data_id?$(this).show():$(this).hide();});}$('#goodsimagelist').children('li').removeClass('cur');$('#goodsimagelist').children('li:visible').eq(0).addClass('cur'); if($('#goodsimagelist').children('li:visible').length<=1){$('#goodsimagelist').find('li.cur').children('a').click();$('#goodsimagelist').children('li').show();var dgindex = 0;$('#goodsimagelist').children('li').each(function(){$(this).attr('data_id')!='0'?$(this).hide():$(this).show();});$('.wap_viewimg li').addClass('swiper-slide');$('.wap_viewimg li a').removeAttr('style');$('.wap_viewimg li').each(function(idx,val){if(idx == 0){$(this).find('img').attr('src',data_pic);}else{$(this).remove();}});mySwiper2.updateSlides();mySwiper2.pagination.update();mySwiper2.slideTo(dgindex);$('#goodsimagelist').find('li.cur').children('a').click();return false; }}if (!_this.hasClass('disable')) {$('#goodsimagelist').find('li.cur').children('a').click();}//customattr// if(typeof check_diy_extra_box === "function") {// var selected_propertys = getSelectedPropertys();// console.log(JSON.stringify(selected_propertys));// check_diy_extra_box(selected_propertys);// }$('.wap_viewimg').html($('#goodsimagelist').children('li:visible').clone());$('.wap_viewimg li').addClass('swiper-slide');$('.wap_viewimg li a').removeAttr('style');$('.wap_viewimg li').each(function(idx,val){var data_pic = $(this).find('a').attr('data_pic');$(this).find('img').attr('src',data_pic);});mySwiper2.slideTo(0); }); /*这边是radio的 $('.input_radio_sku_option').change(function(){ var diy_change_money_finnal_sku_group = new Array(); $('.sale_property_box').each(function(){ var s =parseInt($(this).find("input[name='input_radio_"+$(this).attr('data_id')+"']:checked").val()) ; if(s>0 && s!=undefined){ diy_change_money_finnal_sku_group.push(s); }else{ return false; } }); diy_change_money_finnal_sku_group.sort(sortNumber); var diy_sku_code = diy_change_money_finnal_sku_group.join("_"); $.each(skulist,function(index,item){ if(diy_sku_code==item.sku_code){ // 处理价格 var variant = (item.barcode?item.barcode:(item.codeno?item.codeno:item.sku_code)); if(window.history){window.history.replaceState({variant: variant},'',(location.href.search(/variant=/i)>=0?location.href.replace(/variant=[^=]+/i,'variant='+variant):(location.href.search(/\?/i)>=0?location.href+'&variant='+variant:location.href+'?variant='+variant)));} changeSkuPrice(item.price * 1.00000000) ; } }); }); $(".input_radio_sku_option").trigger('change'); */ $('#addskutocart, .wap_addtocart').click(function(e){ var goods_id = '9930465'; var finnal_sku_group = new Array(); var is_submit = true; /*这边是radio的 $('.sale_property_box').each(function(){ var s =parseInt($(this).find("input[name='input_radio_"+$(this).attr('data_id')+"']:checked").val()) ; if(s>0 && s!=undefined){ finnal_sku_group.push(s); }else{ is_submit = false; $(this).tip("Please Select "+$(this).attr('property_name'), 15, 0, 2000); return false; } }); */ $('.sale_property_box').each(function(index,property_box){ if($(property_box).attr('value_id')) { finnal_sku_group.push($(property_box).attr('value_id')); }else { $(property_box).tip("Please Select "+$(property_box).attr('property_name'), 15, 0, 2000); is_submit = false; return false; } }); //customattrif(typeof check_diy_extra_options === "function") {if(!check_diy_extra_options()){is_submit = false;}} if(!is_submit) { return; } finnal_sku_group.sort(sortNumber); var sku_code = finnal_sku_group.join("_"); var qty = parseInt($('#buyskunums').val()); var cart_count = $('#shopping_cart_count').text(); var remark = $('#DiyRemark').val();if(!sku_code){sku_code = "0_0";}var bookable_delivery_time = ""; if ('0' == '1' && bookable_delivery_time != '') { var is_tips_bookable_delivery_time = false; $.each(skulist,function(index,item){ if (sku_code == item.sku_code && qty > parseInt(item.stock_nums)) { is_tips_bookable_delivery_time = true; return false; } }); if (is_tips_bookable_delivery_time) { var tips_bookable_delivery_time = 'Estimated delivery time {0}'; if (!confirm(tips_bookable_delivery_time.replace('{0}',bookable_delivery_time))) { return false; } } } $.ajax({ url :'/h-cart-add.html', type:'POST', data:{ goods_id : goods_id, qty : qty, sku_code : sku_code, remark : remark }, dataType: 'json', cache: false, success: function(res) { if(res.status == 1){ var event_sku = res.sku;// Ymcart Event[AddToCart]if(typeof(ytag)=='function'){ ytag("add_to_cart","Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",ymcart_user_id,'9930465','563611',''); } var ymcart_event_param_goods = {goods_id:"9930465",goods_name:"Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",goods_codeno:"90010084",spec_mode:"0",qty:qty,goods_price:"289.95"}; // Facebook Pixel Event[AddToCart]var fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}$('#shopping_cart_count').text(res.totalnum);if(res.totalnum>9){$('#shopping_cart_count_float').text("9+");}else {$('#shopping_cart_count_float').text(res.totalnum);} $('#cart_total_qty').text(res.totalnum); $('#cart_subtotal').text(price_currency(formatnumber((res.totalprice*exchange_rate).toFixed(2),2))); if(res.sku.sku_value.replace(/
/g,' , ')!=''){ $('.add_cart_tip_product_sku').text(res.sku.sku_value.replace(/
/g,' , ')); }else{ $('.add_cart_tip_product_sku').remove(); } $('.add_cart_tip').addClass('add_cart_tip_on'); }else{ $('#addskutocart,.wap_addtocart').tip(res.msg, 15, 0, 2000); } }, error: function(XMLHttpRequest, textStatus, errorThrown){// alert(XMLHttpRequest.readyState + XMLHttpRequest.status + XMLHttpRequest.responseText); var re = XMLHttpRequest.responseText; var rs = JSON.parse(re); if(rs.status == 1){ $('#shopping_cart_count').text(parseInt(cart_count) + parseInt(rs.offset)); $('#cart_total_qty').text(rs.totalqty); $('#cart_subtotal').text('$'+ rs.totalprice); $('.add_cart_tip').show().delay(3000).fadeOut(1000); }else{ $('#addskutocart,.wap_addtocart').tip(rs.msg, 15, 0, 2000); } }, beforeSend: function(){ createAjaxLoading(); }, complete: function(){ removeAjaxLoading(); } }); });$(document).on('click','.add_cart_tip',function(){$('.add_cart_tip').removeClass('add_cart_tip_on');})$('.add_cart_tip_close').click(function(){$('.add_cart_tip').removeClass('add_cart_tip_on');});$('.add_cart_tip_wapper').click(function(e){e.stopPropagation();}) $('#addskutocart_buynow').click(function(e){ var goods_id = '9930465'; var finnal_sku_group = new Array(); var is_submit = true; $('.sale_property_box').each(function(index,property_box){ if($(property_box).attr('value_id')) { finnal_sku_group.push($(property_box).attr('value_id')); }else { $(property_box).tip("Please Select "+$(property_box).attr('property_name'), 15, 0, 2000); is_submit = false; return false; } }); //customattrif(typeof check_diy_extra_options === "function") {if(!check_diy_extra_options()){is_submit = false;}} if(!is_submit) { return; } finnal_sku_group.sort(sortNumber); var sku_code = finnal_sku_group.join("_"); var qty = parseInt($('#buyskunums').val()); var cart_count = $('#shopping_cart_count').text(); var remark = $('#DiyRemark').val();if(!sku_code){sku_code = "0_0";}var bookable_delivery_time = ""; if ('0' == '1' && bookable_delivery_time != '') { var is_tips_bookable_delivery_time = false; $.each(skulist,function(index,item){ if (sku_code == item.sku_code && qty > parseInt(item.stock_nums)) { is_tips_bookable_delivery_time = true; return false; } }); if (is_tips_bookable_delivery_time) { var tips_bookable_delivery_time = 'Estimated delivery time {0}'; if (!confirm(tips_bookable_delivery_time.replace('{0}',bookable_delivery_time))) { return false; } } }if(remark){remark=encodeURIComponent(remark.replace(/,/g,'||'));}else{remark = '';} if(typeof(skulist)=='object') { for (z in skulist){ var for_obj = skulist[z]; if(sku_code == for_obj.sku_code){ var event_sku = for_obj; break; } } }// Ymcart Event[AddToCart]if(typeof(ytag)=='function'){ ytag("add_to_cart","Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",ymcart_user_id,'9930465','563611',''); } var ymcart_event_param_goods = {goods_id:"9930465",goods_name:"Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",goods_codeno:"90010084",spec_mode:"0",qty:qty,goods_price:"289.95"}; // Facebook Pixel Event[AddToCart]var fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}var user_id = '0'; var guest_order_open = '1'; var checkout_redirect_url = '/h-order-add.html?cart_param='+encodeURIComponent('sku_code=' + sku_code +"&sku_goods_id="+goods_id+ "&sku_qty=" + qty+"&sku_remark="+ remark) + "&type=quick&ref=" + window.location.href; if(typeof(show_cod_address)=='function') { show_cod_address(checkout_redirect_url+'&cod=1');return; } if(user_id > 0) { window.location.href = checkout_redirect_url; } else { if(guest_order_open=='1') { window.location.href = checkout_redirect_url; } else { var ref = encodeURIComponent(checkout_redirect_url); window.location.href = '/h-user-loginOrRegister.html?ref='+ref; } } }); $('#addskutocart_inquiry').click(function(e){ var goods_id = '9930465'; var finnal_sku_group = new Array(); var is_submit = true; $('.sale_property_box').each(function(index,property_box){ if($(property_box).attr('value_id')) { finnal_sku_group.push($(property_box).attr('value_id')); }else { $(property_box).tip("Please Select "+$(property_box).attr('property_name'), 15, 0, 2000); is_submit = false; return false; } }); //customattrif(typeof check_diy_extra_options === "function") {if(!check_diy_extra_options()){is_submit = false;}} if(!is_submit) { return; } finnal_sku_group.sort(sortNumber); var sku_code = finnal_sku_group.join("_"); var qty = parseInt($('#buyskunums').val()); var cart_count = $('#shopping_cart_count').text(); var remark = $('#DiyRemark').val();if(!sku_code){sku_code = "0_0";}if(remark){remark=encodeURIComponent(remark.replace(/,/g,'||'));}else{remark = '';} var checkout_redirect_url = '/h-module-inquiry.html?goods_id=9930465'; if(sku_code) { checkout_redirect_url+='&sku_code='+sku_code; } window.location.href = checkout_redirect_url; }); $('#addskutocart_ecpay_buynow').click(function(e){ var goods_id = '9930465'; var finnal_sku_group = new Array(); var is_submit = true; $('.sale_property_box').each(function(index,property_box){ if($(property_box).attr('value_id')) { finnal_sku_group.push($(property_box).attr('value_id')); }else { $(property_box).tip("Please Select "+$(property_box).attr('property_name'), 15, 0, 2000); is_submit = false; return false; } }); //customattrif(typeof check_diy_extra_options === "function") {if(!check_diy_extra_options()){is_submit = false;}} if(!is_submit) { return; } finnal_sku_group.sort(sortNumber); var sku_code = finnal_sku_group.join("_"); var qty = parseInt($('#buyskunums').val()); var cart_count = $('#shopping_cart_count').text(); var remark = $('#DiyRemark').val();if(!sku_code){sku_code = "0_0";}if(remark){remark=encodeURIComponent(remark.replace(/,/g,'||'));}else{remark = '';} if(typeof(skulist)=='object') { for (z in skulist){ var for_obj = skulist[z]; if(sku_code == for_obj.sku_code){ var event_sku = for_obj; break; } } }// Ymcart Event[AddToCart]if(typeof(ytag)=='function'){ ytag("add_to_cart","Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",ymcart_user_id,'9930465','563611',''); } var ymcart_event_param_goods = {goods_id:"9930465",goods_name:"Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",goods_codeno:"90010084",spec_mode:"0",qty:qty,goods_price:"289.95"}; // Facebook Pixel Event[AddToCart]var fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '454029742959102', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '304673778212371', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '248917123861894', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '1119651605509333', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '452150319759407', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '610577190182105', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '804698987061004', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);console.log('fb_eventid:'+fb_eventid);fbq('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '434925378121772', 'AddToCart', {content_type:'product', currency: 'USD', value: 289.95*qty, contents:[{id: '90010084', quantity: qty, item_price: 289.95}]},fb_eventid);} window.location.href = '/h-order-ECPay.html?cart_param='+encodeURIComponent('sku_code=' + sku_code +"&sku_goods_id="+goods_id+ "&sku_qty=" + qty+"&sku_remark="+ remark) + "&type=quick&ref=" + window.location.href; }); $('#go_check_order').click(function(){ var goods_id = '9930465'; var master_sale_id = $('#master_sale_property_id').val(); var sale_id = $('#sale_property_id').val(); var qty = $('#buyskunums').val(); var exist_master_sale = $('#master_sale_property_box').is(":visible") var exist_sale = $('#sale_property_box').is(":visible"); if(exist_master_sale && !master_sale_id){ $('#master_sale_property_box').tip("Please Select ", 15, 0, 2000); } else if(exist_sale && !sale_id) { $('#sale_property_box').tip("Please Select ", 15, 0, 2000); } else { $.ajax({ url :'/h-cart-add.html', type:'POST', data:{ goods_id : goods_id, sale_id : sale_id, qty : qty, master_sale_id : master_sale_id }, dataType: 'json', cache: false, success: function(res) { if(res.status == 1){ window.location.href = '/h-cart-list.html'; }else{ alert(res.msg); } }, error: function(XMLHttpRequest, textStatus, errorThrown){// alert(XMLHttpRequest.readyState + XMLHttpRequest.status + XMLHttpRequest.responseText); var re = XMLHttpRequest.responseText; var rs = JSON.parse(re); if(rs.status == 1){ window.location.href = '/h-cart-list.html'; }else{ alert(res.msg); } }, beforeSend: function(){ createAjaxLoading(); }, complete: function(){ removeAjaxLoading(); } }); } }); $('#add_favorites,#add_favorites_float').click(function(){ var _this = $(this); var _val = parseInt(_this.find('span').text()); var goods_id = _this.attr('data_id'); $.ajax({ url :'/h-user-addFavorites.html', type:'POST', data:{ goods_id : goods_id }, dataType: 'json', cache: false, success: function(res) { if(res == 1){// Ymcart Event[AddToWishlist]if(typeof(ytag)=='function'){ ytag("add_to_wishlist","Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",ymcart_user_id,'9930465','563611',''); } var ymcart_event_param_goods = {goods_id:"9930465",goods_name:"Traxxas Slash 2WD RTR On-Board Audio Short Course Truck",goods_codeno:"90010084"}; // Facebook Pixel Event[AddToWishlist]var fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '454029742959102', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '454029742959102', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '304673778212371', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '304673778212371', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '248917123861894', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '248917123861894', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '1119651605509333', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '1119651605509333', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '452150319759407', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '452150319759407', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '610577190182105', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '610577190182105', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '804698987061004', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '804698987061004', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);}fb_eventid = (new Date()).getTime() + '.' + Math.ceil(Math.random()*10000000) + '.' + Math.ceil(Math.random()*10000000);fbq('trackSingle', '434925378121772', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},{eventID:fb_eventid});if(typeof(yfbservertag)=='function'){yfbservertag('trackSingle', '434925378121772', 'AddToWishlist', {content_name:'Traxxas Slash 2WD RTR On-Board Audio Short Course Truck', content_type:'product', content_ids:['90010084'],currency: 'USD', value: 289.95},fb_eventid);} $('#add_favorites,#add_favorites_float').tip("Add to favorite succeed.", 15, 0, 2000); $('#add_favorites,#add_favorites_float').find('span').text(_val+1);$('#add_favorites,#add_favorites_float').addClass('add_favorites_cur'); }else if(res== 2){ $('#add_favorites,#add_favorites_float').tip("Please Login first", 15, 0, 2000); }else if(res== 3){ $('#add_favorites,#add_favorites_float').tip("Already added", 15, 0, 2000); }else{ $('#add_favorites,.#add_favorites_float').tip("Add to favorite failed.", 15, 0, 2000); } }, error:function(){ alert("Connection failed, please refresh"); }, beforeSend: function(){ createAjaxLoading(); }, complete: function(){ removeAjaxLoading(); } }) }); $('.tab_title').mouseover(function(){ var _this = $(this); var _ref = _this.attr('_ref'); $('.tabtitle').find('a').removeClass('cur'); _this.addClass('cur'); $('.tablist').hide(); $('#'+_ref).show(); }); $('#validateImg').bind('click', function(){ $(this).attr('src', "/image.php?code=1&_=" + Math.random()); }); var wholesale_discount ; $('.iconright').click(function(){ var qty = parseInt($('#buyskunums').val()); var goods_id = '9930465'; var master_sale_id = $('#master_sale_property_id').val(); var sale_id = $('#sale_property_id').val(); $('#buyskunums').attr('value', qty+1); changeWholesaleDiscount(); }); $('.iconleft').click(function(){ var qty = parseInt($('#buyskunums').val()); if(qty > 1){ $('#buyskunums').attr('value', qty-1);changeWholesaleDiscount(); } }); //运费弹出计算 $('#estimate_shipping_fee').click(function(){ var goods_price = 289.95; var is_wholesale = 0; goods_price = $('#goods_price').text(); goods_price = goods_price.replace("US$","").replace("",""); var cur_weight = 0.1500; if(cur_sku_weight>0) { cur_weight = cur_sku_weight; } var cur_volume= 0.000000; if(cur_sku_volume>0) { cur_volume = cur_sku_volume; } var cur_price = 289.9500; if(cur_sku_price>0) { cur_price = cur_sku_price; } $.ajax({ url :'/h-shippingTool-product.html', type:'POST', data:{ price : cur_price, weight : cur_weight, volume : cur_volume, quantity : parseInt($('#buyskunums').val()), country_id : 0, is_wholesale : is_wholesale, moq : 0, }, dataType: 'html', cache: false, success: function(res) { if(res) { var div = $(".dropdown_estimate_shipping_fee"); div.children().remove(); $('.dropdown_estimate_shipping_fee').append(res); } else{ alert("illegal operation!"); } }, beforeSend: function(){ createAjaxLoading(); }, complete: function(){ removeAjaxLoading(); } }); $('.dropdown_estimate_shipping_fee').css('display','flex'); }); }); //评论定位 $(document).ready(function(){ re = /writeareview/i; // 创建正则表达式模式。 r = location.href.search(re); if(r>0) { $('.write-a-review').click(); }/* var maste_sale_property_id = ''; var sale_property_id = ''; var master_sale_property_nums = 1; var sale_property_nums = 1; $.each(skulist,function(index,item){ var temp_property_id1=item.sku_code.split('_')[0]; var temp_property_id2=item.sku_code.split('_')[1]; if(index==0){ maste_sale_property_id = temp_property_id1; sale_property_id = temp_property_id2; } if(temp_property_id1!=maste_sale_property_id){ master_sale_property_nums = 2; } if(temp_property_id2!=sale_property_id){ sale_property_nums = 2; } }); if(master_sale_property_nums!=2){ $('.master_sale_property ').click(); } if(sale_property_nums!=2){ $('.sale_property').click(); }*/ });$(function(){//默认选中$(".sale_property_box").each(function(){if($(this).find('a.sale_property').length==1 && !$(this).find('a.sale_property').hasClass('cur')){$(this).find('a.sale_property').click();}}); });

Home>>Traxxas>Traxxas Slash 2WD RTR On-Board Audio Short Course Truck

US$ 289.95

  • Detail
    • Product Name: Traxxas Slash 2WD RTR On-Board Audio Short Course Truck
    • Item NO.: 90010084
    • Weight: 0.15kg = 0.3307 lb = 5.2911 oz
    • Category: > Traxxas
    • Brand: RC
    • Creation Time: 2021-09-09

    This is the Traxxas Slash 2WD Ready-to-Run Short Course RC Truck with On-Board Audio! The Slash On-Board Audio truck is complete with 3000mAh NiMh 8.4V battery with ID connector, 4-Amp DC Peak-Detecting Quick Charger, and 2.4GHz radio system. Inspired by the roars of 900+ horsepower Pro 4x4 trucks, this revolutionary system brings a new level of realism to RC. Put the truck in neutral from the include 3-channel transmitter and rev up the engine to hear it roar. Flip the switch again to head out and rip through the dirt! Watch the videos at the bottom to see and hear this in action!

    Features

    • Traxxas On-Board Audio System
    • 4-amp DC peak detecting fast charger
    • Titan 12-Turn 550 modified motor
    • XL-5 waterproof electronic speed control
    • Water-sealed receiver box and steering servo
    • Metal gear Magnum 272 transmission
    • Revo-spec torque-control slipper clutch
    • Adjustable steel turnbuckles with captured rod ends
    • Scale ProGraphix truck body
    • The tires are mounted on satin-finish 2.2" Slash wheels
    • Powder coated progressive rate white springs
    • The ESC and receiver mounted directly to chassis
    • Included optional 23-tooth pinion gear

    Crank Up the Fun!!
    Grab the throttle and the On-Board Audio System roars to life, projecting the actual engine sounds from a 900+ horsepower Pro 4X4 short course truck. Prepare to experience the beat of every piston stroke, feel the gear shifts under acceleration, and hear the horsepower as the RPM's scream through the power band. Bash it, crash it, and get it wet. No need to hold back...the sound system is just as rugged as the Slash itself. Flip the rocker switch on the supplied 3-channel TQ 2.4 GHz transmitter to put the truck in neutral to rev up the engine. The precision audio and throttle response connects you to the truck for a whole new driving experience. Traxxas On-Board Audio is the exciting new dimension in Radio Controlled fun!

    On-Board Audio
    The On-Board Audio System uses sound that has been sampled from Traxxas team trucks, including the Traxxas Pro 4 short course truck driven by Traxxas' Mike Jenkins. Featuring an ON/OFF button and volume controls, you can adjust the system settings. Runtime is not compromised since the system uses a minimal amount of power from the battery. The sounds are intuitive and respond to the throttle input from the transmitter. Cruise around or rip full-throttle and hear the difference in engine RPM. If you're stopped for more than 10 seconds the engine will shut off. Just tap the throttle and hear the engine fire back up! Use the rocker switch on the included 3-channel transmitter to shift to "neutral" and hear the engine revving. Flip the switch, and it's back to racing.

    The award-winning Traxxas Slash Short-Course Race Truck puts you in the drivers seat for intense fender-to-fender, high-flying off-road action. The full-scale Short-Course Race Trucks embody the spirit of Traxxas R/C with their extreme 900+ horsepower racing engines full-throttle, dirt-roosting power slides, giant suspension travel, and Supercross-style big-air jumps. The Traxxas Slash brings all the action home so you can experience the high-speed head-to-head competition at the track or in your own backyard. The Slash was inspired by the TORC (The Off-Road Championship) Pro 2WD class. The Pro 2WD class specifies rear-wheel drive trucks purpose built to fly over jumps and rip full-throttle through the turns. The Traxxas Slash hangs it out for an all new way to challenge your driving skills. The 4-wheel independent suspension has been carefully tuned to replicate the Pro 2 driving and handling experience as closely as possible. The scale appearing tires provide just the right amount of bite and thick, blinding clouds of dirt roost.

    Included 7-Cell iD Battery Pack
    Slash includes a genuine Power Cell Battery Pack with iD connector to make sure you experience all the performance that's been engineered into your Traxxas model. Power Cell packs are optimized for free-flowing power and maximum punch with premium quality, low-resistance cells; flexible, silicone-jacketed 12-gauge wire; heavy-duty welded tabs; and Traxxas' high-output, gold plated, high-current connectors. Precision assembly with attractive, individually wrapped cells and clear overwrap complete the Traxxas Power Cell package, and seven cells give Slash 8.4 volts of motivation for maximum speed.

    4-amp DC Peak Detecting Fast Charger!
    For quick, convenient, hassle-free charging, a 4-amp DC fast charger is included to maximize runtime and minimize down time. The included NiMH charger uses a standard 12-Volt DC power outlet (a car accessory/cigarette lighter port) for universal high-output charging. The brilliant LED provides charging status as soon as the battery is connected. The charger is optimized for charging your Traxxas iD Power Cell NiMH battery. Peak-detection circuitry makes sure the battery receives a full charge every time. The status LED flashes green to indicate when charging is in progress, then turns solid green when charging is complete for foolproof charging, peak performance, and maximum runtime.

    To charge from a wall outlet, check out the Traxxas 2976 AC wall adapter.

    Off-Road Anywhere
    When the racing action cools down, the Traxxas Slash is well-equipped to tackle all of your off-track driving adventures. The long travel suspension and oil-filled shocks easily absorb jumps and rough terrain. The unique chassis design provides huge center ground clearance to drive over deep ruts, rocks, and other obstacles that leave ordinary R/C trucks stuck. The tires use advanced tread design and sophisticated rubber compounds to provide incredible grip off-road with enough versatility to also perform well on concrete and asphalt. The fenders cover the tires so you bang against your driving buddies without getting tangled up.

    The Revo-spec Torque-Control slipper clutch design delivers smooth operation, precise adjustment, and consistent traction control. The bellcrank steering system virtually eliminates bump steer for precise handling and control. A digital steering servo delivers lightning fast response.

    Sealed Electronics Extend Your Driving Fun
    Traxxas shocked enthusiasts with the release of our exclusive watertight, sealed electronics in the E-Maxx that provided the freedom to drive where you want to drive through water, mud, snow, and other wet-running conditions that wouldn't have been possible before. The proven XL-5 electronic speed control and the mini receiver are sealed against the elements giving you the freedom go places you might not have thought possible. It opens up a whole new world of adventure and fun. Wet muddy tracks are no problem for the Slash. The battery compartment makes it easy to install batteries and the clever design makes it quickly adaptable for either 6 or 7-cell running (hump packs or stick packs).

    Modified Muscle
    The Titan 12T 550 modified motor is designed for incredible mod-motor power output with virtually maintenance-free operation, and long-lasting performance. The Titan 12T 550 motor's integrated cooling fan pulls cool air through the motor to keep temperatures down. Airflow is routed through vent tunnels molded in the motor plate. A cooler running motor equates to faster speeds, longer runtime, and extended motor life. The XL-5 Electronic Speed Control offers high current handling, EZ-Set one-button setup, and smooth high-frequency control. Three drive profiles, low voltage detection, thermal shutdown protection, gold-plated connectors, and incredibly low resistance are all features you might expect to only be available on an expensive replacement ESC. As today's batteries store more and more energy inside their cells, traditional battery connectors could no longer keep up. The included patented Traxxas High-Current Connector opens the door for unrestricted current flow.

    Precision 2.4GHz Control Radio System
    With the TQ? 2.4GHz 3-channel radio system, you just switch on a drive. There are no channels or frequencies to manage, so the focus is on having fun. The TQ's ergonomic design is comfortable for all-day driving, and its sleek lines are enhanced by an internal antenna that is impervious to damage.

    The included 3-channel TQ 2.4GHz transmitter is equipped with a rocker switch that enhances the On-Board Audio by allowing the model to be placed in "neutral", so the engine can be revved. After 10-seconds of no throttle input, the engine shuts down. When it's time to start the engine, just tap the throttle to feel and hear the surge of horsepower as the engine starts.

    Training Mode
    Traxxas' exclusive patented Training Mode let's everyone get in on the racing action. Just press a button to limit full-throttle power to 50%. This allows young or new drivers to safely develop their control skills before unlocking full power to the mighty Titan 12T motor. The Slash is perfect for drivers at all experience levels. Training mode even makes it easy to hand the transmitter over to your friends who have never driven a radio controlled truck before.

    ?Brushless Ready
    The Traxxas Slash is built for extreme Velineon brushless horsepower (sold separately). Simply bolt it in and 7-cell speed jumps to 40+mph. Add 11.1V Traxxas Power Cell LiPo batteries and you have the potential to double your speed. Bigger roosts and longer hang-time are right at your fingertips. The included steel transmission gears, full ball bearings, and high-quality metal turnbuckle links are the winning setup for brushless durability. The factory-installed planetary differential is Traxxas-tough with hardened steel gears that never need adjusting! Perfect for long-lasting, all-day fun. Accessory battery hold downs are available for use with large capacity LiPo battery packs that can extend speed and run time. Compare the durability and features to others and you'll see that only Traxxas makes them truly brushless ready.

    100% Fully Assembled and Ready-To-Race
    The Traxxas Slash model 58034-2 comes fully-assembled and Ready-To-Race with Traxxas On-Board Audio, installed and adjusted TQ radio system, XL-5 power system, iD Power Cell 7-cell NiHM battery, 4-amp peak detecting DC charger, a painted and decaled body, pre-glued tires, and detailed instructions. Traxxas backs the Slash and all of their products with top-notch support that is second to none. A staff of skilled representatives is on-hand at Traxxas to answer your questions via phone, website, or e-mail. Unmatched parts support allows the Slash to be serviced with parts and support better than any other RC brand. Your investment is also protected by the Traxxas Lifetime Electronics Warranty. Traxxas goes the extra mile to ensure that your R/C experience is easy and fun (and fast!).

    Specifications

    Length ? 22.36 inches (568mm)
    Front Track ? 11.65 inches (296mm)
    Rear Track ? 11.65 inches (296mm)
    Weight ? 76.2oz (2.16kg)
    Height (overall) ? 8.425 inches (214mm)
    Wheelbase ? 13.2 inches (335mm)

    Requires

    4 AA batteries

    Videos Hide Videos Show Videos

    • Slash Roars into New Territory with On-Board Audio (OBA) Slash roars into new territory with the On-Board Audio System,...
    • Traxxas Slash Now Featuring On-Board Audio (OBA) The Traxxas Slash is now available with our exclusive On-Board...
Share:
>

Adding to cart succeed

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (1)

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck

color:red,size:xxl

Subtotal: US$ 0

View My Cart

Checkout

Customer Reviews

4.6

2021-12-27

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (3) S****C

Although i have broken it a few times, it took a lot of bashing and it was in cold temps. Upgrade to aluminum parts as you go, worth it. All in all solid

2021-12-26

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (4) s****y

The perfect Christmas gift.

2021-12-25

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (5) Ke****on

Fun car

2021-12-25

Traxxas Slash 2WD RTR On-Board Audio Short Course Truck (6) K****y

The best truck ever

See All &rtrif;

You May Also Like

You might also like

Latest Posts

Article information

Author: Horacio Brakus JD

Last Updated: 10/15/2022

Views: 6098

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.