3pk EPTWFU01 Refrigerator Water Filter By Ipurer

0 out of 5.0
0 global ratings
  • 5 stars
    0%
  • 4 stars
    0%
  • 3 stars
    0%
  • 2 stars
    0%
  • 1 stars
    0%
See All Customer Reviews >
SKU : IP5-3P
  • Perfect fit, easy replacement, no water leakage.
  • Enjoy fresh, clean filtered water by Ipurer.
  • Efficient filtration of contaminants through activated carbon blocks.
  • Food-grade and BPA-free material.
  • Long lasting up to 6 months or 200 gallons.
  • No Tax, No VAT, Free Shipping
$ 47.99
$ 59.99
Quantity
- +
Sold Out
EASY RETURN
30 Days Return Warranty
Return Policy
FREE SHIPPING
Delivery Within 8 Business Days
Shipping Policy
  • Perfect fit, easy replacement, no water leakage.
  • Enjoy fresh, clean filtered water by Ipurer.
  • Efficient filtration of contaminants through activated carbon blocks.
  • Food-grade and BPA-free material.
  • Long lasting up to 6 months or 200 gallons.
  • No Tax, No VAT, Free Shipping
  • eptwfu01 water filter

    Contaminants
    Reduction

    Reduce impurities in water for better tasting water.

    filter eptwfu01

    Replacement
    Frequency

    We recommend replacing it every 6 months or after filtering 300 gallons of water to ensure the performance of the filter.

    puresource ultra ii water filter

    REDUCE THE USE OF
    PLASTIC BOTTLES

    Drink filtered water and reduce the use of plastic bottles.

    water filter eptwfu01

    IPURER brand

    IPURER is committed to reducing contaminants in drinking water and increasing everyone's awareness of drinking filtered water. In order to make everyone trust and choose IPURER, high-quality and low-price are our principles.

Specifications
Brand Ipurer
Part Number IP5
Filter Life 6 Months / 200 Gallons
Flow rate 0.5 gpm
Operating Pressure 30-120 psi
Operating Temperature 33-100 °F
Shipping Length9.84 in
Shipping Width 6.22 in
Shipping Height 2.17 in
Shipping Weight 3.42 lb

The Ipurer IP5 is compatible with following models:

Frigidaire
Filter Models:EPTWFU01, EPTWFU01C, EWF02, 4562222, 012505454226, 807946701
Refrigerator Models:FFHB2750TS0, FFHB2750TD0, FFHB2750TS3, FFHB2750TD3, FFHB2750TS2, FFSC2323TS0, FFSC2323TS4, FFHD2250TS3FGHB2868TF, FGHB2868TF1, FGSC2335TF0, FGHB2868TR2, FGHG2368TF1, FGHB2868TF3, FGHD2368TF5, FGHB2868TF4, FGHB2868TD3FGSC2335TF4, FGSC2335TF5, FGSC2335TF7, FGSC2335TF8, FGSC2335TF9FGSS2635TF0, FGSS2635TD0, FGSS2635TE4, FGSS2635TF6, FGSS2635TF1FPBC2277RF, FPBC2277RF0, FPBC2277RF1, FPBC2277RF2, FPBC2277RF3, FPBC2277RF5, FPBC2277RF4, FPBC2277RF8FPBG2277RF, FPBG2277RF0, FPBG2277RF2FPBS2777RF, FPBS2777RF0, FPBS2777RF1, FPBS2777RF2, FPBS2777RF3, FPBS2777RF4, FPBS2777RF9, FPBS2777RF6FPSC2277RF0, FPSS2677RF0, FPSS2677RF1LFHB2751TF3, LGHK2336TF0, LGHX2636TF0, LGHX2636TF4, LGHX2636TF5, LGHX2636TF7, LGHX2636TF8, LGHX2636TF9, LGHB2869TF1, LGHB2869TF3, LGHB2869TF5, LFHB2751TF5, LFHG2251TF0

**The above brands do not source or sponsor the water filter. The manufacturers' names and model numbers have been used for reference purposes only.

Customer reviews
0 out of 5.0 0 global ratings
  • 5 stars
    0%
  • 4 stars
    0%
  • 3 stars
    0%
  • 2 stars
    0%
  • 1 stars
    0%

Review this product

