Alcon PRECISION1® Astigmatism 90 PK

Daily Disposable
CA$119.00
(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":"e2ef51dd-b33c-4275-a9ea-af82a587eb76","product_id":"69f9b4bd-73ac-4c21-afa5-7eee841db0e8","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":119,"min_quantity":1}],"weight":"0","compare_at_price":"119","price":"119","retail_price":"119","available":true,"url":"\/products\/alcon-precision1\u00ae-astigmatism-90-pk?variant=e2ef51dd-b33c-4275-a9ea-af82a587eb76","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":2}'; 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 == '69f9b4bd-73ac-4c21-afa5-7eee841db0e8') { 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/69f9b4bd-73ac-4c21-afa5-7eee841db0e8/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: "69f9b4bd-73ac-4c21-afa5-7eee841db0e8", 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: '"69f9b4bd-73ac-4c21-afa5-7eee841db0e8"', 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: "Alcon PRECISION1\u00ae Astigmatism 90 PK", id: "69f9b4bd-73ac-4c21-afa5-7eee841db0e8", image: {"src":"\/\/img.staticdj.com\/4341a512f88b888493af40573ccb781a.jpg","path":"4341a512f88b888493af40573ccb781a.jpg","width":454,"height":157,"alt":"Alcon PRECISION1\u00ae Astigmatism 90 PK | Uni Vision","aspect_ratio":2.8917197452229297}, 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) })()
people are viewing this right now
Best quality
Fast delivery
Sustainably made
Secure payments
Description


The Alcon PRECISION1® Astigmatism 90 PK is an exceptional product that provides you with the precise vision, dependable comfort, and easy handling you need to conquer your day with confidence and success. Designed with expertise and innovation, this contact lens is perfect for those who require astigmatism correction. With its advanced technology, this product ensures that your vision is sharp, clear, and accurate, allowing you to perform at your best in any situation. Say goodbye to blurry or distorted vision and embrace the clarity and precision that these contact lenses offer. Not only do they provide exceptional visual acuity, but they also prioritize your comfort throughout the day. You can rely on these lenses for long hours, as they are designed to provide excellent comfort and hydration, ensuring that your eyes feel fresh and moist from morning till night. Additionally, the easy handling of these contact lenses makes them a convenient choice for anyone with a busy lifestyle. Whether you're a professional navigating a demanding work schedule or an active individual constantly on the go, these lenses will effortlessly fit into your routine. The Alcon PRECISION1® Astigmatism 90 PK is the ultimate solution for individuals seeking a reliable, high-quality contact lens that delivers outstanding performance and expertly meets their astigmatism correction needs. So why settle for anything less when you can experience the precise vision, dependable comfort, and easy handling that this remarkable product offers? Get ready to make boss moves all day long with these extraordinary contact lenses.

The precise vision, dependable comfort and easy handling you need to make boss moves all day.