Wedding shoe

9 Pins
·
4y
// Definitions java.util.Map motorsPA = ["33707": ['Lighting & Lamps', 'Lights & Lamps'], "33709": ['Fog Light Assemblies', 'Fog Lights & Driving Lights'], "33710": ['Headlight Assemblies', 'Headlights'], "33712": ['Interior Light Assemblies', 'Interior Lights'], "33715": ['Side Marker Light Assemblies', 'Side Marker Lights'], "33716": ['Tail Light Assemblies', 'Tail Lights'], "262208": ['License Plate Light Assemblies', 'License Plate Lights'], "172517": ['Light Bulbs & LEDs', 'Light & Headlight Bulbs'], "33717": ['Turn Signal Light Assemblies', 'Turn Signal Lights']]; java.util.List cBNs = [ "557923", "557932", "584064", "584063", "557936", "557935", "7117875178", "560328", "559075" ]; String strCatId = app_cat_id != null ? app_cat_id.toString():''; def mapMotorsCNOG(catId, conceptName, browseNode){ // protect against double decoding String retConceptName = conceptName.matches("%(?![0-9a-fA-F]{2})") ? conceptName : java.net.URLDecoder.decode(conceptName, 'UTF-8'); retConceptName = retConceptName.replace(motorsPA[catId][0], motorsPA[catId][1]); if(browseNode== null || cBNs.contains(browseNode.toString())==false){ retConceptName = retConceptName.replace('Car & Truck ', ''); } return retConceptName; } // Output logic motorsPA.containsKey(strCatId)? return mapMotorsCNOG(strCatId, concept_name, bnid) + ' for sale | eBay '; :((bnid==1642843)||(bnid==7116419459)||(bnid==7116391826)||(bnid==7116420432)||(bnid==1851980)||(bnid==1853744)||(bnid==1851782)||(bnid==2312341)||(bnid==1865467)||(bnid==1860333)||(bnid==1865479)||(bnid==1853126)||(bnid==1855398)||(bnid==1865097)||(bnid==1855031)||(bnid==1853285)||(bnid==1861080)||(bnid==1865497)||(bnid==1848525)||(bnid==7000259856)||(bnid==7116422300)||(bnid==7116391831)||(bnid==7116422300)||(bnid==56798782)?concept_name+' products for sale | eBay':(app_cat_id == 169291 && aspectNVPairs.contains('Brand=PRADA'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Balenciaga'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Burberry'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Celine'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=CHANEL'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Chlo%C3%A9'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Dior'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Fendi'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Givenchy'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Goyard'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Gucci'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=HERM%C3%88S'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Valentino'))||((app_cat_id == 169291) && aspectNVPairs.contains('Brand=Yves%20Saint%20Laurent'))||(app_cat_id == 169291 && aspectNVPairs.contains('Brand=Louis%20Vuitton'))?concept_name+' | Authenticity Guaranteed | eBay':((app_cat_id == 9355 ||app_cat_id == 80077||app_cat_id == 112529||app_cat_id == 178893) && (aspectNVPairs.contains('Brand=Samsung')))?concept_name+' for Sale | Buy New, Used, & Certified Refurbished from eBay':(metatitle!='')?(metatitle.replace("CONCEPTNAME",concept_name)):(app_cat_id == 15709 && aspectNames.contains('Model') && aspectNames.contains('Silhouette') && aspectNVPairs.contains('Jordan'))? concept_name+' | Authenticity Guaranteed : eBay':( app_cat_id == 15709 && concept_name.contains('Jordan'))?(concept_name.replace(" for Men",""))+' for Sale | Authenticity Guaranteed | eBay':( app_cat_id == 15709 && concept_name.contains('adidas'))||( app_cat_id == 15709 && concept_name.contains('ASICS'))||( app_cat_id == 15709 && concept_name.contains('Nike'))||( app_cat_id == 15709 && concept_name.contains('PUMA'))||( app_cat_id == 15709 && concept_name.contains('Yeezy'))||( app_cat_id == 15709 && concept_name.contains('New'))||( app_cat_id == 15709 && concept_name.contains('Reebok'))||( app_cat_id == 15709 && concept_name.contains('Converse'))||( app_cat_id == 15709 && concept_name.contains('VANS'))? concept_name+' for Sale | Authenticity Guaranteed | eBay':(app_cat_id == 3937 && aspectNames==('Brand'))?concept_name+' for Sale | Shop New & Used Pocket Watches | eBay':(app_cat_id == 9355 && aspectNames.contains('Brand') && aspectNames.contains('Network'))?concept_name+' for Sale | Shop New & Used Cell Phones | eBay':(app_cat_id == 9355 && aspectNames.contains ('Brand') && aspectNames.contains('Model'))?concept_name+' for Sale | Shop New & Used Cell Phones | eBay':(app_cat_id == 11071 && aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used '+concept_name+' | eBay':(app_cat_id == 11071 && aspectNames.contains('Screen')&& aspectNames.contains('Size'))?concept_name+' for Sale | Shop New & Used Televisions | eBay':(app_cat_id == 11071 && aspectNames.contains('Display')&& aspectNames.contains('Technology'))?concept_name+' for Sale | Shop New & Used '+concept_name+' | eBay':(app_cat_id == 111422 && aspectNames.contains('Product') && aspectNames.contains('Family'))?concept_name+' for Sale | Shop New & Used Laptops | eBay':(app_cat_id == 177 && aspectNames.contains('Model'))?concept_name+' for Sale | Shop New & Used Laptops | eBay':(app_cat_id == 175672 && aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Laptop Computers | eBay':(app_cat_id==179697&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Drones | eBay':(app_cat_id==112529&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Headphones | eBay':(app_cat_id==31388&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Digital Cameras | eBay':(app_cat_id==178893&&aspectNames.contains('Brand')&&aspectNames.contains('Model'))?concept_name+' for Sale | Shop New & Used Smart Watches | eBay':(app_cat_id==178893&&bnid!=152159&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Smart Watches | eBay':(app_cat_id==10968)?concept_name+' for Sale | Shop New & Pre-Owned Jewelry | eBay':(app_cat_id==4196)?concept_name+' for Sale | Shop Designer Jewelry | eBay':(app_cat_id==36449&&aspectNames.contains('Body')&&aspectNames.contains('Area'))?concept_name+' for Sale | Shop New & Used '+concept_name+' | eBay':((app_cat_id==185075)||(app_cat_id==185702)||(app_cat_id==185076)||(app_cat_id==155183)||(app_cat_id==185708))?concept_name+' for Sale | Shop Men\'s Athletic Clothes | eBay':(app_cat_id==15709&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop Men\'s Sneakers | eBay':(app_cat_id==11498&&aspectNames.contains('Brand')||app_cat_id==11498&&aspectNames.contains('Style'))?concept_name+' for Sale | Shop New & Used Men\'s Boots | eBay':(app_cat_id==57988&&aspectNames.contains('Brand')||app_cat_id==57988&&aspectNames.contains('Fabric'))?concept_name+' for Sale | Shop New & Used | eBay':(app_cat_id==20614&&aspectNames.contains('Brand')||app_cat_id==20614&&aspectNames.contains('Type'))?concept_name+' for Sale | Shop New & Used Vacuums | ebay':(app_cat_id==3247&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop Cordless & Electric Power Tools | eBay':(app_cat_id==3244&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Hand Tools | eBay':(app_cat_id==33082&&aspectNames.contains('Brand'))?concept_name+' for Sale | Shop New & Used Generators | eBay':(app_cat_id==20637&&aspectNames.contains('Brand'))?concept_name+' for Sale | New & Used Utensils | eBay':(applied_cat_name=='')?concept_name+' products for sale | eBay':concept_name+' for sale | eBay')