Share your thoughts with other customers
// 评星显示消失 $('.Arating_box .Arating').click(function(){ $('.Arating_toggle').css('display','block'); }); $('.Arating_box').mouseleave(function(){ setTimeout(function(){ $('.Arating_toggle').css('display','none'); },1500); }); // 搜索内容初始化 var category_id = 0; var search_word = ''; // 手机端搜索 $(function(){ $('.sea_input').keydown(function(event){ var keycode = event.which; var keyword = $(this).val(); if(13 == keycode || 38 == keycode || 40 == keycode){ if(keyword == ''){ alert("Please enter search content."); }else{ window.location.href = "/catalogsearch/index?q="+keyword; } } }); // 搜索按钮点击 $('#index_search_icon').click(function(){ var keyword = $('#searchword').val(); if(keyword == ''){ alert("Please enter search content."); }else{ window.location.href = "/catalogsearch/index?q="+keyword; } }); $('.search_submit').click(function(){ var keyword = $(this).prev().val(); if(keyword == ''){ alert("Please enter search content."); }else{ window.location.href = "/catalogsearch/index?q="+keyword; } }); }); // 点击.brand $(document).on('click','.brand',function(){ $('.brands').css('display','block'); setTimeout(function(){ $('.my_search .loading').css('display','none'); },2000); }); $(document).on('click','.branditem',function(){ // 加载点击项 var fullname = $(this).html(); if(fullname.length > 9){ var partname = fullname.substr(0,9) + '...'; }else{ var partname = fullname; } $('#brand').html(partname); $('#brand').attr('title',fullname); $('#brand').prev().val(fullname); $('.brands').css('display','none'); // 调取搜索产品方法 category_id = $(this).attr('data-id'); searchpro(); }); $(document).on('input propertychange','#searchword',function(){ // 调取搜索产品方法 search_word = $(this).val(); searchpro(); }); $('#searchword').keypress(function(event){ var keynum = (event.keyCode ? event.keyCode : event.which); search_word = $(this).val(); if(keynum == '13'){ if(search_word != ''){ if(category_id == 0){ window.location.href = "/catalogsearch/index?q="+search_word; }else{ window.location.href = "/catalogsearch/index?q="+search_word+"&c="+category_id; } }else{ alert("Please Enter Your Search Content."); } } }); $('.brandname').blur(function(){ var brandname = $(this).val(); $.ajax({ type:'post', data: { name:brandname, _csrf:$('.thiscsrf').val() }, url:'/catalog/product/searchcategory', success:function(res){ var response = JSON.parse(res); if(response.code == 200){ var html = ""; var list = response.data; for(var i = 0;i < list.length;i++){ html += "
  • "+list[i].name+"
  • "; } $('#listul ul').empty(); $('#listul ul').html(html); } }, error:function (XMLHttpRequest, textStatus, errorThrown){} }); }); $('.submit1,.search_submit').click(function(){ var searchcnt = $(this).prev().val(); searchcnt = searchcnt.trim(); if(searchcnt == ''){ alert('Please Enter Your Search Content.'); return false; } }); $('body').click(function(e) { var target = $(e.target); if(target.parents('#sresult-pc').length == 0 && target.parents('.brands').length == 0){ if($('.js_mySearch_pc').hasClass('active')){ $('.js_mySearch_pc').removeClass('active'); } } if(target.is('.brandname') || target.is('.find') || target.is('#listul') || target.is('#popularul') || target.is('.brands') || target.is('#popular') || target.is('.popularspan')){ $('.brands').css('display','block'); }else{ $('.brands').css('display','none'); } }); // 搜索产品方法 function searchpro(){ var bindelem = 'sresult-pc'; $.ajax({ url:"http://testfilter.dyyseo.com/catalog/product/searchpro", type:'get', data:{ searchcnt:search_word, searchcate:category_id, _csrf:$('.thiscsrf').val() }, success:function(res){ var response = JSON.parse(res); if(response.code == 200){ var items = response.data; var i; var lihtml = ""; $('#'+bindelem).empty(); $('#'+bindelem).html(lihtml); if(items.length > 0){ $('.js_mySearch_pc').addClass('active'); }else{ $('.js_mySearch_pc').removeClass('active'); } } } }); } // GTM function product_click(productObj) { dataLayer.push({ 'event': 'productClick', 'ecommerce': { 'click': { 'products': [{ 'name': productObj.name, 'id': productObj.sku, 'price': productObj.special_price, 'position': 1 }] } }, }); } var newwindow; var intId; function facebooklogin(){ var screenX = typeof window.screenX != 'undefined' ? window.screenX : window.screenLeft, screenY = typeof window.screenY != 'undefined' ? window.screenY : window.screenTop, outerWidth = typeof window.outerWidth != 'undefined' ? window.outerWidth : document.body.clientWidth, outerHeight = typeof window.outerHeight != 'undefined' ? window.outerHeight : (document.body.clientHeight - 22), width = 800, height = 450, left = parseInt(screenX + ((outerWidth - width) / 2), 10), top = parseInt(screenY + ((outerHeight - height) / 2.5), 10), features = ( 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top ); newwindow=window.open('https://www.facebook.com/v2.10/dialog/oauth?client_id=108618299786621&state=707f46215229f462084f852deb935453&response_type=code&sdk=php-sdk-5.7.0&redirect_uri=http%3A%2F%2Ftestfilter.dyyseo.com%2Fcustomer%2Ffacebook%2Floginv&scope=email','Login_by_facebook',features); if (window.focus) {newwindow.focus()} return false; } function googlelogin(){ var screenX = typeof window.screenX != 'undefined' ? window.screenX : window.screenLeft, screenY = typeof window.screenY != 'undefined' ? window.screenY : window.screenTop, outerWidth = typeof window.outerWidth != 'undefined' ? window.outerWidth : document.body.clientWidth, outerHeight = typeof window.outerHeight != 'undefined' ? window.outerHeight : (document.body.clientHeight - 22), width = 800, height = 650, left = parseInt(screenX + ((outerWidth - width) / 2), 10), top = parseInt(screenY + ((outerHeight - height) / 2.5), 10), features = ( 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top ); newwindow=window.open('https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3A%2F%2Ftestfilter.dyyseo.com%2Fcustomer%2Fgoogle%2Floginv&client_id=380372364773-qdj1seag9bh2n0pgrhcv2r5uoc58ltp3.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&access_type=offline&approval_prompt=auto ','Login_by_facebook',features); if (window.focus) {newwindow.focus()} return false; } $(document).ready(function(){ $(".email_register_resend").click(function(){ emailRegisterResendUrl = "http://testfilter.dyyseo.com/customer/account/resendregisteremail"; $.ajax({ async:true, timeout: 6000, dataType: 'json', type:'get', data: { "email": "" }, url:emailRegisterResendUrl, success:function(data, textStatus){ // if (data.resendStatus == 'success') { //$(".resend_text").html('resend register email success'); alert("resend register email success") } else { //$(".resend_text").html('resend register email fail'); alert("resend register email fail") } }, error:function (XMLHttpRequest, textStatus, errorThrown){} }); }); }); // $('.searchipt').bind('input propertychange', function(){ // var searchcnt = $(this).val(); // var bindelem = $(this).attr('bindelem'); // $.ajax({ // url:"http://testfilter.dyyseo.com/catalog/product/searchpro", // type:'get', // data:{ // searchcnt:searchcnt, // _csrf:$('.thiscsrf').val() // }, // success:function(res){ // var response = JSON.parse(res); // if(response.code == 200){ // var items = response.data; // var i; // var lihtml = ""; // $('#'+bindelem).empty(); // $('#'+bindelem).html(lihtml); // if(items.length > 0){ // if(bindelem == 'sresult-pc'){ // $('.js_mySearch_pc').addClass('active'); // }else{ // $('.js_mySearch_mobile').addClass('active'); // } // }else{ // if(bindelem == 'sresult-pc'){ // $('.js_mySearch_pc').removeClass('active'); // }else{ // $('.js_mySearch_mobile').removeClass('active'); // } // } // } // } // }); // }); // CSRF信息 var csrfName = "_csrf"; var csrfVal = "F8xeyhNj04KFlxu-U4mkjXQC7Sdrw4-AJMk55RnTKMpUnRD5dheY0bL8UPs52-rjJlLaeFmpvthIk0GHX6B-jw=="; // 公用数据 var updateCartInfoUrl = "http://testfilter.dyyseo.com/checkout/cart/updateinfo"; function limitpurchase(){ alert('This product cannot be purchased separately'); } $(function() { // 分享首页 sharePage(); // Header切换 // $(document).on("mousewheel DOMMouseScroll",function (e) { // var delta = (e.originalEvent.wheelDelta && (e.originalEvent.wheelDelta > 0 ? 1 : -1)) || // (e.originalEvent.detail && (e.originalEvent.detail > 0 ? -1 : 1)); // if (delta > 0) { // $("header").removeClass("large").addClass("small"); // if ($(document).scrollTop() < 240) { // $("header").removeClass("small").addClass("large"); // } // } else if (delta < 0) { // $("header").removeClass("small").addClass("large"); // } // }); $(document).on("scroll", function() { // if($(document).scrollTop() > 180) { // $('header').css('box-shadow','2px 2px 2px rgb(200 200 200)'); // }else{ // $('header').css('box-shadow','none'); // } }); // 设置全选框 selectall = ""; selectAllChecked = false; if (selectall == 1) { selectAllChecked = true; } else { item_select_all = 1; $(".cart_select_item").each(function () { checked = $(this).is(':checked'); if (checked == false) { item_select_all = 0; } }); if (item_select_all == 1) { selectAllChecked = true; } } $(".cart_select_all").attr("checked", selectAllChecked); currentUrl = "http://testfilter.dyyseo.com/checkout/cart"; updateCartInfoUrl = "http://testfilter.dyyseo.com/checkout/cart/updateinfo"; selectOneProductUrl = "http://testfilter.dyyseo.com/checkout/cart/selectone"; selectAllProductUrl = "http://testfilter.dyyseo.com/checkout/cart/selectall"; // 减少购物车数量 $(document).on("click",".cartqtydown",function () { $item_id = $(this).attr("rel"); num = $("#ajax_qty_" + $item_id).val(); if (num > 1) { $current_qty = --num; $data = { item_id: $item_id, up_type: "less_one" }; $data[csrfName] = csrfVal; jQuery.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { $(document).find(".ajax_qty_" + $item_id).html($current_qty); $(document).find("#ajax_qty_" + $item_id).val($current_qty); $(document).find(".js_cart_items").html(data.items_count); $(document).find(".ajax-cart-grand_total").html("$" + data.grand_total); $(document).find(".ajax-cart-product_total").html("$" + data.product_total); $(document).find(".ajax-cart-coupon_cost").html("$" + data.coupon_cost); $.each(data.products,function(id,obj){ $(document).find('.cart_product_price_'+obj.item_id).html("$" + obj.base_product_row_price.toFixed(2)); }); } else { alert(data.content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }else{ // 购物车数量仅剩一件 $(this).parent().next().find('.remove').eq(0).click(); } }); // 增加购物车数量 $(document).on("click",".cartqtyup",function () { $item_id = $(this).attr("rel"); $qty = $("#ajax_qty_" + $item_id).val(); $data = { item_id: $item_id, up_type: "add_one" }; $data[csrfName] = csrfVal; $current_qty = ++$qty; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { $(document).find(".ajax_qty_" + $item_id).html($current_qty); $(document).find("#ajax_qty_" + $item_id).val($current_qty); $(document).find(".js_cart_items").html(data.items_count); $(document).find(".ajax-cart-grand_total").html("$" + data.grand_total); $(document).find(".ajax-cart-product_total").html("$" + data.product_total); $(document).find(".ajax-cart-coupon_cost").html("$" + data.coupon_cost); $.each(data.products,function(id,obj){ $(document).find('.cart_product_price_'+obj.item_id).html("$" + obj.base_product_row_price.toFixed(2)); }); // 结账页刷新页面 } else { alert(data.content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }); }); // 减少购物车数量AJAX请求 function ajaxcartqtydown(obj) { $item_id = $(obj).attr("rel"); num = $(".ajax_qty_" + $item_id).text(); if (num > 1) { $current_qty = --num; $data = { item_id: $item_id, up_type: "less_one" }; $data[csrfName] = csrfVal; jQuery.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { $(".ajax_qty_" + $item_id).html($current_qty); $("#ajax_qty_" + $item_id).val($current_qty); if ($current_qty == 1) { $(obj).html(""); $(obj).attr('onclick', "ajaxbtnremove(this)") } $(".js_cart_items").html(data.items_count); $(".ajax-cart-grand_total").html("$" + data.grand_total); $(".ajax-cart-product_total").html("$" + data.product_total); $(".ajax-cart-coupon_cost").html("-" + data.coupon_cost); $("#popup-cart").html(data.popup_html); } else { alert(data.content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); } } // 增加购物车数量AJAX请求 function ajaxcartqtyup(obj) { $item_id = $(obj).attr("rel"); $qty = $(".ajax_qty_" + $item_id).text(); $data = { item_id: $item_id, up_type: "add_one" }; $data[csrfName] = csrfVal; $current_qty = ++$qty; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { $(".ajax_qty_" + $item_id).html($current_qty); $("#ajax_qty_" + $item_id).val($current_qty); if ($current_qty > 1) { $("#ajax_sub_qty_" + $item_id).html(""); $("#ajax_sub_qty_" + $item_id).attr('onclick', "ajaxcartqtydown(this)") } $(".js_cart_items").html(data.items_count); $(".ajax-cart-grand_total").html("$" + data.grand_total); $(".ajax-cart-product_total").html("$" + data.product_total); $(".ajax-cart-coupon_cost").html("-" + data.coupon_cost); $("#popup-cart").html(data.popup_html); } else { alert(data.content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); } // 移除购物车内容AJAX请求 function ajaxbtnremove(obj) { $item_id = $(obj).attr("rel"); $data = { item_id: $item_id, up_type: "remove" }; $data[csrfName] = csrfVal; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { $(".ajax_tr_" + $item_id).remove(); $(".js_cart_items").html(data.items_count); $(".ajax-cart-grand_total").html("$" + data.grand_total); $(".ajax-cart-product_total").html("$" + data.product_total); $(".ajax-cart-coupon_cost").html("-" + data.coupon_cost); $('#popup-cart').html(data.popup_html); var tr_length = $(".checkout-cart-table tr").length; var menu_length = $(".menu-ajax-table tr").length; if (data.items_count == 0) { $(".checkout-cart-row").html('
    \n' + ' \n' + '
    \n' + ' Your Shopping Cart is empty Start shopping now!\n' + '
    \n' + ' Please log in to view the products you have previously added to your Shopping Cart.
    \n' + '\n' + '
    '); img_url = "https://imgfilter.dyyseo.com"; $("#cart-table").html('
    \n' + ' \n' + '

    Your cart is empty.

    \n' + ' shop now\n' + '
    '); $("#popup-cart").html("

    Your cart is empty.

    shop now
    "); } } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); // 删除购物车数据 $(".btn-remove").click(function () { $item_id = $(this).attr("rel"); $type = $(this).attr("data-type"); $sku = $(this).attr("sku"); //gtm if ($type == 'pc') { $price = $(this).parent().siblings().eq(2).html().substring(1); $qty = $(this).parent().siblings().eq(3).children("span").children("input").val(); $name = $(this).parent().siblings().eq(1).children("div").children("a").text(); } else { $qty = $("ajax_qty_" + $item_id).text(); $name = $(this).attr("data-name"); $price = $(this).attr("price"); } $data = { item_id: $item_id, up_type: "remove" }; $data[csrfName] = csrfVal; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: updateCartInfoUrl, success: function (data, textStatus) { if (data.status == 'success') { dataLayer.push({ 'event': 'removeFromCart', 'ecommerce': { 'remove': { 'products': [{ 'name': $name, 'id': $sku, 'price': $price, 'quantity': $qty }] } } }); window.location.href = currentUrl; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }); $(".cart_select_item").click(function () { $item_id = $(this).attr("rel"); checked = $(this).is(':checked'); checked = checked ? 1 : 0; $data = { item_id: $item_id, checked: checked }; $data[csrfName] = csrfVal; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: selectOneProductUrl, success: function (data, textStatus) { if (data.status == 'success') { window.location.href = currentUrl; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }); $(".cart_select_all").click(function () { checked = $(this).is(':checked'); checked = checked ? 1 : 0; $data = { checked: checked }; $data[csrfName] = csrfVal; selectCurrentUrl = currentUrl + '?selectall=' + checked; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: selectAllProductUrl, success: function (data, textStatus) { if (data.status == 'success') { window.location.href = selectCurrentUrl; } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }); $(".add_coupon_submit").click(function () { coupon_code = $("#coupon_code").val(); coupon_type = $(".couponType").val(); coupon_url = ""; if ("1") { if (coupon_type == 2) { coupon_url = "http://testfilter.dyyseo.com/checkout/cart/ajaxaddcoupon"; } else if (coupon_type == 1) { coupon_url = "http://testfilter.dyyseo.com/checkout/cart/ajaxcancelcoupon"; } } else { if (coupon_type == 2) { coupon_url = "http://testfilter.dyyseo.com/checkout/cart/addcoupon"; } else if (coupon_type == 1) { coupon_url = "http://testfilter.dyyseo.com/checkout/cart/cancelcoupon"; } } $data = {"coupon_code": coupon_code}; $data[csrfName] = csrfVal; $.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: coupon_url, success: function (data) { if (data.status == 'success') { window.location.href = currentUrl; } else if (data.content == 'nologin') { window.location.href = "http://testfilter.dyyseo.com/customer/account/login"; } else { $(".coupon_add_log").html(data.content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); }); } // 数量减少方法 function add_sub(product_id){ num = $("#qty_"+product_id).val(); if (num > 1) { num--; $("#qty_"+product_id).val(num); } } // 数量增加方法 function add_add(product_id){ num = $("#qty_"+product_id).val(); num++; $("#qty_"+product_id).val(num); } // 加入购物车AJAX请求 function add_to_cart(product_id,clickType){ num = $("#qty_"+product_id).val(); csrfName = "_csrf"; csrfVal = "F8xeyhNj04KFlxu-U4mkjXQC7Sdrw4-AJMk55RnTKMpUnRD5dheY0bL8UPs52-rjJlLaeFmpvthIk0GHX6B-jw=="; $(this).addClass("dataUp"); addToCartUrl = "http://testfilter.dyyseo.com/checkout/cart/add"; $data = {}; $data['custom_option'] = null; $data['product_id'] = product_id; $data['qty'] = num; if (csrfName && csrfVal) { $data[csrfName] = csrfVal; } jQuery.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: addToCartUrl, success: function (data, textStatus) { if (data.status == 'success') { if (clickType == 'buy_now') { window.location.href = "http://testfilter.dyyseo.com/checkout"; } else { $(".js_cart_items").html(data.items_count); $("#cart-table").html(data.cart_content); $("#popup-cart").html(data.popup_html); $(function() { $('.autoplay3').slick({ infinite: true, speed: 1000, slidesToShow: 3, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, responsive: [{ breakpoint: 992, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, infinite: true, dots: true, } }, { breakpoint: 768, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, } } ] }) }); //gtm dataLayer.push({ 'event': 'addToCart', 'ecommerce': { 'currencyCode': '', 'add': { 'products': [{ 'name': '', 'id': '', 'price': "", 'category': "", 'quantity': num, }] } } }); $(document).find('#cart_a').click(); } } else { content = data.content; $(".addProductToCart").removeClass("dataUp"); alert(content); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); } // 添加单个商品至购物车 function add_this_product(product_id,refresh,checkempty){ if(product_id == 0){return false;} // 验证购物车是否为空 if(checkempty == 1){ var cart_length = $('#popup-cart').find('li').length; if(cart_length < 1){ alert('This product cannot be purchased separately.'); return false; } } var num = 1; csrfName = "_csrf"; csrfVal = "F8xeyhNj04KFlxu-U4mkjXQC7Sdrw4-AJMk55RnTKMpUnRD5dheY0bL8UPs52-rjJlLaeFmpvthIk0GHX6B-jw=="; $(this).addClass("dataUp"); // Ajax数据 addToCartUrl = "http://testfilter.dyyseo.com/checkout/cart/add"; $data = {}; $data['custom_option'] = null; $data['product_id'] = product_id; $data['qty'] = num; if (csrfName && csrfVal) { $data[csrfName] = csrfVal; } // Ajax请求 jQuery.ajax({ async: true, timeout: 6000, dataType: 'json', type: 'post', data: $data, url: addToCartUrl, success: function (data, textStatus) { if (data.status == 'success') { $(".js_cart_items").html(data.items_count); $("#cart-table").html(data.cart_content); $("#popup-cart").html(data.popup_html); $(function() { $('.autoplay3').slick({ infinite: true, speed: 1000, slidesToShow: 3, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, responsive: [{ breakpoint: 992, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, infinite: true, dots: true, } }, { breakpoint: 768, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1, autoplay: true, autoplaySpeed: 3000, dots: true, } } ] }) }); dataLayer.push({ 'event': 'addToCart', 'ecommerce': { 'currencyCode': '', 'add': { 'products': [{ 'name': '', 'id': '', 'price': "", 'category': "", 'quantity': num, }] } } }); } else { content = data.content; $(".addProductToCart").removeClass("dataUp"); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { } }); if(refresh == 1){ window.location.reload(); } }