`); $(`.header__mobile #header-membership`).empty(); $(`#mobile-header-fixed .header__logo`).append(``); } $(`#xclusive-offer`).attr('href','/pages/exclusive-rewards'); } } }) .fail(function (error) { console.log("Error", error); }) } function getFreeProducts() { let bearerToken; const urlParams = new URLSearchParams(location.search); if(urlParams.has('app_session')){ bearerToken = urlParams.get('app_session'); $('#smartbar-app, .header__new--section').addClass('hide'); $('body').css('padding','0'); }else{ bearerToken = localStorage.getItem("token"); } $.ajax({ url: `${baseUrl}app/api/v1/membership/free-products`, "headers": { "Authorization": `Bearer ${bearerToken}` } }) .done(function (response) { let variant_list = ''; for (let variant_key in response.data) { let reward_variant_free_solution = (response.data[variant_key].disposability == 'dailies')? "" : "Free Solution"; let reward_variants_count = response.data[variant_key].variants?.length; if(urlParams.has('app_session')){ variant_list += `
${response.data[variant_key].product_variant_title}
Rs. ${response.data[variant_key].compare_at_price}FREE
View Product
${response.data[variant_key].product_variant_title}
Rs. ${response.data[variant_key].compare_at_price}FREE
View Product
1-day delivery: Blink and it's here!
Start Your Trial
Clear Lenses
Color Lenses
Toric Lenses
Solutions
Accessories
Video AR
Combo Pack
Login Now
Search
- "Clear Lenses"
- "Color Lenses"
- "Lens Solutions"
- "Lens Cases"
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); }else{ self.parents('.search-bar').find('.search-list').html(`
Showing Results for "${word}"
No Product Found!!
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } } }) .fail(function(error){ self.parents('.search-bar').find('.search-list').html(`
Showing Results for "${word}"
No Product Found!!
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); }) } $(document).on("input","#inputTxt",function(){ let self = $(this); if(self.val().length > 0){ self.parents('.search-bar').find(".search-list").addClass("active"); self.parents('.search-bar').find(".search_text_animation__container").removeClass("active"); self.parents('.search-bar').find(".search-list").show(); if(!isNaN(self.val())){ searchProduct(self.val().replace(//g, '>') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/=/g, '='),self); } else if(self.val().length > 2){ searchProduct(self.val().replace(//g, '>') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/=/g, '='),self); }else{ self.parents('.search-bar').find(".search-list").html(`
Showing Results for "${self.val()}"
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } }else{ self.parents('.search-bar').find(".search_text_animation__container").addClass("active"); self.parents('.search-bar').find(".search-list").html(`
Most Searched in Aqualens
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } }); // ---- ---- Click Search Box ---- ---- // $(document).on("click","#inputTxt",function(){ $(this).parent().find('.search_text_animation__container').removeClass('active'); $(this).parents('.search-bar').find(".search-list").html(`
Most Searched in Aqualens
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); $(this).parents('.search-bar').find(".search-list").addClass("active"); $(this).parents('.search-bar').find(".search-list").show(); }); // ---- ---- Open Search Box ---- ---- // $(document).on("click",".search",function(){ $(this).parent().find('.search_text_animation__container').addClass('active'); $(this).parents('.search-bar').addClass('open'); $(this).parent().addClass('open'); }); // ---- ---- Footer Open Search Box ---- ---- // $(document).on("click","#bottom-sticky-search",function(){ $(this).find('svg').addClass('active'); $('.search-bar').find('.search_text_animation__container').addClass('active'); $('.search-bar').addClass('open'); $('.search-bar').find('.search-input-box').addClass('open'); }); // ---- ---- Close Search Box ---- ---- // $(document).on("click",".product-list a",function(){ $(this).parents('.search-bar').find('#inputTxt').val(''); }); $(document).on("click",".close-icon",function(){ $('#bottom-sticky-search svg').removeClass('active'); $(this).parents('.search-bar').removeClass('open'); $(this).parent().removeClass('open'); $(this).parent().find('#inputTxt').val(''); $(this).parents('.search-bar').find(".search-list").empty(); $(this).parents('.search-bar').find(".search-list").removeClass("active"); $(this).parents('.search-bar').find(".search-list").hide(); $(this).parents('.search-bar').find('.search_text_animation__container').removeClass('active'); });
Login Now
Search
- "Clear Lenses"
- "Color Lenses"
- "Lens Solutions"
- "Lens Cases"
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); }else{ self.parents('.search-bar').find('.search-list').html(`
Showing Results for "${word}"
No Product Found!!
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } } }) .fail(function(error){ self.parents('.search-bar').find('.search-list').html(`
Showing Results for "${word}"
No Product Found!!
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); }) } $(document).on("input","#inputTxt",function(){ let self = $(this); if(self.val().length > 0){ self.parents('.search-bar').find(".search-list").addClass("active"); self.parents('.search-bar').find(".search_text_animation__container").removeClass("active"); self.parents('.search-bar').find(".search-list").show(); if(!isNaN(self.val())){ searchProduct(self.val().replace(//g, '>') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/=/g, '='),self); } else if(self.val().length > 2){ searchProduct(self.val().replace(//g, '>') .replace(/"/g, '"') .replace(/'/g, ''') .replace(/=/g, '='),self); }else{ self.parents('.search-bar').find(".search-list").html(`
Showing Results for "${self.val()}"
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } }else{ self.parents('.search-bar').find(".search_text_animation__container").addClass("active"); self.parents('.search-bar').find(".search-list").html(`
Most Searched in Aqualens
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); } }); // ---- ---- Click Search Box ---- ---- // $(document).on("click","#inputTxt",function(){ $(this).parent().find('.search_text_animation__container').removeClass('active'); $(this).parents('.search-bar').find(".search-list").html(`
Most Searched in Aqualens
Trending in Aqualens
- Xclusive Membership${svgImage}
- AR Try On${svgImage}
`); $(this).parents('.search-bar').find(".search-list").addClass("active"); $(this).parents('.search-bar').find(".search-list").show(); }); // ---- ---- Open Search Box ---- ---- // $(document).on("click",".search",function(){ $(this).parent().find('.search_text_animation__container').addClass('active'); $(this).parents('.search-bar').addClass('open'); $(this).parent().addClass('open'); }); // ---- ---- Footer Open Search Box ---- ---- // $(document).on("click","#bottom-sticky-search",function(){ $(this).find('svg').addClass('active'); $('.search-bar').find('.search_text_animation__container').addClass('active'); $('.search-bar').addClass('open'); $('.search-bar').find('.search-input-box').addClass('open'); }); // ---- ---- Close Search Box ---- ---- // $(document).on("click",".product-list a",function(){ $(this).parents('.search-bar').find('#inputTxt').val(''); }); $(document).on("click",".close-icon",function(){ $('#bottom-sticky-search svg').removeClass('active'); $(this).parents('.search-bar').removeClass('open'); $(this).parent().removeClass('open'); $(this).parent().find('#inputTxt').val(''); $(this).parents('.search-bar').find(".search-list").empty(); $(this).parents('.search-bar').find(".search-list").removeClass("active"); $(this).parents('.search-bar').find(".search-list").hide(); $(this).parents('.search-bar').find('.search_text_animation__container').removeClass('active'); });
Get Trial Product
Color Lenses
Clear Lenses
Toric Lenses
Solutions
Lens Cases
Combo Pack
Contact Us FAQs Legal Our Manufacturing
Your cart
Home > Power-converter
Clearer Vision Starts Here
Convert your Spectacle Power to Contact Lenses with ease
Select your Spectacle Power here:
Left | Right | |
---|---|---|
SPH |
Please Enter the Details.
Converted! This is the right prescription for your given power
Left | Right | |
---|---|---|
SPH |
Left | Right | |
---|---|---|
SPH | ||
CYL | ||
Axis |
Please Enter the Details.
Converted! This is the right prescription for your given power
Left | Right | |
---|---|---|
SPH | ||
CYL | ||
Axis |
Left | Right | |
---|---|---|
SPH | ||
Additional |
Please Enter the Details.
Additional Power remains the same as Eyeglass Power
Converted! This is the right prescription for your given power
Left | Right | |
---|---|---|
SPH | ||
Additional |
Clearer Vision Starts Here
Clear Lenses
Color Lenses
Spherical Power
Cylindrical Power
Multifocal Power
All Lenses
1 Day Lenses
30 Day Lenses
So Sorry! Looks Like This Product Is Out Of Sight.
Super Comfortable
Specially designed for your eye power for clear, crisp, and focused vision at all times
4x More Oxygen
Uniquely made with the finest materials to allow more oxygen to pass through the cornea
High Water Content
Retains water to keep your eyes moist & hydrated for longer periods of time
UV Blocking Technology
Uniquely made with the finest materials to allow more oxygen to pass through the cornea
Not sure which product to take?
Take A Quiz Now
You are at the right place.
Having no prescription?
Best selling colors now available even for zero powered lenses. Transform your look now!
Shop Now
Home > Power-converter
Also available on
` selectPower += `
` pdppowerList += `
` } } if(powerTypeList[i].type == "cyl"){ var powerDataList = powerTypeList[i].powerDataList[0].value; var pdpCylList = ``; for(var j=0;j
Sign In
Scratch Now To Win Big Rewards!
Win limited time offers with up to 25% off!
Get Updates on Whatsapp
Use referral code
*Applicable only for first time users.
By Proceeding you agree to the Terms of Use and Privacy Policy
Start Shopping
` : ``}
${(coupon_type == "coupon") ? `20% OFF` : `${coupon_value} AquaCash`}
${(coupon_type == "coupon") ? `
Coupon code: ${coupon_value}
` : `
`} ${(coupon_type == "coupon") ? `
Valid till: ${coupon_eligi}
` : `
1 AquaCash = 1 Rupee
`}` setTimeout(function () { $('.popup__gift--image img').attr("data-src", "https://static.aqualens.in/IN/CDNS/box-open-still.png"); $('#popupGiftOffer').html(offerHtml); if (coupon_type == "coupon") { $(".popup__gift--text").text("This coupon will be available in your cart"); } else { $(".popup__gift--text").text("AquaCash added to your wallet"); } }, 1000); } else { $.ajax({ method: "GET", headers: { Authorization: 'Bearer ' + sessionToken }, url: `${baseUrl}api/v1/account/wallets/`, dataType: "json" }) .done(function (data) { let totalAquacash = 0; if (data.status) { totalAquacash = parseInt(data.data.wallet_balance); }; let offerHtml = `
You've already unlocked today's gift
Balance: ${totalAquacash} AC
1 AquaCash = 1 Rupee
`; $(".popup__gift--text").text("Redeem your AquaCash at checkout"); $('.popup__gift--image img').attr("data-src", "https://static.aqualens.in/IN/CDNS/box-open-still.png"); $('#popupGiftOffer').html(offerHtml); // if (coupon_type == "coupon") { // $(".popup__gift--text").text("This coupon will be available in your cart"); // } else { // $(".popup__gift--text").text(coupon_desc.toString()); // } }) } urlParams.delete('isReward'); url.search = urlParams.toString(); window.history.pushState({}, "", url.href); $('.wait-loading').addClass("hide"); } //window.history.pushState({}, document.title, window.location.pathname); } else { $('.whatsapp-chat').show(); $('#shopify-section-header-new').addClass('sticky'); window.location.reload(true); $('.wait-loading').addClass("hide"); } //window.location.reload(); }) // done end .fail(function (error) { $('.error__otp').text("OTP incorrect. Please try again").addClass("active"); $('.error__otp').show(); $(".wait-loading").addClass("hide"); }) // fail end }).fail((e) => { let resJson = e.responseJSON; const message = JSON.parse(resJson.message); $('.error__otp').text("OTP incorrect. Please try again").addClass("active"); $('.error__otp').show(); setTimeout(function () { $('.error__otp').fadeOut(); }, 2000); $('.wait-loading').addClass("hide"); $('.text__section--input input[name="otp_input"]').val(""); $('.text__section--input input[name="otp_input"]').first().focus(); $(btn).siblings(".error").removeClass("success").html(message[2]).addClass("active"); if (message[1] == "309") { clearInterval(timerCount); timerCount = 0; $('.resend_btn').removeClass("disabled").addClass("active"); $('#timer').text('00: 00') } $("#main__login-popup .wait-loading").addClass("hide"); }); // verify otp end } else { $('.error__otp').text("OTP incorrect. Please try again").addClass("active"); $('.error__otp').show(); setTimeout(function () { $('.error__otp').fadeOut(); }, 2000); $("#main__login-popup .wait-loading").addClass("hide"); } // smsDigit end }); // .verify--otp class end // Scratch Card (function () { 'use strict'; var isDrawing, lastPoint; var container = document.getElementById('js-container'), canvas = document.getElementById('js-canvas'), canvasWidth = canvas.width, canvasHeight = canvas.height, ctx = canvas.getContext('2d', { willReadFrequently: true }), image = new Image(), brush = new Image(); // base64 Workaround because Same-Origin-Policy image.src = 'https://cdn.shopify.com/s/files/1/0084/6957/7794/files/scratchcard_new.png?v=1684219055'; image.setAttribute('crossOrigin', ''); image.onload = function () { //ctx.drawImage(image, 0, 0); // Show the form when Image is loaded. //document.querySelectorAll('.form')[0].style.visibility = 'visible'; var ctx = canvas.getContext('2d', { willReadFrequently: true }); var wrh = image.width / image.height; var newWidth = canvas.width; var newHeight = newWidth / wrh; if (newHeight > canvas.height) { newHeight = canvas.height; newWidth = newHeight * wrh; } var xOffset = newWidth < canvas.width ? ((canvas.width - newWidth) / 2) : 0; var yOffset = newHeight < canvas.height ? ((canvas.height - newHeight) / 2) : 0; ctx.drawImage(image, xOffset, yOffset, newWidth, newHeight); document.querySelectorAll('.form')[0].style.visibility = 'visible'; }; brush.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAxCAYAAABNuS5SAAAKFklEQVR42u2aCXCcdRnG997NJtlkk83VJE3apEma9CQlNAR60UqrGSqW4PQSO9iiTkE8BxWtlGMqYCtYrLRQtfVGMoJaGRFliijaViwiWgQpyCEdraI1QLXG52V+n/5nzd3ENnX/M8/sJvvt933/533e81ufL7MyK7NOzuXPUDD0FQCZlVn/+xUUQhkXHny8M2TxGsq48MBjXdAhL9/7YN26dd5nI5aVRrvEc0GFEBNKhbDjwsHh3qP/FJK1EdYIedOFlFAOgREhPlICifZDYoBjTna3LYe4xcI4oSpNcf6RvHjuAJRoVszD0qFBGmgMChipZGFxbqzQkJWVZUSOF7JRX3S4LtLTeyMtkkqljMBkPzHRs2aYY5PcZH/qLY1EIo18byQ6hBytIr3WCAXcV4tQHYvFxg3w3N6+Bh3OQolEoqCoqCinlw16JzTFJSE6PYuZKqvztbC2ex7bzGxhKu+rerjJrEEq+r9ieElJSXFDQ0Mh9zYzOzu7FBUWcO4Q9xbD6HYvhXhGLccVD5ZAPyfMqaioyOrBUgEv8FZXV8caGxtz8vLykhCWTnZIKmsKhUJnEYeKcKk2YYERH41G7UYnck1/WvAPOxsdLJm2+bEY0Ay0RNeqkytXQkoBZM4U5oOaoYSUkBGRtvnesrBZK4e4F6ypqSkuLy+v4KI99ZQxkfc6vZ4jNAl1wkbhG8LrhfNBCdkxmhYacvj/GOce+3K9MHHbDHUmicOufREELRIWch/DljzMsglutr+VIJO5KjGrVfZAnpF8mnCd8G5hrnC60Cl8T/iw8C1hKd9P9eDCMcgo5HwBx8BB/g7xeRPkrBbeJ3xTeAxjvRGVV3NcshfPG1JX4tVDQae47GuVOknCi23xHr5nyrxe2C1sFlYJ7xe+Jlwm7BRulItP0ms957RzTMK1ws41jMS8eDxehopaOCYfxc3AIHcIX+K6nxW+ImyVF1i8PQ8DTuwtdC1atCja3N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UJ8cx3uhe3d3dfh5Meb8qyKWsuJRidwtN/h20XEtxvTwya7tKncU8ACqmXVwLict5fy6TnFhra2uW7xT8dWk2BHptVBOx8GLKjo3g7bhrBQq1sdVsCvEkhLZIac1y/zmUSO0oO8fX/0P2Ub3cwaWpZSITnLnOpDlBWTIfMleJqFb10jXCBJUlMyORSIP14LhqNef6v/05bpZTdHulUyXKsufDNdRxZ4vIhSKwhQFG5vfLfcwZsx2X92Jhje8/P8OI+TK/oO+zeA84WTzkvI/6RuB3y6f68qf11xnyMiuzMms4178AwArmZmkkdGcAAAAASUVORK5CYII='; canvas.addEventListener('mousedown', handleMouseDown, false); canvas.addEventListener('touchstart', handleMouseDown, false); canvas.addEventListener('mousemove', handleMouseMove, false); canvas.addEventListener('touchmove', handleMouseMove, false); canvas.addEventListener('mouseup', handleMouseUp, false); canvas.addEventListener('touchend', handleMouseUp, false); function distanceBetween(point1, point2) { return Math.sqrt(Math.pow(point2.x - point1.x, 2) + Math.pow(point2.y - point1.y, 2)); } function angleBetween(point1, point2) { return Math.atan2(point2.x - point1.x, point2.y - point1.y); } // Only test every `stride` pixel. `stride`x faster, // but might lead to inaccuracy function getFilledInPixels(stride) { if (!stride || stride < 1) { stride = 1; } var pixels = ctx.getImageData(0, 0, canvasWidth, canvasHeight), pdata = pixels.data, l = pdata.length, total = (l / stride), count = 0; // Iterate over all pixels for (var i = count = 0; i < l; i += stride) { if (parseInt(pdata[i]) === 0) { count++; } } return Math.round((count / total) * 100); } function getMouse(e, canvas) { var offsetX = 0, offsetY = 0, mx, my; if (canvas.offsetParent !== undefined) { do { offsetX += canvas.offsetLeft; offsetY += canvas.offsetTop; } while ((canvas = canvas.offsetParent)); } mx = (e.pageX || e.touches[0].clientX) - offsetX; my = (e.pageY || e.touches[0].clientY) - offsetY; return { x: mx, y: my }; } function handlePercentage(filledInPixels) { filledInPixels = filledInPixels || 0; if (filledInPixels > 50) { canvas.parentNode.removeChild(canvas); $('.scratch-continue').removeClass("inactive").addClass("active"); $('.scratch-continue').addClass("scratch-continue-button"); window.setTimeout(function () { window.location.reload(true); }, 4500); } } function handleMouseDown(e) { isDrawing = true; lastPoint = getMouse(e, canvas); } function handleMouseMove(e) { if (!isDrawing) { return; } e.preventDefault(); var currentPoint = getMouse(e, canvas), dist = distanceBetween(lastPoint, currentPoint), angle = angleBetween(lastPoint, currentPoint), x, y; for (var i = 0; i < dist; i++) { x = lastPoint.x + (Math.sin(angle) * i) - 25; y = lastPoint.y + (Math.cos(angle) * i) - 25; ctx.globalCompositeOperation = 'destination-out'; ctx.drawImage(brush, x, y); } lastPoint = currentPoint; handlePercentage(getFilledInPixels(32)); } function handleMouseUp(e) { isDrawing = false; } })(); $(document).on("change", '#opt_in', function () { $(this).val(this.checked ? "1" : "0"); }); $(document).on("click", ".scratch-continue-button", function () { $('.whatsapp-chat').show(); $('#shopify-section-header-new').addClass('sticky'); window.location.reload(true); }) $(document).on("click", ".close-scratch-popup", function () { window.location.reload(true); })
Referral Success! You Recieved Rs. 50
From one friend to another - Rs 50 Aquacash. Redeem in 7 days & get bigger discounts!
No delivery delays, your order is a blink away.
Enter your Pincode to avail delivery in just 1 day!
Woohoo! We are delivering to you
Orders placed by you will be delivered in 1 day
`) $('.pdp-oneDayDelivery').show(); $('.oneDayDelivery').show(); }else{ localStorage.setItem("isOneDayDelivery", false); $('.oneDay-msg').html(`
Currently Working On Delivering To You
We will soon be delivering to your city as well
Continue`) $('.pdp-oneDayDelivery').hide(); $('.oneDayDelivery').hide(); } } else{ let errorMsg = response.Message || response.message; $('.oneDay-msg').find(".error--text").html(errorMsg); } }) .fail(function(error){ $('.oneDay-msg').find(".error--text").html(error.responseJSON.message); console.log("Error",error); }) } gtag('event','1Dpinpopup', { 'event_label': `One Day Delivery Pin Verify`, 'event_pinCity': `${pinCode}` }); } else{ if($('.OneDayPinCode').val().length > 0){ $(".oneDay-msg").find(".error--text").html("Pin code must be 6 digits"); }else{ $(".oneDay-msg").find(".error--text").html("Please enter PIN code to check delivery time"); } } });
- Get Trial @ Rs. 99