2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Product

The values of `product` inside `smootify-product` or `smootify-variant` or `box-item`.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. Values

Where it can go

Values

Attribute and valueWhat it isNotes
product="title"Title—
product="vendor"VendorOn a link, it goes to the vendor; on text, link
product="description"Descriptionon rich, container
product="url"LinkThe title too, when empty; on link
product="link"Link onlyon link; inside smootify-product
product="specific-image"Image by positionindex counts from 0: 0 is the first image, and without it the second; on image, lightbox; set together with index=“1”
product="first-collection"First collectionon text, link
product="collections"CollectionsOne copy per collection; on text, link, container; inside smootify-product
product="category"Categoryinside smootify-product
product="type"Typeinside smootify-product
product="tags"TagsOne copy per tag; exclude takes a list; on text; inside smootify-product
product="option-values"Option valuesOne copy per value of the option; on container, text, button, link; inside smootify-product; set together with data-option=“1”
product="stock"StockEvery variant together; inside smootify-product
product="published-at"Published oninside smootify-product
product="created-at"Created oninside smootify-product
product="min-price"Lowest priceinside smootify-product
product="min-available-price"Lowest available priceinside smootify-product
product="max-price"Highest priceinside smootify-product
product="min-compare-at-price"Lowest compare-at priceinside smootify-product
product="max-compare-at-price"Highest compare-at priceinside smootify-product
product="gallery"GalleryHolds the gallery parts; on container; inside smootify-product
include-media=""Videos and 3D in the galleryAdds the product’s videos, YouTube and Vimeo videos and 3D models; without it the gallery shows images only; on container; inside smootify-product; with [product=“gallery”]
variant-images=""Only the variant’s images, by positionEach image linked to a variant starts a group that runs until the next linked image; on container; inside smootify-product; with [product=“gallery”]
variant-images="alt"Only the variant’s images, by alt textEach image goes with the variants its alt text names after the last #; an image without a tag shows for every variant; on container; inside smootify-product; with [product=“gallery”]
product="images"Images (deprecated: use Gallery)One copy per image; on image, link, lightbox, container; inside smootify-product; deprecated: use [product=“gallery”]
product="media"Media (deprecated: use Gallery)One copy per image, video or model; on image, link, lightbox, container; inside smootify-product; deprecated: use [product=“gallery”]
product="video"First videoon container, lightbox, video; inside smootify-product
product="videos"VideosOne copy each; on container, lightbox, video; inside smootify-product
product="external-video"First YouTube or Vimeoon youtube, lightbox, container; inside smootify-product
product="external-videos"YouTube and Vimeo videosOne copy each; on youtube, lightbox, container; inside smootify-product
product="model"3D modelon container; inside smootify-product; also read as models
index="0 is the first"Image number, from 0on image; with [product=“specific-image”]
exclude="tag,other tag"Leave outA comma list; spaces around the values are ignored; on text, link, container; with [product=“tags”], [product=“collections”], [product=“first-collection”]
data-option="1"Option numberon container, text, button, link; inside smootify-product; with [product=“option-values”]
data-option-name="Color, Colour"Option nameThe first of the names the product has; on container, text, button, link; inside smootify-product; with [product=“option-values”]

    ↑ ↓ to moveEnter to openEsc to close