đź‘“
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
  • 1.1 Auto Trigger LOOL Collection Key
  • 1.2 Auto Hide LOOL Variants
  • 2. Goto the product page and finish the configure
  1. HOW TO

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

PreviousHow to automatically trigger the Select Lenses button when I select a specific variantNextHow do I delete the associated products at the same time when I delete a product(frame or lens)?

Last updated 10 months ago

1. Create 2 product's metafields

1.1 Auto Trigger LOOL Collection Key

Namespace and key -> lool.autoTriggerCollectionKey

Type -> Single line text

Storefronts access -> Read

1.2 Auto Hide LOOL Variants

Namespace and key -> lool.autoHideVariantIds

Type -> Single line text

Storefronts access -> Read

2. Goto the product page and finish the configure

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