FREQUENTLY ASKED QUESTIONS

We’re Here to Help

HOW DOES LENSADVIZOR WORK?

In a nutshell, LensAdvizor is a Shopify app that helps online eyewear stores sell prescription lenses and other custom lens options. LensAdvizor "lives" on your product page and when triggered, presents your customers with a list of lenses they can add to your product.

HOW DO I INSTALL THE APP?

You can visit our page on the Shopify app store and click Add App.

WHAT HAPPENS DURING INSTALLATION?

During installation, LensAdvizor will perform three key steps automatically:

  1. Request a set of permissions needed to integrate with your products and orders.

  2. Install two files: lensadvizor.css and lensadvizor.liquid

  3. Pastes the snippet with {% insert 'lensadvizor' %} at the bottom of your theme.liquid file.

HOW CAN I DEPLOY TO A DRAFT THEME?

1. Create these files and copy the contents from the old theme to the new theme:

Snippets
* lensadvizor.liquid
* lensadvizor-cart.liquid
Assets
* lensadvizor.scss.liquid
* lensadvizor-currencies.js
* la-iso-bootstrap.css
* la-iso-bootstrap.js


2. Add this code block to theme.liquid. It can be anywhere in the file, but the default is just after the </body> tag.

<!-- LensAdvizor snippet starts -->
{% if request.page_type == 'product' %}
{% include 'lensadvizor' %}
{% endif %}
<!-- LensAdvizor snippet ends -->


3. Add this code line to cart.liquid. It can be anywhere in the file, but the default is as the last line of the file.

{% include 'lensadvizor-cart' %}

HOW DO I USE LENSADVIZOR?

LensAdvizor works similar to how you would add products to a collection in Shopify. The only difference with LensAdvizor is that you'll be creating a Lens Collection to which you'll add both lenses and products.

  1. Decide what lenses you want to offer with your products.

  2. Create a Lens Collection.

  3. Add your lenses.

  4. Assign products.

  5. Boom. 

The products assigned in Step 4 will feature an add-to-cart process that features the lenses added in Step 3 as add-on options.

WHAT LENSES CAN I ADD?

Right now, LensAdvizor allows you to add unlimited lenses from five categories:

  1. Clear

  2. Blue-Light-Blocking

  3. Photochromic (light-sensitive)

  4. Non-Polarised Sunglasses

  5. Polarised Sunglasses

WHAT PRESCRIPTION TYPES CAN WE ADD?

During the lens selection process, customers can choose five prescription options:

  1. Single Vision

  2. Progressive

  3. Reading

  4. Non-Prescription

  5. Frame Only

We realise "Frame Only" isn't a prescription type, some of your customers may want to order only your frames.​

CAN I DECIDE WHAT LENSES AND PRESCRIPTIONS TO OFFER ON MY WEBSITE?

Yes, you have full control over what lenses options your customers see.

HOW MUCH DOES LENSADVIZOR COST?

You can try LensAdvizor for free! With our free plan, you can assign up to 3 products to Lens Collections.

To learn more about our paid plans, please click here.

HOW DO I HIDE THE LENS PRODUCTS FROM THE CART?

You can use template variables to test if a Line Item is a lens product and then choose how to display this row. This requires knowledge of HTML, CSS, and Shopify Template code.

If the product vendor has not been modified, you can use this code to test that it is a lens product:

{% unless item.vendor == "LensAdvizor" %}{% endunless %}

If the product vendor has been modified, you can iterate over the Line Item properties and test for _productType=="lens"

HOW CAN I HIDE INTERNAL PROPERTIES ON THE CART PAGE?

In your cart.liquid template, you find the code that loops over and displays cart item properties. Just inside this loop, update the code that checks for the first character to the following:

{% assign first_character_in_key = p.first | truncate: 1, '' %}
{% unless p.last == blank or first_character_in_key == '_' %}