Product Locator | Cracker Barrel Cheese

Posted by:

Category:

Comments:

Post Date:


Product Locator | Cracker Barrel Cheese

if (store.length > 0){ for (i = 0; i < store.length; i++) { let storeUrl = getStoreUrl(store[i].getElementsByTagName("NAME")[0].childNodes[0].nodeValue); $("#txtResults").append("

" + store[i].getElementsByTagName("NAME")[0].childNodes[0].nodeValue + "

" + store[i].getElementsByTagName("ADDRESS")[0].childNodes[0].nodeValue + "

" + store[i].getElementsByTagName("CITY")[0].childNodes[0].nodeValue + ", " + store[i].getElementsByTagName("STATE")[0].childNodes[0].nodeValue + " " + store[i].getElementsByTagName("ZIP")[0].childNodes[0].nodeValue + "

" + store[i].getElementsByTagName("PHONE")[0].childNodes[0].nodeValue + " " + storeUrl + "]]>

"); } } else { $("#txtResults").append("") }xmlhttp.open("GET", "https://productlocator.iriworldwide.com/productlocator/servlet/ProductLocatorEngine?clientid=355&productfamilyid=CRAK&producttype=upc&productid=" + upc + "&zip=" + zip + "&searchradius=" + radius, true); xmlhttp.send(); }function getStoreUrl(storeName) { switch (storeName) { case "SUPER TARGET": return "https://www.target.com/"; break; case "TARGET": return "https://www.target.com/"; break; case "WALMART": return "https://www.walmart.com/"; break; case "WALMART NEIGHBORHOOD MARKET": return "https://www.walmart.com/"; break; case "WALMART SUPERCENTER": return "https://www.walmart.com/"; break; case "BJ'S WHOLESALE CLUB": return "https://www.bjs.com/"; break; case "SAM'S CLUB": return "https://www.samsclub.com/"; break; case "GIANT": return "https://giantfood.com/"; break; case "MARTINS": return "https://martinsfoods.com/home"; break; case "STOP & SHOP": return "https://stopandshop.com/"; break; case "ACME MARKET": return "https://www.acmemarkets.com/"; break; case "ALBERTSONS": return "https://www.albertsons.com/"; break; case "SAV-ON": return "https://savonfoodssupermarket.com/"; break; case "JEWEL-OSCO": return "https://www.jewelosco.com/"; break; case "SHAWS": return "https://www.shaws.com/"; break; case "STAR MARKET": return "https://www.starmarket.com/"; break; case "AJ'S FINE FOODS": return "https://www.ajsfinefoods.com/"; break; case "BASHAS": return "https://www.bashas.com/"; break; case "FOOD CITY": return "http://www.myfoodcity.com/)"; break; case "BI-LO": return "https://www.bi-lo.com/"; break; case "BIG Y": return "https://www.bigy.com/"; break; case "FRESH": return "https://www.freshbybrookshires.com/"; break; case "BROOKSHIRE GROCERY": return "https://www.brookshires.com/"; break; case "SUPER 1 FOODS": return "https://www.super1foods.com/"; break; case "FOOD LION": return "https://www.foodlion.com/"; break; case "HANNAFORD": return "https://www.hannaford.com/"; break; case "HARVEYS": return "https://www.harveyssupermarkets.com/"; break; case "DEMOULAS MARKET BASKET": return "https://www.shopmarketbasket.com/"; break; case "DIERBERGS": return "http://www.dierbergs.com/"; break; case "FIESTA MART": return "https://www.fiestamart.com/"; break; case "D'AGOSTINO": return "https://www.dagnyc.com/"; break; case "FOODTOWN": return "https://www.foodtown.com/"; break; case "HEN HOUSE": return "https://www.henhouse.com/"; break; case "GIANT EAGLE": return "https://www.gianteagle.com/"; break; case "HARRIS TEETER": return "https://www.shopharristeeter.com/"; break; case "HOMELAND": return "https://www.homelandstores.com/"; break; case "UNITED SUPERMARKET": return "https://www.unitedsupermarkets.com/"; break; case "HY-VEE": return "https://www.shopharristeeter.com/"; break; case "K-VA-T FOOD CITY": return "https://www.foodcity.com/"; break; case "KINGS SUPERMAKET": return "https://kingsfoodmarkets.com/"; break; case "BAKERS SUPERMARKET": return "https://www.bakersplus.com/"; break; case "CITY MARKETS": return "https://www.citymarket.com/"; break; case "DILLONS": return "https://www.dillons.com/"; break; case "FOOD 4 LESS": return "https://www.food4less.com/"; break; case "FOODS CO": return "https://www.foodsco.net/"; break; case "FRED MEYER": return "https://www.fredmeyer.com/"; break; case "FRY'S FOOD STORE": return "https://www.frysfood.com/"; break; case "GERBES": return "https://www.gerbes.com/"; break; case "KING SOOPERS": return "https://www.kingsoopers.com/"; break; case "KROGER": return "https://www.kroger.com/"; break; case "OWENS SUPERMARKET": return "https://www.owensmarket.com/"; break; case "PAY LESS SUPER MARKET": return "https://www.pay-less.com/"; break; case "QUALITY FOOD CENTER": return "https://www.qfc.com/"; break; case "RALPHS": return "https://www.ralphs.com/"; break; case "SMITHS FOOD & DRUG": return "https://www.smithsfoodanddrug.com/"; break; case "LOWES FOOD STORE": return "https://www.lowesfoods.com/"; break; case "MARIANO'S FRESH MARKET": return "https://www.marianos.com/"; break; case "PRICE CHOPPER": return "https://www.pricechopper.com/"; break; case "PUBLIX": return "https://www.publix.com/"; break; case "RALEY'S": return "https://www.raleys.com/"; break; case "COPPS FOOD CENTER": return "https://www.copps.com/"; break; case "PICK N SAVE": return "https://www.picknsave.com/"; break; case "PAVILIONS": return "https://www.pavilions.com/"; break; case "RANDALLS": return "https://www.randalls.com/"; break; case "SAFEWAY": return "https://www.safeway.com/"; break; case "TOM THUMB": return "https://www.tomthumb.com/"; break; case "VONS": return "https://www.vons.com/"; break; case "FOOD MAXX": return "https://www.foodmaxx.com/"; break; case "LUCKY": return "https://www.luckysupermarkets.com/"; break; case "SAVE MART": return "https://www.savemart.com/"; break; case "SCHNUCKS": return "https://nourish.schnucks.com/"; break; case "D&W FRESH MARKETS": return "https://www.shopdwfreshmarket.com/"; break; case "FAMILY FARE SUPER MARKETS": return "https://www.shopfamilyfare.com/"; break; case "VGS FOOD CENTER": return "https://www.shopvgs.com/"; break; case "STATER BROTHERS": return "https://www.staterbros.com/"; break; case "STRACK & VAN TIL": return "https://strackandvantil.com/"; break; case "FARM FRESH": return "https://www.farmfreshva.com/"; break; case "HORNBACHERS": return "https://www.hornbachers.com/NEW/main-home"; break; case "SHOP N SAVE": return "https://www.shopnsavefood.com/"; break; case "SHOPPERS FOOD WAREHOUSE": return "https://www.shoppersfood.com/"; break; case "P&C FOOD MARKETS": return "https://www.pandcfresh.com/"; break; case "TOPS FRIENDLY MARKETS": return "https://www.topsmarkets.com/"; break; case "SHOPRITE": return "https://www.shoprite.com/"; break; case "WEGMANS": return "https://www.wegmans.com/"; break; case "WEIS MARKETS": return "https://www.weismarkets.com/"; break; case "WINN-DIXIE": return "https://www.winndixie.com/"; break; default: return " "; } }
Source

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *


Related

Posts