đź‘“
LOOL
  • 👏Welcome to LOOL
  • GET STARTED
    • Overview
    • Quick Start for new shop
    • How do I create a flow?
    • The difference between flow types
    • How do I add lens options to my flow?
    • How do I publish my flow?
    • Enable use bundle feature
    • Manually install
  • HOW TO
    • How do I add a badge to my lens option?
    • How do I add description to my lens options?
    • How do I add image to my lens options?
    • How to display lenses based on the prescription data provided by the buyers?
    • How to jump to different pages according to the customer's choice?
    • How do I change the layout of my options?
    • How do I combined all products into 1 product
    • How to automatically trigger the Select Lenses button when I select a specific variant
    • How to automatically hide the Select Lenses button when I select a specific variant
    • How do I delete the associated products at the same time when I delete a product(frame or lens)?
    • How to get buyers to skip a step
    • How to hide lens products from storefront?
    • How to specify my lens flow to specific products?
Powered by GitBook
On this page
  • 1. Create 2 product's metafields
  • 2. Goto the product page and finish the configure
  1. HOW TO

How to automatically trigger the Select Lenses button when I select a specific variant

PreviousHow do I combined all products into 1 productNextHow to automatically hide the Select Lenses button when I select a specific variant

Last updated 10 months ago

1. Create 2 product's metafields

Goto Settings > Custom data > Metafield definitions > Products

2. Goto the product page and finish the configure

The Wide's variant id is 41743364653233, so the select lenses button will be triggered when you select the Wide variant on product page, If you want to configure multiple variants, just separate the variant IDs with commas

lool.autoTriggerVariantIds