Vellum theme docs
Model shopping flow
The model shopping flow lets a shopper choose a phone model once and carries that choice through discovery, collections, search, product pages, cart, and fit guidance.
How it works
- The merchant turns on Theme settings > Model shopping > Enable iPhone model shopping.
- The Model selector section stores the shopper choice in browser storage as
vellum:selectedModel. - Collection, search, product, cart drawer, and menu surfaces read that value through model context scripts.
- Product pages with a model/iPhone option ask for confirmation before selecting a remembered model.
- Fit Guide and Find Your Model pages help shoppers identify their model before selecting products.
Primary files
sections/model-selector.liquidandassets/model-selector.js.assets/model-context.js,assets/model-scope.js, andsnippets/model-bar.liquid.sections/product.liquid,sections/collection.liquid,sections/search.liquid, andsections/fit-guide.liquid.skeleton-theme/docs/model-shopping-flow.mdcontains deeper developer notes.