Add " + compareMsg + " to compare
"); if ( $('.cmp_footer').find('.cp_box').length == 0 ) { hideBar(); } } /* function to add the items to the cmp_footer box also performs doubleChecks() to make sure that un-selected items are not shown */ function addToBox(id) { $.ajax({ url: '/compare-dock-ajax.php', method: 'get', data: "id="+id, dataType: "json", success: function(data) { var ar_value = getCookie('compare').split("|"); var selectedItems = ar_value.length; var emptyBoxes = 4 - selectedItems; var msgPos = selectedItems + 1; if(selectedItems > 1){ $('#compare-btn').removeClass('inactive').addClass('active'); $('#compare-btn').attr('aria-label', 'Compare Now'); }else{ $('#compare-btn').removeClass('active').addClass('inactive'); } switch(emptyBoxes){ case 0: compareMsg = ""; break; case 1: compareMsg = "1 more item"; break; case 2: compareMsg = "1 - 2 more items"; break; case 3: compareMsg = "1 - 3 more items"; break; case 4: compareMsg = "1 - 4 more items"; break; } if ($('.cmp_footer').position().top > 0) { $('.empty-boxes').first().replaceWith(""); $("#emptyBox" + msgPos).html("Add " + compareMsg + " to compare
"); } else { //$('.cmp_footer').slideDown(400); $(".cmp_footer").slideDown({ start: function () { $(this).css({ display: "flex" }) } }); $('.under').css({'margin-bottom' : '25px'}); $('.empty-boxes').first().replaceWith(""); $("#emptyBox" + msgPos).html("Add " + compareMsg + " to compare
"); /*Add Accessible Skip Button leading to Compare Dock at top of page*/ $('#skip_link_list').append(''; rrItem += ''; //End Current $('.' + targ + '.mobile-remove').append(rrItem); //Check to see if placement contains "Home to determine how many characters should show before the name is truncated" for (ii = 0; (ii '; rrItem += '';
}
else{
rrItem += '
';
// Write data to Container
let targetContainer = $('.' + targ + '.mobile-remove');
targetContainer.append(rrItem);
targetContainer.addClass({display: "block"});
}
}
}
$(document).ajaxComplete(function( ) {
if ( $('.buttonDiv').text() == 'In Cart' ){
$("button.PED_button.mvt").replaceWith("In Cart");
}
else{
$(".PED_button.button.special.mvt").replaceWith("");
}
});
}
else if(type == 'productHorizontalCurrent'){
// Replace this with HTML Template on page
if(typeof pedRREndpoint !== "undefined" && pedRREndpoint == "true"){
linkICNParams = '?icn=' + srcICN + '&icl=product+page';
linkICNParams_v2 = '?icn=' + srcICN + '&icl=product+page';
}
else{
linkICNParams = '?icn=' + srcICN + '%26icl=product%2Bpage';
linkICNParams_v2 = '?icn=' + srcICN + '%26icl=product%2Bpage';
}
if (Array.isArray(rrData.items)){
if (rrData.items.length >= 1 ){
// Write Header Bar
//$('.' + targ + '.mobile-remove').append('';
}
if(rrData.items[ii].sale_price != ''){
rrItem += '';
rrItem += '
';
rrItem += '';
rrItem += '';
rrItem += '';
rrItem += '$' + rrData.items[ii].sale_price + '
';
}else if (rrData.items[ii].price != '') {
rrItem += '';
}
rrItem += '' + rrData.strategy_message + '
');
$('.' + targ + '_title').append('' + rrData.strategy_message + '
');
$('.' + targ + '_title').addClass('mvt');
var currentProdName = $('#productTitle').text();
var starBoxes = $('.starBox .stars');
if (starBoxes.length){
var currentStarsRating = starBoxes.data('rating');
} else{
currentStarsRating = '0';
}
if ($('.tab_num.tn_reviews')[0]){
var currentNumReviews = $('.tab_num.tn_reviews').text();
}
else{
currentNumReviews = '0';
}
if ($('.reviewStarContainer2 a')[0]){
var currentReviewsLink = $('.reviewStarContainer2 a').attr('href');
if(linkICNParams){
currentReviewsLink = currentReviewsLink + linkICNParams_v2;
}
}
else{
currentReviewsLink = '';
}
var currentPrice = $('#priceWrapper #productsPrice').text();
var beforeSalePrice = $('#priceWrapper .salesPrice').text();
var currentCartProdNum = $("input[name='products_id']").val();
var currentProdImgSrc = $('#prodImage img').attr('src');
var maxNameLength = 65;
//Write item container for current item to placement
var rrItem = '';
rrItem = '';
rrItem += '
';
// Write data to Container
$('.' + targ + '.mobile-remove').append(rrItem);
//Check to see if placement contains "Home to determine how many characters should show before the name is truncated"
for (ii = 0; ii -1){
maxNameLength = 50;
}
else if(article_check > -1){
maxNameLength = 50;
}
else{
if(storesIdTest == 13){
maxNameLength = 75;
} else if(storesIdTest == 15){
if(rr_page_site_str0 == 'item_page'){
maxNameLength = 55;
}
else{
maxNameLength = 70;
}
}
else{ maxNameLength = 65; }
}
titleAttr = '';
altAttr = '';
if (typeof rrData.items[ii].name !== 'undefined') {
titleAttr = ' title="' + rrData.items[ii].name + '"';
altAttr = ' alt="' + rrData.items[ii].name + '"';
}
else{
altAttr = ' alt="View Product"';
titleAttr = ' title="View Product"';
}
if(ii == 0){
borderStyle = '';
}
else{borderStyle = ' style="border-left: 1px solid #ccc;"';}
var rrItem = '';
rrItem = 'Currently Viewing
';
rrItem += '';
rrItem += '';
if(currentNumReviews > 0){
rrItem += '' + ratingStars(currentStarsRating) + '';
rrItem += '(' + (isNaN(parseInt(currentNumReviews)) ? 0 : parseInt(currentNumReviews)) + ')';
}
else{
rrItem += ratingStars(currentStarsRating) + '';
rrItem += '(' + (isNaN(parseInt(currentNumReviews)) ? 0 : parseInt(currentNumReviews)) + ')';
}
rrItem += '
';
var nameStr = currentProdName;
var truncName = nameStr.substring(0,maxNameLength);
truncName = truncName.substr(0, Math.min(truncName.length, truncName.lastIndexOf(" ")));
var nameLength = nameStr.length;
if(nameLength >= maxNameLength){
rrItem += '' + truncName + '...
';
}
else{
rrItem += '' + currentProdName + '
';
}
rrItem += '';
if(beforeSalePrice != ''){
rrItem += ' ';
rrItem += '
';
rrItem += '';
rrItem += '' + beforeSalePrice + '
';
rrItem += '' + currentPrice + '
';
}else if (currentPrice != '') {
rrItem += '' + currentPrice + '
';
}
rrItem += '';
rrItem += '
';
$('.vert_right_rec.mobile-remove').html(rrItem);
}
}
}
else if(type == 'checkoutSuccess'){
// Replace this with HTML Template on page //
var storesIdTest = getStoreID();
var expertName = getExpertName();
if (Array.isArray(rrData.items)){
if (rrData.items.length >= 1 ){
$("#div_success_recommends").text(rrData.strategy_message);
// rrItem = '';
if(linkICNParams){
rrItem += '';
}
else{
rrItem += '';
}
rrItem += '';
rrItem += '';
rrItem += '
';
if(linkICNParams){
rrItem += '';
// Write data to Container
let targetContainer = $('.' + targ + '.mobile-remove');
targetContainer.append(rrItem);
targetContainer.addClass({display: "block"});
//cmp_init();
}
}
}
}
$(document).ajaxComplete(function( ) {
if ( $('.buttonDiv').text() == 'In Cart' ){
$(".rr_currentview_btn").replaceWith("In Cart");
}
else{
$(".rr_currentview_btn").replaceWith("");
}
});
$('.bottom_rec').addClass('mvt');
//$('.bottom_rec').addClass('current_bottom_rec');
//$('.current_bottom_rec').removeClass('bottom_rec');
var ar_value = getCookie('compare').split("|"); // get all 'compare' cookies' values
$.each(ar_value, function(key, val) {
if (val !== '') { // if the cookie isn't blank
if ( $('#'+val).length == 0 ) { // if the product is not already in the box
addToBox(val);
if($('#cb'+ val).hasClass('rr_comp')){ var compLabel = 'Add to Compare'; }
else{ compLabel = 'Compare'; }
$('#cbtext' + val).html('Compare');
$('#cb'+ val).prop('checked', true);
}
}
});
//End
}
else if(type == 'vertRight'){
if (Array.isArray(rrData.items)){
if (rrData.items.length >= 1 ){
var maxNameLength = 50;
var titleAttr = '';
var altAttr = '';
var rrItem = '';
rrItem += '';
rrItem += '
';
}
rrItem += '' + rrData.strategy_message + '
';
for (ii = 0; ii ';
rrItem += '';
rrItem += '';
rrItem += '';
var nameStr = rrData.items[ii].name;
var truncName = nameStr.substring(0,maxNameLength);
truncName = truncName.substr(0, Math.min(truncName.length, truncName.lastIndexOf(" ")));
var nameLength = nameStr.length;
if(nameLength >= maxNameLength){
rrItem += '';
}
else{
rrItem += '';
}
rrItem += '
';
rrItem += '';
if(rrData.items[ii].sale_price != ''){
rrItem += '';
rrItem += '';
}
else{
rrItem += '';
}
rrItem += '
';
rrItem += ' ' + expertName + ' Recommends...
{"storeName":"Sump Pumps Direct","storeID":"10","headerNavJSON":"{\"MainLinks\":[{\"URL\":\"pumps\\\/primary-sump-pumps.html\",\"displayText\":\"Primary Sump Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/primary-submersible-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/primary-10-1.jpg\",\"displayText\":\"Submersible\"},{\"URL\":\"pumps\\\/primary-pedestal-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/primary-10-2.jpg\",\"displayText\":\"Pedestal\"},{\"URL\":\"pumps\\\/automatic-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/primary-10-3.jpg\",\"displayText\":\"Automatic\"},{\"URL\":\"pumps\\\/cast-iron-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/primary-10-4.jpg\",\"displayText\":\"Cast Iron\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Brands\",\"linkItems\":[{\"URL\":\"pumps\\\/zoeller-primary-sump-pumps.html\",\"displayText\":\"Zoeller\"},{\"URL\":\"pumps\\\/wayne-primary-sump-pumps.html\",\"displayText\":\"Wayne\"},{\"URL\":\"pumps\\\/liberty-pumps-primary-sump-pumps.html\",\"displayText\":\"Liberty Pumps\"},{\"URL\":\"pumps\\\/little-giant-primary-sump-pumps.html\",\"displayText\":\"Little Giant\"},{\"URL\":\"pumps\\\/ion-primary-sump-pumps.html\",\"displayText\":\"iON\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Shop by HP\",\"linkItems\":[{\"URL\":\"pumps\\\/1-4-hp-primary-sump-pumps.html\",\"displayText\":\"1\\\/4 HP\"},{\"URL\":\"pumps\\\/1-3-hp-primary-sump-pumps.html\",\"displayText\":\"1\\\/3 HP\"},{\"URL\":\"pumps\\\/1-2-hp-primary-sump-pumps.html\",\"displayText\":\"1\\\/2 HP\"},{\"URL\":\"pumps\\\/3-4-hp-primary-sump-pumps.html\",\"displayText\":\"3\\\/4 HP\"},{\"URL\":\"pumps\\\/1-hp-primary-sump-pumps.html\",\"displayText\":\"1 HP\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Categories\",\"linkItems\":[{\"URL\":\"pumps\\\/crawl-space-sump-pumps.html\",\"displayText\":\"Crawl Space\"},{\"URL\":\"pumps\\\/duplex-sump-pumps.html\",\"displayText\":\"Duplex\"},{\"URL\":\"pumps\\\/elevator-sump-pumps.html\",\"displayText\":\"Elevator\"},{\"URL\":\"pumps\\\/non-automatic-sump-pumps.html\",\"displayText\":\"Non-Automatic\"},{\"URL\":\"pumps\\\/laundry-drain-pump-systems.html\",\"displayText\":\"Laundry\\\/Sink\"}]},{\"URL\":\"stories\\\/335-How-to-Pick-the-Perfect-Primary-Sump-Pump.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_335.jpg\",\"linkItems\":[],\"displayText\":\"Primary Sump Pump Buyer's Guide: 2 Types to Know\"}]},{\"URL\":\"pumps\\\/combination-sump-pump-systems.html\",\"displayText\":\"Combination Sump Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/1-3-hp-combination-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-1.jpg\",\"displayText\":\"1\\\/3 HP\"},{\"URL\":\"pumps\\\/1-2-hp-combination-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-2.jpg\",\"displayText\":\"1\\\/2 HP\"},{\"URL\":\"pumps\\\/3-4-hp-combination-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-3.jpg\",\"displayText\":\"3\\\/4 HP\"},{\"URL\":\"pumps\\\/2000-2999-gph-combination-sump-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-4.jpg\",\"displayText\":\"2,000 - 2,999 GPH\"},{\"URL\":\"pumps\\\/3000-3999-gph-combination-sump-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-5.jpg\",\"displayText\":\"3,000 - 3,999 GPH\"},{\"URL\":\"pumps\\\/4000-4999-gph-combination-sump-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/combination-10-6.jpg\",\"displayText\":\"4,000 - 4,999 GPH\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Brands\",\"linkItems\":[{\"URL\":\"pumps\\\/zoeller-combination-sump-pumps.html\",\"displayText\":\"Zoeller\"},{\"URL\":\"pumps\\\/basement-watchdog-combination-sump-pumps.html\",\"displayText\":\"Basement Watchdog\"},{\"URL\":\"pumps\\\/liberty-combination-sump-pumps.html\",\"displayText\":\"Liberty Pumps\"},{\"URL\":\"pumps\\\/ion-combination-sump-pumps.html\",\"displayText\":\"iON\"},{\"URL\":\"pumps\\\/nexpump-combination-sump-pumps.html\",\"displayText\":\"NexPump\"},{\"URL\":\"pumps\\\/phcc-pro-series-combination-sump-pumps.html\",\"displayText\":\"PHCC Pro Series\"},{\"URL\":\"pumps\\\/myers-combination-sump-pumps.html\",\"displayText\":\"Myers\"},{\"URL\":\"pumps\\\/little-giant-combination-sump-pump-systems.html\",\"displayText\":\"Little Giant\"},{\"URL\":\"pumps\\\/wayne-combination-sump-pumps.html\",\"displayText\":\"Wayne\"},{\"URL\":\"pumps\\\/flotec-combination-sump-pumps.html\",\"displayText\":\"FloTec\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Shop by HP\",\"linkItems\":[{\"URL\":\"pumps\\\/3-10-hp-combination-sump-pumps.html\",\"displayText\":\"3\\\/10 HP\"},{\"URL\":\"pumps\\\/1-3-hp-combination-sump-pumps.html\",\"displayText\":\"1\\\/3 HP\"},{\"URL\":\"pumps\\\/1-2-hp-combination-sump-pumps.html\",\"displayText\":\"1\\\/2 HP\"},{\"URL\":\"pumps\\\/3-4-hp-combination-sump-pumps.html\",\"displayText\":\"3\\\/4 HP\"}]},{\"URL\":\"stories\\\/337-How-to-Pick-the-Perfect-Combination-Sump-Pump.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_337.jpg\",\"linkItems\":[],\"displayText\":\"How To Pick The Perfect Combination Sump Pump\"}]},{\"URL\":\"pumps\\\/battery-backup-sump-pumps.html\",\"displayText\":\"Battery Backup Sump Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/battery-backup-sump-pumps-with-battery.html\",\"imageURL\":\"nav-image\\\/100\\\/battery-backup-10-1.jpg\",\"displayText\":\"With Battery\"},{\"URL\":\"pumps\\\/battery-backup-sump-pumps-without-battery.html\",\"imageURL\":\"nav-image\\\/100\\\/battery-backup-10-2.jpg\",\"displayText\":\"Without Battery\"},{\"URL\":\"pumps\\\/water-powered-backup-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/battery-backup-10-3.jpg\",\"displayText\":\"Water-Powered\"},{\"URL\":\"pumps\\\/auxiliary-power-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/battery-backup-10-4.jpg\",\"displayText\":\"Auxiliary Power Systems\"},{\"URL\":\"pumps\\\/sump-pump-batteries.html\",\"imageURL\":\"nav-image\\\/100\\\/battery-backup-10-5.jpg\",\"displayText\":\"Batteries\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Brands\",\"linkItems\":[{\"URL\":\"pumps\\\/zoeller-battery-backup-sump-pumps.html\",\"displayText\":\"Zoeller\"},{\"URL\":\"pumps\\\/basement-watchdog-battery-backup-sump-pumps.html\",\"displayText\":\"Basement Watchdog\"},{\"URL\":\"pumps\\\/phcc-pro-series-battery-backup-sump-pumps.html\",\"displayText\":\"PHCC Pro Series\"},{\"URL\":\"pumps\\\/wayne-battery-backup-sump-pumps.html\",\"displayText\":\"Wayne\"},{\"URL\":\"pumps\\\/ion-battery-backup-sump-pumps.html\",\"displayText\":\"iON\"},{\"URL\":\"pumps\\\/flotec-battery-backup-sump-pumps.html\",\"displayText\":\"FloTec\"},{\"URL\":\"pumps\\\/liberty-battery-backup-sump-pumps.html\",\"displayText\":\"Liberty Pumps\"},{\"URL\":\"pumps\\\/myers-backup-sump-pumps.html\",\"displayText\":\"Myers\"},{\"URL\":\"pumps\\\/little-giant-back-up-sump-pumps.html\",\"displayText\":\"Little Giant\"},{\"URL\":\"pumps\\\/nexpump-battery-backup-sump-pumps.html\",\"displayText\":\"NexPump\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Shop by GPH\",\"linkItems\":[{\"URL\":\"pumps\\\/1000-1999-gph-battery-backup-sump-pumps.html\",\"displayText\":\"1,000 - 1,999 GPH\"},{\"URL\":\"pumps\\\/2000-2999-gph-battery-backup-sump-pumps.html\",\"displayText\":\"2,000 - 2,999 GPH\"},{\"URL\":\"pumps\\\/3000-3999-gph-battery-backup-sump-pumps.html\",\"displayText\":\"3,000 - 3,999 GPH\"},{\"URL\":\"pumps\\\/4000-4999-gph-battery-backup-sump-pumps.html\",\"displayText\":\"4,000 - 4,999 GPH\"},{\"URL\":\"pumps\\\/5000-plus-gph-battery-backup-sump-pumps.html\",\"displayText\":\"5,000+ GPH\"}]},{\"URL\":\"stories\\\/336-How-to-Pick-the-Perfect-Battery-Backup-Sump-Pump.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_336.jpg\",\"linkItems\":[],\"displayText\":\"How To Pick The Perfect Battery Backup Sump Pump\"}]},{\"URL\":\"pumps\\\/sewage-pumps.html\",\"displayText\":\"Sewage Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/4-10-hp-sewage-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-1.jpg\",\"displayText\":\"4\\\/10 HP\"},{\"URL\":\"pumps\\\/1-2-hp-sewage-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-2.jpg\",\"displayText\":\"1\\\/2 HP\"},{\"URL\":\"pumps\\\/3-4-hp-sewage-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-3.jpg\",\"displayText\":\"3\\\/4 HP\"},{\"URL\":\"pumps\\\/1-hp-sewage-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-4.jpg\",\"displayText\":\"1 HP\"},{\"URL\":\"pumps\\\/2-hp-sewage-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-5.jpg\",\"displayText\":\"2 HP\"},{\"URL\":\"pumps\\\/sewage-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/sewage-10-6.jpg\",\"displayText\":\"Systems\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Brands\",\"linkItems\":[{\"URL\":\"pumps\\\/superior-pump-sewage-pumps.html\",\"displayText\":\"Superior Pump\"},{\"URL\":\"pumps\\\/bur-cam-sewage-pumps.html\",\"displayText\":\"Burcam\"},{\"URL\":\"pumps\\\/zoeller-sewage-pumps.html\",\"displayText\":\"Zoeller\"},{\"URL\":\"pumps\\\/little-giant-sewage-pumps.html\",\"displayText\":\"Little Giant\"},{\"URL\":\"pumps\\\/liberty-sewage-pumps.html\",\"displayText\":\"Liberty Pumps\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Categories\",\"linkItems\":[{\"URL\":\"pumps\\\/sewage-pump-systems.html\",\"displayText\":\"Sewage Systems\"},{\"URL\":\"pumps\\\/grinder-pump-systems.html\",\"displayText\":\"Grinder Systems\"},{\"URL\":\"pumps\\\/laundry-drain-pump-systems.html\",\"displayText\":\"Laundry\\\/Drain Systems\"},{\"URL\":\"pumps\\\/effluent-pumps.html\",\"displayText\":\"Effluent Pumps\"},{\"URL\":\"pumps\\\/sump-pump-accessory.html\",\"displayText\":\"Accessories\"}]},{\"URL\":\"stories\\\/316-How-to-Pick-the-Perfect-Sewage-Pump.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_316.jpg\",\"linkItems\":[],\"displayText\":\"How To Pick The Perfect Sewage Pump\"}]},{\"URL\":\"pumps\\\/grinder-pumps.html\",\"displayText\":\"Grinder Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/residential-grinder-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/grinder-10-1.jpg\",\"displayText\":\"Residential\"},{\"URL\":\"pumps\\\/commercial-grinder-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/grinder-10-2.jpg\",\"displayText\":\"Commercial\"},{\"URL\":\"pumps\\\/grinder-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/grinder-10-3.jpg\",\"displayText\":\"Systems\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Brands\",\"linkItems\":[{\"URL\":\"pumps\\\/liberty-grinder-pumps.html\",\"displayText\":\"Liberty Pumps\"},{\"URL\":\"pumps\\\/zoeller-grinder-pumps.html\",\"displayText\":\"Zoeller\"},{\"URL\":\"pumps\\\/bur-cam-grinder-pump.html\",\"displayText\":\"Burcam\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Shop by HP\",\"linkItems\":[{\"URL\":\"pumps\\\/1-2-hp-grinder-pumps.html\",\"displayText\":\"1\\\/2 HP\"},{\"URL\":\"pumps\\\/3-4-hp-grinder-pumps.html\",\"displayText\":\"3\\\/4 HP\"},{\"URL\":\"pumps\\\/1-hp-grinder-pumps.html\",\"displayText\":\"1 HP\"},{\"URL\":\"pumps\\\/2-hp-grinder-pumps.html\",\"displayText\":\"2 HP\"}]},{\"URL\":null,\"type\":\"list\",\"title\":\"Shop by GPH\",\"linkItems\":[{\"URL\":\"pumps\\\/1000-1999-gph-grinder-pumps.html\",\"displayText\":\"1,000 - 1,999 GPH\"},{\"URL\":\"pumps\\\/2000-2999-gph-grinder-pumps.html\",\"displayText\":\"2,000 - 2,999 GPH\"},{\"URL\":\"pumps\\\/3000-3999-gph-grinder-pumps.html\",\"displayText\":\"3,000 - 3,999 GPH\"}]},{\"URL\":\"stories\\\/785-Best-Selling-and-Top-Rated-Grinder-Pumps.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_785.jpg\",\"linkItems\":[],\"displayText\":\"Best-Selling & Top-Rated Grinder Pumps\"}]},{\"URL\":\"pumps\\\/specialty-sump-pumps.html\",\"displayText\":\"Specialty Pumps\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/crawl-space-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/specialty-10-1.jpg\",\"displayText\":\"Crawl Space\"},{\"URL\":\"pumps\\\/effluent-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/specialty-10-2.jpg\",\"displayText\":\"Effluent\"},{\"URL\":\"pumps\\\/elevator-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/specialty-10-3.jpg\",\"displayText\":\"Elevator\"},{\"URL\":\"pumps\\\/laundry-drain-pump-systems.html\",\"imageURL\":\"nav-image\\\/100\\\/specialty-10-4.jpg\",\"displayText\":\"Laundry\\\/Drain\"},{\"URL\":\"pumps\\\/smart-sump-pumps.html\",\"imageURL\":\"nav-image\\\/100\\\/specialty-10-5.jpg\",\"displayText\":\"WiFi\\\/Smart\"},{\"URL\":\"pumps\\\/submersible-utility-sump-pumps.html\",\"imageURL\":\"\",\"displayText\":\"Submersible Utility\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Categories\",\"linkItems\":[{\"URL\":\"pumps\\\/duplex-sump-pumps.html\",\"displayText\":\"Duplex\"},{\"URL\":\"pumps\\\/high-temperature-sump-pumps.html\",\"displayText\":\"High Temperature\"},{\"URL\":\"pumps\\\/cast-iron-sump-pumps.html\",\"displayText\":\"Cast Iron\"},{\"URL\":\"pumps\\\/stainless-steel-sump-pumps.html\",\"displayText\":\"Stainless Steel\"}]}]},{\"URL\":\"pumps\\\/sump-pump-accessory.html\",\"displayText\":\"Sump Pump Accessories\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"pumps\\\/sump-pump-alarms.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-1.jpg\",\"displayText\":\"Alarms\"},{\"URL\":\"pumps\\\/pump-basins.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-2.jpg\",\"displayText\":\"Basins\"},{\"URL\":\"pumps\\\/sump-pump-batteries.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-3.jpg\",\"displayText\":\"Batteries\"},{\"URL\":\"pumps\\\/check-valves.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-4.jpg\",\"displayText\":\"Check Valves\"},{\"URL\":\"pumps\\\/discharge-hoses.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-5.jpg\",\"displayText\":\"Hoses\"},{\"URL\":\"pumps\\\/sump-pump-switches.html\",\"imageURL\":\"nav-image\\\/100\\\/acc-10-6.jpg\",\"displayText\":\"Switches\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Popular Categories\",\"linkItems\":[{\"URL\":\"pumps\\\/agm-batteries.html\",\"displayText\":\"AGM Batteries\"},{\"URL\":\"pumps\\\/alarm-dialers.html\",\"displayText\":\"Alarm Dialers\"},{\"URL\":\"pumps\\\/auxiliary-power-systems.html\",\"displayText\":\"Auxiliary Power Systems\"},{\"URL\":\"pumps\\\/pump-basin-covers.html\",\"displayText\":\"Basin Covers\"},{\"URL\":\"pumps\\\/deep-cycle-sump-pump-batteries.html\",\"displayText\":\"Deep Cycle Batteries\"},{\"URL\":\"pumps\\\/electronic-float-switches.html\",\"displayText\":\"Electronic Switches\"},{\"URL\":\"pumps\\\/float-switches.html\",\"displayText\":\"Float Switches\"},{\"URL\":\"pumps\\\/maintenance-free-sump-pump-batteries.html\",\"displayText\":\"Maintenance Free Batteries\"},{\"URL\":\"pumps\\\/power-out-alarms.html\",\"displayText\":\"Power Out Alarms\"},{\"URL\":\"pumps\\\/pump-bases.html\",\"displayText\":\"Pump Bases\"},{\"URL\":\"pumps\\\/pump-controllers.html\",\"displayText\":\"Pump Controllers\"},{\"URL\":\"pumps\\\/tether-float-switches.html\",\"displayText\":\"Tether Float Switches\"},{\"URL\":\"pumps\\\/vertical-float-switches.html\",\"displayText\":\"Vertical Float Switches\"},{\"URL\":\"pumps\\\/water-alarms.html\",\"displayText\":\"Water Alarms\"}]},{\"URL\":\"stories\\\/101-How-To-Pick-The-Perfect-Sump-Pump.html\",\"type\":\"image\",\"title\":\"Buyer's Guide\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_101.jpg\",\"linkItems\":[],\"displayText\":\"Sump Pump Switch Buyer's Guide\"}]},{\"URL\":\"how-to-library.php\",\"displayText\":\"How-to Library\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":\"stories_info.php?stories_id=101\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_101.jpg\",\"displayText\":\"Sump Pump Buyer's Guide\"},{\"URL\":\"stories_info.php?stories_id=784\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_784.jpg\",\"displayText\":\"Best Sump Pumps\"},{\"URL\":\"stories_info.php?stories_id=1496\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_1496.jpg\",\"displayText\":\"Sump Pump Sizing Calculator\"},{\"URL\":\"stories_info.php?stories_id=336\",\"imageURL\":\"nav-article-image\\\/305\\\/social_img_336.jpg\",\"displayText\":\"Battery Backup Sump Pump Buyer's Guide\"}]},\"subCategories\":[{\"URL\":null,\"type\":\"list\",\"title\":\"Helpful Articles\",\"linkItems\":[{\"URL\":\"stories_info.php?stories_id=80\",\"displayText\":\"Sump Pump Installation Guide\"},{\"URL\":\"stories_info.php?stories_id=1454\",\"displayText\":\"Smart Sump Pump Buyer's Guide\"},{\"URL\":\"stories_info.php?stories_id=724\",\"displayText\":\"Best Primary Sump Pumps\"},{\"URL\":\"stories_info.php?stories_id=104\",\"displayText\":\"Submersible Sump Pump Buyer's Guide\"},{\"URL\":\"stories_info.php?stories_id=75\",\"displayText\":\"Basement Flood Protection\"},{\"URL\":\"stories_info.php?stories_id=335\",\"displayText\":\"Primary Sump Pump Buyer's Guide: 2 Types to Know\"},{\"URL\":\"stories_info.php?stories_id=727\",\"displayText\":\"Best Combination Sump Pumps\"},{\"URL\":\"stories_info.php?stories_id=725\",\"displayText\":\"Best Backup Sump Pumps\"},{\"URL\":\"stories_info.php?stories_id=1037\",\"displayText\":\"Sump Pump Switch Buyer's Guide\"},{\"URL\":\"stories_info.php?stories_id=1369\",\"displayText\":\"Sump Pump Battery Buyer's Guide\"}]},{\"URL\":\"how-to-library.php\",\"type\":\"button\",\"title\":\"Visit Our How-To Library\",\"linkItems\":[],\"displayText\":\"We make buying technical products simple. Get helpful tips and buying advice from our experts.\"}]},{\"URL\":\"pumps\\\/sump-pumps-on-sale.html\",\"displayText\":\"Specials\",\"sectionLinks\":{\"columns\":\"6\",\"linkItems\":[{\"URL\":null,\"imageURL\":null,\"displayText\":\"\"}]},\"subCategories\":[]}],\"USP\":[{\"URL\":\"stories\\\/482-How-To-Get-Free-Shipping-On-Sump-Pumps.html\",\"className\":\"icon-nav-usp-shipping\",\"displayText\":\"Free Shipping\"},{\"URL\":\"stories\\\/357-Top-Sump-Pumps-Worth-Bragging-About.html\",\"className\":\"icon-nav-usp-knowledge\",\"displayText\":\"Expert Knowledge\"},{\"URL\":\"stories\\\/1270-How-to-Finance-Your-Sump-Pump-Purchase.html\",\"className\":\"icon-nav-usp-financing\",\"displayText\":\"Financing\"}]}","siteLinkJSON":"{\"Resources\":{\"How to Library\":{\"href\":\"how-to-library.php\",\"title\":\"Sump Pumps Direct How-To Library\"},\"Product Reviews\":{\"href\":\"reviews.php\",\"title\":\"Customer Reviews on Sump Pumps Direct Products\"},\"Recommendations\":{\"href\":\"stories\\\/357-Top-Sump-Pumps-Worth-Bragging-About.html\",\"title\":\"Product Recommendations\"},\"Weekly Specials\":{\"href\":\"pumps\\\/sump-pumps-on-sale.html\",\"title\":\"Weekly Sump Pumps Direct Specials\"},\"Manuals\":{\"href\":\"stories\\\/396-How-to-Access-Old-Sump-Pump-Manuals.html\",\"title\":\"Manual Lookup\"},\"Service Centers\":{\"href\":\"stories\\\/416-How-to-Find-a-Service-Center-For-Your-Sump-Pump.html\",\"title\":\"Service Centers\"},\"Technical Support\":{\"href\":\"stories\\\/428-How-to-Find-Tech-Support-For-Your-Sump-Pump.html\",\"title\":\"Technical Support\"}},\"Account\":{\"My Account\":{\"href\":\"account.php\",\"title\":\"Login to My Account\"},\"Email Preferences\":{\"href\":\"https:\\\/\\\/www.powerequipmentdirect.com\\\/newsletter_removal.php\",\"title\":\"Email Preferences\"}},\"Customer Service\":{\"Help Center\":{\"href\":\"contact_us.php\",\"title\":\"Help Center\"},\"Return Policy\":{\"href\":\"returns.php\",\"title\":\"Return Policy\"},\"Shipping Policy\":{\"href\":\"stories\\\/518-How-to-Easily-Unload-a-Sump-Pump.html\",\"title\":\"Shipping Policy\"},\"Track Order\":{\"href\":\"ordertracking.php\",\"title\":\"Order Tracking\"},\"Accessibility\":{\"href\":\"stories\\\/1778-Our-Commitment-to-Accessibility.html\",\"title\":\"Accessibility\"}},\"About Us\":{\"Our Story\":{\"href\":\"https:\\\/\\\/www.powerequipmentdirect.com\\\/our-story.php\",\"title\":\"Sump Pumps Direct's Story\"},\"Careers\":{\"href\":\"https:\\\/\\\/www.powerequipmentdirect.com\\\/stories\\\/1924-Job-Openings.html\",\"title\":\"Careers @ Power Equipment Direct\"},\"Newsroom\":{\"href\":\"newsreleases.php\",\"title\":\"Sump Pumps Direct News Center\"}},\"Contact Us\":{\"phone\":\"888-455-4682\",\"hours\":{\"0\":\"M-Th: 8-5 CST\",\"1\":\"Fri: 9-5 CST\",\"2\":\"Sat: Closed\",\"3\":\"Sun: Closed\"}}}","storeLinkJSON":"{\"Air Compressors Direct\":{\"href\":\"https:\\\/\\\/www.aircompressorsdirect.com\\\/\",\"title\":\"Air Compressors Direct\"},\"Chain Saws Direct\":{\"href\":\"https:\\\/\\\/www.chainsawsdirect.com\\\/\",\"title\":\"Chain Saws Direct\"},\"Chippers Direct\":{\"href\":\"https:\\\/\\\/www.chippersdirect.com\\\/\",\"title\":\"Chippers Direct\"},\"eComfort\":{\"href\":\"https:\\\/\\\/www.ecomfort.com\\\/\",\"title\":\"eComfort\"},\"Electric Generators Direct\":{\"href\":\"https:\\\/\\\/www.electricgeneratorsdirect.com\\\/\",\"title\":\"Electric Generators Direct\"},\"Leaf Blowers Direct\":{\"href\":\"https:\\\/\\\/www.leafblowersdirect.com\\\/\",\"title\":\"Leaf Blowers Direct\"},\"Log Splitters Direct\":{\"href\":\"https:\\\/\\\/www.logsplittersdirect.com\\\/\",\"title\":\"Log Splitters Direct\"},\"Mowers Direct\":{\"href\":\"https:\\\/\\\/www.mowersdirect.com\\\/\",\"title\":\"Mowers Direct\"},\"Power Equipment Direct\":{\"href\":\"https:\\\/\\\/www.powerequipmentdirect.com\\\/\",\"title\":\"Power Equipment Direct\"},\"Pressure Washers Direct\":{\"href\":\"https:\\\/\\\/www.pressurewashersdirect.com\\\/\",\"title\":\"Pressure Washers Direct\"},\"Snow Blowers Direct\":{\"href\":\"https:\\\/\\\/www.snowblowersdirect.com\\\/\",\"title\":\"Snow Blowers Direct\"},\"Sump Pumps Direct\":{\"href\":\"https:\\\/\\\/www.sumppumpsdirect.com\\\/\",\"title\":\"Sump Pumps Direct\"},\"Water Pumps Direct\":{\"href\":\"https:\\\/\\\/www.waterpumpsdirect.com\\\/\",\"title\":\"Water Pumps Direct\"}}","socialLinkJSON":"{\"Facebook\":{\"href\":\"https:\\\/\\\/www.facebook.com\\\/SumpPumpsDirect\",\"icon\":\"icon-facebook\",\"title\":\"Facebook\"},\"Twitter\":{\"href\":\"http:\\\/\\\/twitter.com\\\/sumppumpsdirect\",\"icon\":\"icon-twitter\",\"title\":\"Twitter\"},\"Pinterest\":{\"href\":\"http:\\\/\\\/pinterest.com\\\/sumppumpsdirect\\\/\",\"icon\":\"icon-pinterest\",\"title\":\"Pinterest\"},\"YouTube\":{\"href\":\"http:\\\/\\\/www.youtube.com\\\/SumpPumpsDirect\",\"icon\":\"icon-youtube\",\"title\":\"YouTube\"},\"Instagram\":{\"href\":\"https:\\\/\\\/www.instagram.com\\\/powerequipmentdirect\\\/\",\"icon\":\"icon-instagram\",\"title\":\"Instagram\"},\"LinkedIn\":{\"href\":\"https:\\\/\\\/www.linkedin.com\\\/company\\\/power-equipment-direct\\\/\",\"icon\":\"icon-linkedin\",\"title\":\"LinkedIn\"}}","miscLinkJSON":"{\"Manufacturer Login\":{\"href\":\"https:\\\/\\\/www.powerequipmentdirect.com\\\/partnerships\\\/login.php\",\"title\":\"Manufacturer Login\"},\"Terms of Use\":{\"href\":\"terms-of-use.php\",\"title\":\"Terms of Use\"},\"Privacy Policy\":{\"href\":\"privacy.php\",\"title\":\"Privacy Policy\"},\"CA Privacy Rights\":{\"href\":\"privacy.php#californiaPrivacyRights\",\"title\":\"CA Privacy Rights\"},\"copyright\":\"© 2021 Power Equipment Direct. All Rights Reserved\"}","checkoutMiscLinkJSON":"{\"Privacy Policy\":{\"href\":\"privacy.php\",\"title\":\"Privacy Policy\"},\"Terms of Use\":{\"href\":\"terms-of-use.php\",\"title\":\"Terms of Use\"},\"copyright\":\"© 2021 Power Equipment Direct. All Rights Reserved\"}","expertJSON":{"imageURL":"https:\/\/www.powerequipmentdirect.com\/images\/experts\/expert-main-10.png","href":"\/sump-pump-product-expert.php","title":"Contact Jim @ Sump Pumps Direct","expertName":"Jim","expertTitle":"Sump Pump Expert"},"bbbJSON":{"imageURL":"https:\/\/www.powerequipmentdirect.com\/images\/badge-bbb.png","imageAlt":"Better Business Bureau\u00ae","href":"http:\/\/www.bbb.org\/chicago\/business-reviews\/industrial-equipment-and-supplies\/power-equipment-direct-in-bolingbrook-il-57001088","title":"Sump Pumps Direct - A+ Rating - Better Business Bureau\u00ae"},"zipCode":null,"phoneNumber":"888-455-4682","loginToken":"251fa9b2ee06f25cb9f0120063a294ec10af8f7046358252d1c7520c5f1757a6","iterable":"e4b27e68b9c84fbb940829a0a9ee29d7","newNav":true}
We Make Buying Technical Products Simple