How to automatically hide the Select Lenses button when I select a specific variant
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
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