Shop online and Save 30% + Free Shipping *Some Exclusions Apply
EN | ES
Your Store & Eye Doctor
Henrico, VA
Change Location
Henrico, VA
Open at 10am EDT
11643 W Broad St Henrico, VA 23233 (804) 433-3949
Store details, offers and insurance plans
Rx Bring in your prescription
FIND ANOTHER STORE
-
GET GLASSES TODAY
- SHOP GLASSES
- Women
- Men
- Youth
- All Frames
- BROWSE BY STYLE
- Classic
- Square
- Round
- Cat-Eye
- Aviator
- Rectangle
- Oval
- Octagon
- CUSTOM SUNGLASSES
- Polarized Gray
- Polarized Brown
- G15 Green
- BROWSE FASHION TINTS
- Gray Tint
- Brown Tint
- Green tint
- Blue Tint
- Yellow Tint
- Lavender Tint
- Rose Tint
- SPECIALTY GLASSES
- Safety Glasses
- Sunglasses
- BROWSE BY COLOR
- Black
- Tortoise
- Red
- White
- Blue
- Green
- Purple
- Clear
- Grey
- Yellow
- Silver
- Gold
- Gunmetal
" "
-
BRANDS
- DESIGNER
- Burberry
- Calvin Klein
- Coach
- Longchamp
- Michael Kors
- Oakley
- Polo
- Ray Ban
- Versace
- See ALL
- BEST SELLERS
- Flexon
- Geek
- Halston
- Kay Unger
- Nike
- PeaceLove
- Shaquille O'Neal
- Stetson
- Via Spiga
- Wide Guyz
- EYEMART EXPRESS EXCLUSIVES
- Brooklyn
- High Street
- Lazzaro
- Quill
- Volo
- See ALL
- BROWSE VALUE
- Plastic
- Metal
- Show ALL
- BROWSE SPOTLIGHT BRANDS
" "
-
LEARN
- HOW TO SHOP ONLINE
- How to Order Glasses
- How to Read Your Prescription
- OUR LENSES
- Lenses and Lens Materials
- UltraxHD Lenses
- Blue Light Blocking Lenses
- AFFINITY PROGRAMS
- Military Discount
- School Faculty and Staff
- First Responders
- WARRANTY, RETURNS AND EXCHANGES
- One Year Frame Warranty
- Platinum Protection
- Returns and Exchanges
- Restyle
- ABOUT US
- Our Culture
- Our History
- Our Leadership
- All in One Place
- Careers
- Todo En Un Lugar
" "
- INSURANCE
- EYE EXAMS
-
Try searching by product brand, model, SKU or color.
No Results Found.
- Login
Está a punto de ingresar a una página que solo existe en Inglés. Agradecemos su paciencia mientras mejoramos nuestro sitio. Disculpe las molestia.
- Search Account
MENU HOME Login Insurance EYE EXAMS
Get Glasses Today Women Men Youth All Frames
Browse By
Specialty Glasses Safety Glasses Sunglasses
STYLE Classic Square Round Cat-Eye Aviator Rectangle Oval Octagon
Material Metal Plastic Titanium
Color Black Tortoise Red White Blue Green Purple Clear Grey Yellow Silver Gold Gunmetal
Sunglasses Ready to Wear
Tints Gray Tint Brown Tint Green tint Blue Tint Yellow Tint Lavender Tint Rose Tint
BRANDS BROWSE SPOTLIGHT BRANDS
Browse By
Designers Burberry Calvin Klein Coach Longchamp Michael Kors Oakley Polo Ray Ban Versace See ALL
Sellers Flexon Geek Halston Kay Unger Nike PeaceLove Shaquille O'Neal Stetson Via Spiga Wide Guyz
Exclusive Brooklyn High Street Lazzaro Quill Volo See ALL
Value Plastic Metal Show ALL
LEARN
Shop How to Order Glasses How to Read Your Prescription
Lenses Lenses and Lens Materials UltraxHD Lenses Blue Light Blocking Lenses
Affinity Military Discount School Faculty and Staff First Responders
Warranty One Year Frame Warranty Platinum Protection Returns and Exchanges Restyle
About Our Culture Our History Our Leadership All in One Place Careers Todo En Un Lugar
Swing by for an eye exam next door, pick from over 2000 frames, and have your glasses in hand with free same-day speed—all in one place, all in one day.
FIND A LOCATION NEAR YOU
Eye Exams Available Next Door
We’re partnered* with talented, professional eye doctors—setting them up next door so you can have a hassle-free, all-in-one-place experience every time you visit. They’re happy to take walk-ins and, in most cases, can see you immediately!
*Eye exams are available by an Independent Doctor of Optometry next to our stores in most states. Doctors in some states are employed by Eyemart Express LLC.
We’re Here To Help
With over 2000 frames available, our friendly store associates are here to help narrow down your favorites. Asking good questions and genuinely getting to know you are just a few ways they'll help you find your perfect frames.
Free Same-Day Speed
For over 30 years, we’ve offered free same-day speed. Our in-store, highly skilled lens techs prepare your glasses as quickly and carefully as possible, meaning most orders—even progressives—are ready the same day, completely free of charge, with quality guaranteed.
*Free same-day speed excludes special orders.
FIND A LOCATION NEAR YOU
\n \n \n
';n.forEach((function(e){var t=e.closest("[cartline-id]"),n=t.querySelector("img"),s=t.querySelector(".brand").innerText,a=t.querySelector(".item_name").innerText,c='\n
\n \n
\n
'+s+'
\n
'+a+"
\n
\n
\n ";o+=c})),o+="
\n
\n
The following items are not in stock at '+document.querySelector(".pick-up-at").innerText+"
\n "+o+'\n
\n \n Convert to online order\n
\n
';return t+=e.map((function(e){return"\n \n "})).join(""),t+='\n
\n \n '})),page("browse.components.nav.filters.mobile",(function(e){var t=document.querySelector(".nav-mobile-container");"close"===e?(t.classList.remove("active"),document.body.style.position="relative",document.body.style.pointerEvents="all",t.style.pointerEvents="all",buffer((function(){t.classList.add("hidden")}),400,"close-mobile-filter")):(components.scrollTo(),t.classList.remove("hidden"),document.body.style.pointerEvents="none",t.style.pointerEvents="all",buffer((function(){t.classList.add("active"),document.body.style.position="fixed"}),250,"open-mobile-filter"))})),page("browse.components.nav.disableAllNavTags",(function(e){try{Object.keys(page.browse.components.nav.navElements).forEach((function(e){var t=page.browse.components.nav.navElements[e].element;t&&"none"===t.parentElement.parentElement.style.display&&t.classList.add("disabled")}))}catch(e){}e&&e()})),page("browse.components.nav.enableNavTags",(function(e){page.browse.components.nav.disableAllNavTags((function(){e.forEach((function(e){try{page.browse.components.nav.navElements[e].element.classList.remove("disabled")}catch(e){}}))}))})),page("browse.components.nav.getSelectedTags",(function(e){var t={id:[],name:[]};return document.querySelectorAll(".multi-nav-link-box.filled").forEach((function(e){var n=e.closest(".multi-nav-link"),o=n.getAttribute("data-tag-name"),s=n.getAttribute("data-tag-id");t.id.push(parseInt(s)),t.name.push(o)})),t})),page("browse.components.nav.removeAll",(function(){var e=page.browse.components.nav.getSelectedTags();page.browse.components.nav.toggleTag(e.name,"off")})),page("browse.components.nav.toggleTag",(function(e,t){if("object"===(void 0===e?"undefined":_typeof(e)))return e.forEach((function(e){return page.browse.components.nav.toggleTag(e.trim(),t)}));if(e.indexOf(",")>0)return e.trim().split(",").forEach((function(e){return page.browse.components.nav.toggleTag(e.trim(),t)}));var n=document.querySelector('[data-tag-name="'+e+'"] .multi-nav-link-box'),o=document.querySelector('.nav-mobile [data-tag-name="'+e+'"]');n&&(n.closest(".multi-nav-link").classList.contains("disabled")||setTimeout((function(){"on"===t?(n.classList.add("filled"),o.classList.add("filled")):"off"===t?(n.classList.remove("filled"),o.classList.remove("filled")):(n.classList.contains("filled")?n.classList.remove("filled"):n.classList.add("filled"),o.classList.contains("filled")?o.classList.remove("filled"):o.classList.add("filled")),buffer((function(){var e=page.browse.components.nav.getSelectedTags(),t=function(){return history.replaceState({},null,location.origin+"/browse/Men"+location.search)},n=function(){return history.replaceState({},null,location.origin+"/browse/Women"+location.search)},o=function(){return history.replaceState({},null,location.origin+"/browse/Youth"+location.search)},s=function(){return history.replaceState({},null,location.origin+"/browse"+location.search)};e.name.includes("Men")?t():e.name.includes("Women")?n():e.name.includes("Youth")?o():s(),components.search.tags_found.id=e.id,components.search.tags_found.name=e.name;var a=e.name.join(",").replace(/Men|Women|Youth/gi,"").split(",").filter(Boolean).join(",");a.length>0?Parameter.set("tags",a):Parameter.check("tags")&&Parameter.remove("tags"),Parameter.set("page",1),page.browse.components.nav.query(),page.browse.components.nav.checkForReset(),page.browse.components.nav.filters.init(e.name.sort()),document.querySelector(".filter-button .count").innerText=e.name.length,!mq("DESKTOP")&&components.database.connect((function(e){var t=e.results.length;document.querySelector(".found-frames").innerHTML=""+t+" Frames",components.checkScrollX(".nav-mobile .filters",50)}))}),20,"toggle tag")}),100))})),components("search.goToPage",(function(e,t){var n=parseInt(Parameter.get("page"))||1,o=components.search.elements.searchElement.value;if("next"===t?n++:n--,t||((n=parseInt(e.value)?parseInt(e.value):1)<1&&(n=1),n>components.database.db.totalPages&&(n=components.database.db.totalPages)),components.scrollTo(".navigation"),Parameter.set("page",n),o.length>0?components.search.query(o,n):page.browse.components.nav.query(n),components.search.default)return components.database.queries.getAll(n)})),components("search.notFound",(function(){components.search.elements.content.innerHTML='
No Results Found!
',document.querySelector(".top-options").classList.add("hidden"),document.querySelector(".pagination").classList.add("hidden")})),components("search.orderColors",(function(e,t){var n=t||components.search.elements.searchElement.value,o=e[0].color1.toLowerCase(),s=e[0].color2.toLowerCase();if(o.indexOf(n)<0&&s.indexOf(n)<0)for(var a=1;a';e.forEach((function(e,n){var o=void 0;components.search.tags_found.name.forEach((function(e){components.search.colors[e.toLowerCase()]&&(o=e.toLowerCase())})),o&&components.search.orderColors(e,o),t+=page.browse.components.frameBox.create(e)})),t+="
",components.search.resultsText(),document.querySelector("#search-content").innerHTML=t,page.browse.components.GTM(),components.onkeypressHandler()})),page("browse.find.designer.init",(function(){})),page("browse.details.components.checkout.init",(function(e){var t=window.SKU;window.api=window.api||e,components.cache.local.checkout=components.cache.local.checkout||{},$this.cache=components.cache.local.checkout,$this.cache[t]=$this.cache[t]||{},$this.cache[t][1]=$this.cache[t][1]||{selected:""},$this.cache[t][2]=$this.cache[t][2]||{selected:""},$this.cache[t][3]=$this.cache[t][3]||{selected:""},$this.cache[t][4]=$this.cache[t][4]||{selected:""},$this.cache=$this.cache[t],components.cache.save(),$this.checkout.shipOrPickupInit(),$this.checkout.observers.init(),$this.checkout.steps[1].init()})),page("browse.details.components.checkout.resetCache",(function(e){$this.cache[1]={selected:""},$this.cache[2]={selected:""},$this.cache[3]={selected:""},$this.cache[4]={selected:""},components.cache.save()})),page("browse.details.components.checkout.shipOrPickupInit",(function(){if(document.querySelector(".ship-or-pickup")){var e=window.SKU;if(document.querySelector(".ship-or-pickup .pickup").classList.remove("disabled"),document.querySelector(".ship-or-pickup .ship").classList.remove("disabled"),document.querySelector(".ship-or-pickup .pickup .error").classList.add("hidden"),Parameter.check("opus")&&$this.checkout.resetCache(),api.skus[e].eligible&&api.cartIsOpus&&document.querySelector(".ship-or-pickup .pickup").click(),!api.skus[e].eligible){var t="Not in Stock";api.skus[e].reasons.eligiblePrescription||(t="Pickup Unavailable"),api.skus[e].reasons.notRimless||(t="Rimless frames are not available for pick up"),document.querySelector(".ship-or-pickup .pickup .error").classList.remove("hidden"),document.querySelector(".ship-or-pickup .pickup .error").innerText=t,document.querySelector(".ship-or-pickup .pickup").classList.add("disabled"),document.querySelector(".ship-or-pickup .ship").click()}Parameter.check("opus")&&document.querySelector(".ship-or-pickup .pickup").click()}})),page("browse.details.components.checkout.shipOrPickupToggle",(function(e){e.classList.contains("active")||e.classList.contains("disabled")||(e.classList.contains("ship")?(document.querySelector(".ship-or-pickup .ship").classList.add("active"),document.querySelector(".ship-or-pickup .pickup").classList.remove("active"),document.querySelector("#configure-glasses").classList.remove("opus"),Parameter.remove("opus"),api.cartIsOpus&&components.modal.laravel("page.browse.details.checkout.modals.cart-is-opus",{size:"sm",prevent:!0})):function(){if(document.querySelector(".ship-or-pickup .pickup").classList.add("active"),document.querySelector(".ship-or-pickup .ship").classList.remove("active"),document.querySelector("#configure-glasses").classList.add("opus"),Parameter.set("opus",!0),$this.checkout.resetCache(),$this.checkout.steps.lock(2),$this.checkout.steps.lock(3),$this.checkout.steps.lock(4),$this.checkout.steps[1].init(),!api.cartIsOpus&&!api.cartIsOpusEligible)return void components.modal.laravel("page.browse.details.checkout.modals.cart-is-online",{size:"sm",prevent:!0});document.querySelector('#step-1 [aria-expanded="true"]')||$this.checkout.steps.show(1)}())})),page("browse.details.components.data.init",(function(e){page.browse.details.components.data.measurements(e.measurements),page.browse.details.components.data.checkHomestoreInventory(),components.database.connect((function(t){page.browse.details.components.data.description(e),page.browse.details.components.data.addToCartButton(e),page.browse.details.components.additional(e,t)}))})),page("browse.details.components.data.addToCartButton",(function(e){document.querySelector("#loading-btn").classList.add("hidden"),components.auth.check()&&components.database.isSkuRecommended(e.sku)?document.querySelector("#add-to-cart-btn").classList.remove("hidden"):document.querySelector("#find-store-btn").classList.remove("hidden")})),page("browse.details.components.additional",(function(e,t){var n=Parameter.get("tint")||"clear";e.additional&&e.additional.length>=1?components.cacheSKUs(e.additional,(function(o){var s='Additional Colors
',a={};e.additional.forEach((function(e){var n=o[e];if(components.auth.check((function(){t.recommendations.includes(n.product_id)&&(a[e]=!0)})),t.itemsHidden[n.product_id]){var s=collect(t.itemsHidden[n.product_id]).where("sku",e).first();s&&1===s.display_show&&(a[e]=!0)}else a[e]=!0})),s+="\n \n "+(o=Object.keys(a)).map((function(e){return'\n \n \n \n '})).join("")+"\n \n ",s+="
",document.querySelector("#additional").innerHTML=s})):document.querySelector(".pdp hr").classList.add("invisible")})),page("browse.details.components.data.checkHomestoreInventory",(function(){var e=document.querySelector("#availability");function t(t,n){if(n)return e.innerHTML='Not in Stock';e.innerHTML='\n Not in Stock at \n '+t.city+", "+t.state+"\n Change Store\n "}e&&httpRequest.post("/store/has-sku",{sku:SKU,store_number:getCookie("homestore")?getCookie("homestore"):500},(function(n){200===n.status&&n.inStock?function(t){e.innerHTML='\n In Stock at \n '+t.city+", "+t.state+"\n Change Store\n "}(n):t(n)}),(function(e){t(e,"failed")}))})),page("browse.details.components.data.description",(function(e){components.database.db.online_exclusive.includes(e.sku)&&document.querySelector("#online-only").classList.remove("hidden"),document.querySelector("#brand").innerText=e.brand,document.querySelector("#name").innerText=e.name,document.querySelector("#description").innerText=e.description,document.querySelector("#gender").innerText=e.gender,document.querySelector("#material").innerText=e.material,document.querySelector("#color").innerText=e.color1+", "+e.color2,components.auth.check()&&(document.querySelector("#discount_price").innerText="$"+e.price,e.map_policy||(document.querySelector("#discount_percentage").innerText=parseInt(e.discount))),components.auth.check()&&components.database.isSkuRecommended(e.sku)?(document.querySelector("#discount_price").innerText="$"+e.price,document.querySelector("#discount_price").classList.remove("hidden"),e.map_policy||(document.querySelector("#discount_percentage").innerText=parseInt(e.discount),document.querySelector("#save-container").classList.remove("hidden"))):document.querySelector("#discount_price").innerText="",components.auth.check()&&e.map_policy?(document.querySelector(".map-policy-check").classList.remove("hidden"),document.querySelector(".retail_price-container").classList.add("hidden")):document.querySelector("#retail_price").innerText=e.retail_price})),page("browse.details.components.data.measurements",(function(e){document.querySelector("#bridge_width").innerText=e[0]+"mm",document.querySelector("#lens_width").innerText=e[1]+"mm",document.querySelector("#lens_height").innerText=e[2]+"mm",document.querySelector("#temple_length").innerText=e[3]+"mm"})),page("browse.details.components.images.init",(function(e,t){e=e||window.SKU,t=t||Parameter.get("tint")||"clear",document.querySelectorAll(".images .preview").forEach((function(n){var o=n.getAttribute("data-angle"),s=components.image[t](e)[o],a=components.image[t](e,"2x")[o];n.setAttribute("bg-image",s),document.createElement("img").src=a})),Parameter.set("tint",t),page.browse.details.components.tint.init(),page.browse.details.components.images.setLargeImage(),components.backgroundImage()})),page("browse.details.components.images.select",(function(e){if(!e.classList.contains("active")){if(document.querySelector(".images .active").classList.remove("active"),e.classList.add("active"),e.classList.contains("measurement"))return document.querySelector(".large-image [bg-image]").classList.add("hidden"),void(e=document.querySelector(".large-image .measurements")).classList.remove("hidden");var t=e.getAttribute("data-angle"),n=Parameter.get("tint")||"clear",o=window.SKU,s=components.image[n](o,"2x")[t];document.querySelector(".large-image .measurements").classList.add("hidden"),(e=document.querySelector(".large-image [bg-image]")).classList.remove("hidden"),e.style.backgroundImage="url("+s+")"}})),page("browse.details.components.images.setLargeImage",(function(){var e=document.querySelector(".images .preview.active").getAttribute("data-angle"),t=window.SKU,n=Parameter.get("tint"),o=components.image[n](t,"2x")[e];document.querySelector(".large-image [bg-image]").setAttribute("bg-image",o),components.backgroundImage()})),page("browse.details.components.tint.init",(function(){var e=Parameter.get("tint")||"clear";document.querySelector('.tint-selector input[value="'+e+'"]').checked=!0})),page("browse.safety.details.init",(function(){window.SKU=location.pathname.split("/").pop();var e=[data.bridge_width,data.a_measurement,data.b_measurement,data.temple_length];"M"===data.gender&&(data.gender="Men"),"F"===data.gender&&(data.gender="Women"),"C"===data.gender&&(data.gender="Youth"),page.browse.details.components.images.init(SKU),page.browse.details.components.data.description(window.data),page.browse.details.components.data.measurements(e),document.querySelector("#loading-btn").classList.add("hidden"),document.querySelector("#find-store-btn").classList.remove("hidden")})),components("toast.userLocation.detect.no",(function(e){components.cache.session.askedUserForLocation=!0,components.cache.save(),components.toast.hide()})),components("toast.userLocation.detect.yes",(function(e){components.determineLocation((function(e,t){httpRequest.post("/setHomestoreFromLatLon",{lat:e,lon:t},(function(e){200===e.status&&(components.cache.local.confirmedLocation=!0,components.cache.save(),setCookie("homestore",e.store_number,30),setCookie("homestoreset",1,30),components.toast.userLocation.cb&&components.toast.userLocation.cb())})),components.toast.page("thank-you"),setTimeout(components.toast.hide,1500)}))})),components("toast.userLocation.detected.no",(function(e){components.toast.page("ask-for-location")})),components("toast.userLocation.detected.yes",(function(e,t){e.classList.add("disabled"),e.innerHTML='',e.parentElement.lastElementChild.classList.add("disabled"),httpRequest.post("/setHomestoreFromLatLon",t,(function(e){setCookie("homestore",e.store_number,30),setCookie("homestoreset",1,30)})),components.cache.local.confirmedLocation=!0,components.cache.save(),components.toast.page("thank-you"),setTimeout(components.toast.hide,1500),components.toast.userLocation.cb&&components.toast.userLocation.cb()})),page("account.prescriptions.add.components.cropperJS.init",(function(e){var t=document.querySelector("#add-prescription-button");try{window.crp.destroy()}catch(e){}window.cropper_image=e,window.ObjectURL=window.URL.createObjectURL(e.files[0]);var n=document.getElementById("input-image");n.src=window.ObjectURL,Defer.css("https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.6/cropper.min.css",(function(){Defer.js("https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.6/cropper.min.js",(function(){t.innerHTML='Added ',t.classList.add("uploaded"),document.querySelector("#prescription-preview").classList.remove("hidden"),window.crp=new Cropper(n,{viewMode:1,autoCropArea:1})}))}))})),page("account.prescriptions.add.components.cropperJS.save",(function(e){(e=e||window.event).preventDefault();var t=document.querySelector(".prescription_form"),n=t.querySelector('[type="submit"]'),o="";if(!n.classList.contains("disabled")){if(!document.querySelector("#add-prescription-button.uploaded"))return $this.errorMessage("Prescription image is required.");n.classList.add("disabled"),n.value="Please Wait...";try{o=crp.getCroppedCanvas({width:1920,height:1080}).toDataURL("image/jpeg")}catch(e){$this.errorMessage("Incorrect Image Format"),n.classList.remove("disabled"),n.value="Submit"}var s={image:o};httpRequest.post("/account/prescriptions/add?"+serialize(t),s,(function(e){200===e.status&&(window.crp.destroy(),location.href="/account/prescriptions?submit=true",console.log(e))}),(function(e){$this.errorMessage(e.message),n.classList.remove("disabled"),n.value="Submit"}))}})),page("browse.details.components.checkout.observers.init",(function(){$this.checkout.observers.updateTotal()})),page("browse.details.components.checkout.observers.updateTotal",(function(){function e(e){var t=document.querySelector(e),n=t.getAttribute("retail-price")?t.getAttribute("retail-price"):0,o=n-n*parseFloat(api.settings.discount);return{retail:parseFloat(n),discounted:parseFloat(o)}}components.observe.attributes(".step-price",(function(t){var n=e("#step-1 .step-price"),o=e("#step-2 .step-price"),s=e("#step-3 .step-price"),a=e("#step-4 .step-price");components.cacheSKUs(SKU,(function(e){"object"!==_typeof(e[SKU])&&(e[SKU]=JSON.parse(e[SKU]));var t=n.retail+o.retail+s.retail+a.retail+parseFloat(e[SKU].retail_price),c=n.discounted+o.discounted+s.discounted+a.discounted+parseFloat(e[SKU].price);document.querySelectorAll(".total-price").forEach((function(e){return e.innerText="$"+c.format(2)})),document.querySelectorAll(".retail-price").forEach((function(e){return e.innerText="$"+t.format(2)})),document.querySelector("#step-1 .step-price").innerText="+$"+n.discounted.format(2),document.querySelector("#step-2 .step-price").innerText="+$"+o.discounted.format(2),document.querySelector("#step-3 .step-price").innerText="+$"+s.discounted.format(2),document.querySelector("#step-4 .step-price").innerText="+$"+a.discounted.format(2)}))}))})),page("browse.details.components.checkout.steps.addToCart",(function(e){e.classList.add("disabled");var t=$this.checkout.steps.getData(),n=Parameter.set("sku",t[1],"/checkout");Parameter.check("opus")&&(t.opus=!0),httpRequest.post(n,t,(function(t){if(200===t.status){var n=Parameter.set("warranty",t.cart_line_id,location.origin+"/account/cart");n=Parameter.set("from-builder",!0,n),location.href=n}else{var o=dev?t.message:"Invalid Selection",s=t.step||1;$this.checkout.steps.showError(s,o),e.classList.remove("disabled")}}),(function(e){console.log(e)}))})),page("browse.details.components.checkout.steps.clear",(function(e){document.querySelectorAll("#step-"+e+"-content input:checked").forEach((function(e){e.checked=!1})),$this.cache[e]={},components.cache.save()})),page("browse.details.components.checkout.steps.getData",(function(e){var t={2:{}};return t[1]=$this.cache[1].selected||SKU,t[2].style=$this.cache[2].style,t[2].tint=$this.cache[2].tint,t[3]=$this.cache[3].selected.replace("_","-"),t[4]=$this.cache[4].selected.replace("_","-"),t.id=!!Parameter.check("id")&&Parameter.get("id"),t})),page("browse.details.components.checkout.steps.lock",(function(e){if(document.querySelector("#step-"+e).classList.add("disabled"),document.querySelector("#step-"+(e-1)+"-content .navigation").classList.add("disabled"),document.querySelector("#step-"+e+" .step-name .selected").innerText="",document.querySelectorAll("#step-"+e+"-content input:checked").forEach((function(e){e.checked=!1})),1!==e)try{$this.checkout.steps[e].reset()}catch(e){console.error(e)}$this.cache[e-1]={},components.cache.save()})),page("browse.details.components.checkout.steps.show",(function(e){if(1!==e&&!$this.checkout.steps.unlock(e))return!1;var t=document.querySelector('[aria-controls="step-'+e+'-content"]'),n=document.querySelector('[aria-expanded="true"]');t.parentElement.classList.contains("disabled")||(n.setAttribute("aria-expanded","false"),n.nextElementSibling.setAttribute("aria-hidden","true"),t.setAttribute("aria-expanded","true"),t.nextElementSibling.setAttribute("aria-hidden","false"),$this.checkout.steps[e].init(),mq("DESKTOP")&&components.scrollTo("#configure-glasses-container",600),!mq("DESKTOP")&&components.scrollTo("#configure-glasses-container",50,-250),document.querySelector(".total-desktop").style.transform="translateY("+66*(e-1)+"px)")})),page("browse.details.components.checkout.steps.showError",(function(e,t){var n=document.querySelector(".step-"+e+"-error");n.innerText=t,components.scrollTo("#step-"+e),$this.checkout.steps.show(e),n.slideDown()})),page("browse.details.components.checkout.steps.unlock",(function(e){return!(1!==e&&!$this.checkout.steps[e-1].validate())&&(document.querySelector("#step-"+e).classList.remove("disabled"),document.querySelector("#step-"+(e-1)+"-content .navigation").classList.remove("disabled"),document.querySelector(".step-"+(e-1)+"-error")&&document.querySelector(".step-"+(e-1)+"-error").classList.add("hidden"),!0)})),page("browse.details.components.checkout.steps.1.init",(function(){try{document.querySelector('#step-1-content [sku="'+($this.cache[1].selected||SKU)+'"]').checked=!0,$this.cache[1].selected=$this.cache[1].selected||SKU,components.cache.save(),$this.checkout.steps[1].render();try{$this.checkout.steps[4].init(),$this.checkout.steps[3].init(),$this.checkout.steps[2].update()}catch(e){}$this.checkout.steps.unlock(2),$this.checkout.steps.unlock(3),$this.checkout.steps.unlock(4)}catch(e){$this.cache[1].selected="",components.cache.save(),$this.checkout.steps.lock(2),$this.checkout.steps.lock(3),$this.checkout.steps.lock(4)}})),page("browse.details.components.checkout.steps.1.render",(function(){var e=$this.cache[1].selected||SKU;document.querySelectorAll(".frame-preview img").forEach((function(t){t.src=components.image.clear(e).open})),document.querySelector("#step-1 .step-name .selected").innerText=document.querySelector("#step-1-content input:checked").nextElementSibling.innerText})),page("browse.details.components.checkout.steps.1.select",(function(e){var t=e.getAttribute("sku");if(history.replaceState(null,null,location.href.replace(window.SKU,t)),window.SKU=t,$this.cache[1].selected&&$this.cache[1].selected===t)return!1;$this.checkout.steps.lock(2),$this.checkout.steps.lock(3),$this.checkout.steps.lock(4),$this.checkout.shipOrPickupInit(),$this.cache[1].selected=t,components.cache.save(),$this.checkout.steps[1].render(),$this.checkout.steps.unlock(2),page.browse.details.components.images.init(t)})),page("browse.details.components.checkout.steps.1.validate",(function(){return!!$this.cache[1].selected.match(/\d{12}/)})),page("browse.details.components.checkout.steps.2.init",(function(){try{$this.checkout.steps[2].update()}catch(e){$this.checkout.steps.lock(3),$this.checkout.steps.lock(4)}})),page("browse.details.components.checkout.steps.2.changeImage",(function(){var e=$this.cache[1].selected,t=$this.cache[2].style,n=$this.cache[2].tint||"clear";document.querySelectorAll(".frame-preview img:first-child").forEach((function(t){return t.src=components.image[n](e).open})),document.querySelectorAll(".frame-preview img:last-child").forEach((function(t){return t.src=components.image.clear(e).open})),"photochromic"===t?document.querySelectorAll(".frame-preview").forEach((function(e){return e.classList.remove("stop")})):document.querySelectorAll(".frame-preview").forEach((function(e){return e.classList.add("stop")}))})),page("browse.details.components.checkout.steps.2.reset",(function(){document.querySelector(".step-2-content-wrapper[show]").setAttribute("show",""),document.querySelector(".frame-preview").classList.remove("active"),document.querySelector(".frame-preview img:first-child").src=components.image.clear($this.cache[1].selected||SKU).open,document.querySelector(".frame-preview img:last-child").src=components.image.clear($this.cache[1].selected||SKU).open,document.querySelector(".frame-preview").classList.add("stop"),document.querySelector("#step-2 .step-price").setAttribute("retail-price",0)})),page("browse.details.components.checkout.steps.2.selectLensStyle",(function(e){var t=e.getAttribute("data-style");"clear"===t?("clear"===$this.cache[2].style&&"clear"===$this.cache[2].tint||($this.checkout.steps.lock(3),$this.checkout.steps.lock(4)),$this.cache[2].style="clear",$this.cache[2].tint="clear",components.cache.save(),$this.checkout.steps[2].update(),$this.checkout.steps.unlock(3)):($this.checkout.steps.lock(3),$this.checkout.steps.lock(4),$this.cache[2].style=t,$this.cache[2].tint="",components.cache.save(),$this.checkout.steps[2].update())})),page("browse.details.components.checkout.steps.2.setPrice",(function(){var e=document.querySelector("#step-2 .step-price"),t=$this.cache[2].style;if(t){var n=parseFloat(api.prices[t].price);e.setAttribute("retail-price",n)}else e.setAttribute("retail-price",0)})),page("browse.details.components.checkout.steps.2.tintSelector",(function(e){var t=e.value;$this.cache[2].tint=t,components.cache.save(),$this.checkout.steps[2].update(),$this.checkout.steps.clear(3),$this.checkout.steps.clear(4),$this.checkout.steps.unlock(3),$this.checkout.steps.lock(4)})),page("browse.details.components.checkout.steps.2.update",(function(){var e=$this.cache[2].style,t=$this.cache[2].tint;if(e){if(document.querySelector("#step-2 [show]").setAttribute("show",e),document.querySelector('#step-2 input[data-style="'+e+'"]').checked=!0,$this.checkout.steps[2].setPrice(),$this.checkout.steps[2].changeImage(),document.querySelector("#step-2 .step-name .selected").innerText=e.toUpperCase(),t&&"clear"!==t)document.querySelector('#step-2 input[value="'+t+'"]').checked=!0,document.querySelector("#step-2 .step-name .selected").innerText=e.toUpperCase()+" - "+t.toUpperCase(),$this.checkout.steps.unlock(3);else{var n=document.querySelector(".tint-selector input:checked");n&&(n.checked=!1),$this.checkout.steps.unlock(3)}"clear"===t&&($this.checkout.steps.unlock(3),$this.checkout.steps.unlock(4))}})),page("browse.details.components.checkout.steps.2.validate",(function(){var e=$this.cache[2].style,t=$this.cache[2].tint;return!!((e&&e.length)>0&&t&&t.length>0)})),page("browse.details.components.checkout.steps.3.init",(function(){var e=$this.cache[2].style,t=$this.checkout.steps[3].getPrescriptionType(),n=api.prices[e];if($this.checkout.steps[3]["init_"+t](n),document.querySelector(".input.hd").classList.contains("disabled")){var o=document.querySelector(".input.sd input");return o.checked=!0,void $this.checkout.steps[3].select(o)}if("brown"!==$this.cache[2].tint||"photochromic"!==$this.cache[2].style||"progressive"!==t&&"bifocal"!==t?(document.querySelector("[data-type='sd']").disabled=!1,document.querySelector("[data-type='sd'] + label").classList.remove("not-available")):(document.querySelector("[data-type='sd']").disabled=!0,document.querySelector("[data-type='sd']").checked=!1,document.querySelector("[data-type='sd'] + label").classList.add("not-available")),$this.cache[3].selected){var s=document.querySelector('[data-prescription="'+$this.cache[3].selected+'"]');s&&(s.checked=!0,$this.checkout.steps[3].select(s))}})),page("browse.details.components.checkout.steps.3.getPrescriptionType",(function(){var e=api.prescriptionType;return e.indexOf("sv")>=0?"sv":e.indexOf("progressive")>=0?"progressive":e.indexOf("bifocal")>=0?"bifocal":void 0})),page("browse.details.components.checkout.steps.3.getPrice",(function(e){var t={},n=$this.cache[2].style,o=!1;try{o=parseFloat(api.prices[n][e].price)}catch(e){return!1}return t.discounted=parseFloat((o-o*api.settings.discount).toFixed(2)),t.original=o,t})),page("browse.details.components.checkout.steps.3.init_bifocal",(function(e){document.querySelector(".bifocal").classList.remove("hidden");var t=document.querySelector(".input.sd input"),n=document.querySelector(".input.hd input");t.setAttribute("data-prescription","bifocal"),n.setAttribute("data-prescription","bifocal_hd");var o=$this.checkout.steps[3].getPrescriptionType();document.querySelector(".input.hd").classList.add("disabled"),document.querySelector(".input.hd .price-container").innerHTML='Unavailable',document.querySelector("[show]."+o+" .error").classList.remove("hidden");var s=$this.checkout.steps[3].getPrice("bifocal").discounted,a=$this.checkout.steps[3].getPrice("bifocal").original;document.querySelector(".input.sd .price-container").innerHTML='+$'+s+'
(Retail $'+a+")
"})),page("browse.details.components.checkout.steps.3.init_progressive",(function(e){document.querySelector(".progressive").classList.remove("hidden");var t=document.querySelector(".input.sd input"),n=document.querySelector(".input.hd input");t.setAttribute("data-prescription","progressive"),n.setAttribute("data-prescription","progressive_hd");var o=$this.checkout.steps[3].getPrescriptionType();if(e.hd){var s=$this.checkout.steps[3].getPrice("progressive_hd").discounted,a=$this.checkout.steps[3].getPrice("progressive_hd").original;document.querySelector(".input.hd").classList.remove("disabled"),document.querySelector(".input.hd .price-container").innerHTML='+$'+s+'
(Retail $'+a+")
",document.querySelector("[show]."+o+" .error").classList.add("hidden")}else document.querySelector(".input.hd").classList.add("disabled"),document.querySelector(".input.hd .price-container").innerHTML='Unavailable',document.querySelector("[show]."+o+" .error").classList.remove("hidden");var c=$this.checkout.steps[3].getPrice("progressive").discounted,r=$this.checkout.steps[3].getPrice("progressive").original;document.querySelector(".input.sd .price-container").innerHTML='+$'+c+'
(Retail $'+r+")
"})),page("browse.details.components.checkout.steps.3.init_sv",(function(e){document.querySelector(".sv").classList.remove("hidden");var t=document.querySelector(".input.sd input"),n=document.querySelector(".input.hd input");t.setAttribute("data-prescription","sv"),n.setAttribute("data-prescription","sv_hd");var o=$this.checkout.steps[3].getPrescriptionType();if(e.hd){var s=$this.checkout.steps[3].getPrice("sv_hd").discounted,a=$this.checkout.steps[3].getPrice("sv_hd").original;document.querySelector(".input.hd").classList.remove("disabled"),document.querySelector(".input.hd .price-container").innerHTML='+$'+s+'
(Retail $'+a+")
",document.querySelector("[show]."+o+" .error").classList.add("hidden")}else document.querySelector(".input.hd").classList.add("disabled"),document.querySelector(".input.hd .price-container").innerHTML='Unavailable',document.querySelector("[show]."+o+" .error").classList.remove("hidden");var c=$this.checkout.steps[3].getPrice("sv").discounted,r=$this.checkout.steps[3].getPrice("sv").original;document.querySelector(".input.sd .price-container").innerHTML='+$'+c+'
(Retail $'+r+")
"})),page("browse.details.components.checkout.steps.3.reset",(function(){var e=document.querySelector("#step-3-content .input.sd input"),t=document.querySelector("#step-3-content .input.hd input");document.querySelector("#step-3 .step-price").setAttribute("retail-price",0),e.checked=!1,t.checked=!1,document.querySelectorAll("#step-3-content [show]").forEach((function(e){e.setAttribute("show","")}))})),page("browse.details.components.checkout.steps.3.select",(function(e){var t=e.getAttribute("data-type"),n=e.getAttribute("data-prescription"),o=$this.checkout.steps[3].getPrescriptionType();if(document.querySelector("#step-3 .step-name .selected").innerText=e.nextElementSibling.querySelector(".title").innerText,document.querySelector("[show]."+o).setAttribute("show",t),$this.checkout.steps[3].setPrice(),$this.cache[3].selected===n)return!1;$this.checkout.steps.lock(4),$this.cache[3].selected=n,$this.cache[3].hd="hd"===t,components.cache.save(),$this.checkout.steps.unlock(4)})),page("browse.details.components.checkout.steps.3.setPrice",(function(){var e=document.querySelector("#step-3-content input:checked").getAttribute("data-prescription"),t=document.querySelector("#step-3 .step-price"),n=$this.checkout.steps[3].getPrice(e);t.setAttribute("retail-price",n.original)})),page("browse.details.components.checkout.steps.3.validate",(function(){return!(!$this.cache[3].selected||"boolean"!=typeof $this.cache[3].hd)})),page("browse.details.components.checkout.steps.4.init",(function(){var e=$this.cache[2].style,t=$this.cache[3].hd,n=$this.checkout.steps[3].getPrescriptionType(),o=api.prices[e][n];t&&api.prices[e][n+"_hd"]&&(o=api.prices[e][n+"_hd"]),Object.keys(o.materials).forEach((function(e){var t=o.materials[e],n=(document.querySelector(".input."+e+" input + label"),t-t*api.settings.discount);if("boolean"==typeof t)return document.querySelector(".input."+e).classList.add("hidden");if(t>=0&&(0===t?(document.querySelector(".input."+e+" .price-container").innerHTML="Included","plastic"===e&&api.isRimless&&(document.querySelector(".input."+e+" .price-container").innerHTML="Unavailable",document.querySelector(".material-messages .error").innerText="Plastic lenses unavailable on rimless frames",document.querySelector(".input."+e).classList.add("disabled"))):document.querySelector(".input."+e+" .price-container").innerHTML='+$'+n+'
(Retail $'+t+")
",document.querySelector(".input."+e).classList.remove("hidden")),$this.cache[4].selected===e){var s=document.querySelector(".input."+e+" input");s.checked=!0,$this.checkout.steps[4].select(s)}})),$this.checkout.steps[4].recommendMaterial()})),page("browse.details.components.checkout.steps.4.recommendMaterial",(function(e){var t="getRecommendedMaterial?sku="+SKU;$this.cache[3].hd&&(t=Parameter.set("hd",!0,t)),document.querySelector("#step-4-content .recommended")&&document.querySelector("#step-4-content .recommended").classList.remove("recommended"),components.user(t,(function(e){if(e){e=e.replace("-","_").trim();var t={plastic:"Standard lenses are recommended based on your prescription",poly:"Thin lenses are recommended based on your prescription",trivex:"Scratch Resistant lenses are recommended based on your prescription",high_index:"Ultra Thin lenses are recommended based on your prescription"};document.querySelector("#step-4-content .input."+e).classList.contains("hidden")&&(e="high_index"),document.querySelector("#step-4-content .input."+e).classList.add("recommended"),t[e]&&(document.querySelector(".recommend-message").innerText=t[e])}}))})),page("browse.details.components.checkout.steps.4.reset",(function(){document.querySelector("#step-4 .step-price").setAttribute("retail-price",0),document.querySelector("#step-4-content .navigation").classList.add("disabled"),document.querySelector(".material-messages .error").innerHTML="",document.querySelector("[show].material-messages").setAttribute("show",""),document.querySelectorAll("#step-4-content .input").forEach((function(e){e.classList.add("hidden")}))})),page("browse.details.components.checkout.steps.4.select",(function(e){var t=e.getAttribute("data-material");document.querySelector(".material-messages").setAttribute("show",t),$this.cache[4].selected=t,components.cache.save();var n=0;try{n=e.parentNode.querySelector(".retail").innerText.split("$")[1].replace(")","")}catch(e){}document.querySelector("#step-4-content .navigation").classList.remove("disabled"),document.querySelector("#step-4 .step-price").setAttribute("retail-price",n),document.querySelector("#step-4 .step-name .selected").innerText=e.nextElementSibling.querySelector(".title").innerText+" - "+e.nextElementSibling.querySelector(".material").innerText})),page("browse.details.components.checkout.steps.4.validate",(function(){return!!$this.cache[4].selected}));//# sourceMappingURL=app.js.map setTimeout(function() { Defer.js("/js/app.js?id=7770"); }, 1000);