EC Kids DV 1407

Unbreakable frame, not deformable, highly flexible, ultra light.
$189.00
$250.00
Save $61.00
Diverso® Dv 1409 : Transparent Pink
(function(){ const TAG = 'spz-custom-lamb-add-btn'; class SpzCustomLambAddBtn extends SPZ.BaseElement { constructor(element) { super(element); this.templates_ = null; this.action_ = null; this.selected_variant = '{"id":"4e8d84eb-7b4b-48a5-a093-20afe3b95d01","product_id":"1a8a3695-c5b6-4e38-9cf3-0191f7cfb223","title":"Transparent Pink","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Transparent Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b47235db33e6455a43c7a73edf82a64d.png","path":"b47235db33e6455a43c7a73edf82a64d.png","width":1918,"height":760,"alt":"","aspect_ratio":2.5236842105263158},"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"250","price":"189","retail_price":"250","available":true,"url":"\/products\/ec-kids-dv-1407?variant=4e8d84eb-7b4b-48a5-a093-20afe3b95d01","available_quantity":999999999,"options":[{"name":"Diverso\u00ae DV 1409","value":"Transparent Pink"}],"off_ratio":24,"flashsale_info":[],"sales":0}'; this.lens_process_id = ""; } buildCallback() { this.xhr_ = SPZServices.xhrFor(this.win); this.action_ = SPZServices.actionServiceForDoc(this.element); this.templates_ = SPZServices.templatesForDoc(this.element); this.getLambLensSteps_(true); this.setupAction_(); } mountCallback() { document.addEventListener('dj.variantChange', (event) => { const variant = event.detail.selected; if (variant.product_id == '1a8a3695-c5b6-4e38-9cf3-0191f7cfb223') { this.selected_variant = JSON.stringify(variant); } }); } fetchLambLensSteps() { const lens_process_id = location.search.replace('?', '').split('&').find(v => v.includes('lens_process_id')); const template_id = location.search.replace('?', '').split('&').find(v => v.includes('template_id')); const stepsUrl = '/api/fireant/product/1a8a3695-c5b6-4e38-9cf3-0191f7cfb223/steps' + ((lens_process_id ? `?${lens_process_id}` : '') || (template_id ? `?${template_id}` : '')); return fetch(stepsUrl).then((res)=>{ return res.json(); }).then((data)=>{ return data; }) } showProductBtn() { var addToCart = document.getElementById('add_to_cart_normal'); var productQuantityBtn = document.getElementById('product_info_quantity_normal'); addToCart && addToCart.classList.remove('hidden'); productQuantityBtn && productQuantityBtn.classList.remove('hidden'); } getLambLensSteps_(isInit) { try{ this.fetchLambLensSteps().then((data)=>{ if(data.errors) { if(isInit){ this.renderBtn(false); this.showProductBtn(); } }else{ if(isInit){ this.lens_process_id = data?.lens_process_id; let frameOnlyArr = data?.prescription_types?.options.filter((option)=>{ return option.prescription_type === 'Frame Only' }); let frameOnlyObj = frameOnlyArr.length > 0 ? frameOnlyArr[0] : {}; let available = true; if(available && (frameOnlyObj?.frame_only_display_at == 'product_detail' || frameOnlyObj?.frame_only_display_at == 'all')){ this.renderBtn({ ...frameOnlyObj, process_type: data.process_type }); }else{ this.renderBtn({ process_type: data.process_type }); } } } }); }catch(e){ this.renderBtn(false); this.showProductBtn(); } } renderBtn = (isRenderProcessBtn) => { return this.templates_ .findAndRenderTemplate(this.element, isRenderProcessBtn) .then((el) => { const children = this.element.querySelector('*:not(template)'); children && SPZCore.Dom.removeElement(children); this.element.appendChild(el); }); } handleClickFrameOnlyBtn_ = async () => { try { const reqBody = { product_id: "1a8a3695-c5b6-4e38-9cf3-0191f7cfb223", variant_id: JSON.parse(this.selected_variant)?.id, quantity: 1, properties: { lens_processing_id: this.lens_process_id, prescription_type: "Frame Only" } } const data = await this.xhr_.fetchJson('/api/fireant/v2/customize_cart', { method: "post", body: reqBody }); if(data.state === 'success') { this.atc_loading_ = false; this.element.removeAttribute('atc-loading'); this.triggerEvent_("dj.addToCart", data); window.location.href = "/cart"; } else { this.atc_loading_ = false; this.element.removeAttribute('atc-loading'); } } catch (e) { this.atc_loading_ = false; this.element.removeAttribute('atc-loading'); const toast = SPZCore.Dom.scopedQuerySelector(document, `#error-toast`); toast && SPZ.whenApiDefined(toast).then((api) => { e.then((result)=>{ api.showToast(result?.errors[0] || 'Unknown error'); }) }); } } trackAddToCart = () => { const params = { business_type: "product_plugin", function_name: "prescription_lens", plugin_name: "prescription_lens", module: "apps", tab_name: "process_btn", event_type: "click", event_developer: "jozy", event_info: JSON.stringify({ action_type: "frame_only_add_to_cart", product_id: '"1a8a3695-c5b6-4e38-9cf3-0191f7cfb223"', process_id: this.lens_process_id, process_type: "glasses", element_type: "button", element_name: "frame_only_btn" }) } window.spzutm && window.spzutm.registerParams('add_to_cart', params ); } setupAction_ = () => { this.registerAction('handleClickBtn', (invocation) => { this.saveAllFormProperties_(); const glassesInfo = { product:{ title: "EC Kids DV 1407", id: "1a8a3695-c5b6-4e38-9cf3-0191f7cfb223", image: {"src":"\/\/img.staticdj.com\/60d540cb5f6a39a81c5303244805a850.png","path":"60d540cb5f6a39a81c5303244805a850.png","width":1896,"height":718,"alt":"","aspect_ratio":2.6406685236768803}, selected_variant: JSON.parse(this.selected_variant) }, atcType: 'add_lens' }; const tempElement = document.getElementById('process-request-script'); tempElement && SPZ.whenApiDefined(tempElement).then(async (api) => { await api.requestLensProcess(glassesInfo, invocation.args.process_type); }); setTimeout(() => { const proceeBtn = document.getElementById('lens_add_to_cart'); proceeBtn && proceeBtn.classList.remove('pointer-events-none'); }, 3000); }); this.registerAction('handleClickFrameOnlyBtn', (invocation) => { this.trackAddToCart(); this.atc_loading_ = true; this.element.setAttribute('atc-loading',""); this.handleClickFrameOnlyBtn_(); }); } saveAllFormProperties_(){ const formEntries = this.getFormData_(); const properties = this.getFormAllProperties_(formEntries); // 获取的form所有properties存全局 window.app_lamb_form_properties = properties; } getFormData_() { const form = this.element.closest("form"); const formData = new FormData(form); const formEntries = Object.fromEntries(formData.entries()); return formEntries; } getFormAllProperties_(obj){ const result = {}; Object.entries(obj).forEach(([key, value]) => { if (key.startsWith("properties")) { result[key.substring(11, key.length - 1)] = value; } }); return result; } triggerEvent_(name, params) { const event = SPZUtils.Event.create( this.win, name, params, {bubbles: true} ); this.element.dispatchEvent(event); } isLayoutSupported = (layout) => { return layout == SPZCore.Layout.CONTAINER; } } SPZ.defineElement(TAG, SpzCustomLambAddBtn) })()
Prescription Verification

Your eyewear prescription consists of specific instructions that enable you to purchase eyeglasses or contact lenses tailored to address your visual requirements. This document will indicate the lens power, size, and recommended brand. In cases where you have specific needs, like astigmatism correction or multifocal lenses, additional information may be included in your prescription.
You will receive this prescription after receiving an eye examination conducted by a certified eye care professional. During the exam, they will assess your visual needs and provide guidance on when to replace your eyewear based on your lifestyle and eye sensitivity.

Disclaimer:
You hereby confirm that you possess a valid prescription for the lenses you intend to order. This means that your prescription is current, having been issued within the past 12 months, and has been provided by a qualified optometrist or lens fitter (referred to hereafter as a ""practitioner"").
We reserve the right to verify this information with your practitioner. This same requirement applies to returning customers ordering lenses. If a registered practitioner has advised against wearing lenses, we reserve the right to decline any sale, unless redirected by the same or another registered practitioner.
Furthermore, you affirm that you do not have any medical conditions that contraindicate the use of lenses. When making a purchase from us, you are confirming that a qualified practitioner has prescribed the lenses you are ordering. Consequently, we are not responsible if you purchase lenses that have not been specifically prescribed for you or if the time between the prescription and purchase exceeds 12 months.
We strongly recommend regular eye examinations by a qualified practitioner to safeguard your eye health. While it is not mandatory to send us your prescription, by accepting the terms and conditions outlined above, you are verifying that you possess a valid prescription in accordance with Canadian law. Please note that contact lens wearers must be at least 16 years old.
If you need assistance with your prescription, please feel free to email us at info@ecglasses.com

Description

EC Kids

Memory Eyewear made in Turkey.  Unbreakable frame, not deformable, highly flexible, ultra light, Anti Allergic and Anti Bacterial material. Organic BPA free. Biocompatible and Environmentally friendly.

Incorporating the latest in technology, advanced materials, and fashion, Diverso is a stylish, colorful, and functional collection for Kids. With high level of quality and fashion, Diverso is perfect for every kid .

Build in with ultra resistance ( Polycarbonate) lenses with premium antireflective coating easy to clean and Blue light protection Included.

Size: 46-18-130

Material: TR90 (Grilamid® TR90 Switzerland)

Color: Transparent Red, Transparent Grey with Turqoise temple, Transparent Pink with opaque pink temples, Transparent Grey .

Fits: Small and Medium faces

Lenses: Ultra light and impact resistance Polycarbonate

Coating: Ultron: the Ultimate Japanese coating technology super hydrophobic easy to clean, glare free, water and grease repelent, dust resistant and fingerprint friendly.

Blue Light Protection: Stay safe with Blue Block Power! This is not a coating, but a material that is almost colourless and offers protection from UV 400 - 420nm emitted by TVs, computers, smartphones and the sun.

Hurry up !! and get your's for your kids. Limited quantity available.

Details
Gender: 
Unisex
Frame Shape: 
Round Rectangular
Frame Material: 
TR90
Rim: 
Full Rim
Rxable: 
Yes
Show in inches