
Select Item lets a visitor choose an item from a list. Select Item View shows
content for the item they chose.
For example, you could let a visitor choose:
a product from a product group, with specific price and add to cart buttons
a clothing size, with add to cart button
a location and then show information about that location.
an art print size, showing dimensions, finishing, pricing and add to cart
Add a Select Item block.
Choose which items should appear by setting its filter. (e.g. child product simple, or unrelated Art Print Price
(optional) Give it a short Variable Name, such as prod or size.
Add a Select Item View block to the same page or layout.
Give the view the same Variable Name.
Add the content you want to show inside the view, this will display the fields from the item selected by the filter.
The Variable Name connects the two blocks. It must match exactly in both
places. Use a simple lowercase name without spaces or punctuation.
The Select Item block controls what visitors can choose.
The filter decides which items are available. Use it in the same way as other
filtered lists in the builder: choose the item type, tags, relationship and
maximum number of results you need.
Each choice currently displays the item's title and uses its ID as the saved
selection.
You can present the choices in either of these ways:
Drop-down list — useful for longer lists or when space is limited.
Buttons — useful for a small number of important choices.
The active button is highlighted. In drop-down mode, the first option uses the
configured field label, such as “Select an artist…”. Choosing that first option
clears the selection. Button style can by customised by CSS style editor.
Content placed inside the Select Item block is shown only when its filter finds
no choices. This is a good place for a short message such as “No options are
currently available.” or "All options are sold out"
The Select Item View displays content for the chosen item.
It has two content areas:
Selected item content — shown when the visitor has made a valid choice.
Blocks placed here use the chosen item, so fields, images and other content
can display that item's information.
No selection content — shown before a choice is made, or after the
selection is cleared. This can contain instructions such as “Choose an
artist to view their work., or show a price range, or other placeholder content.
You can add more than one Select Item View with the same Variable Name. They
will all respond to the same selection. This could be used to updaste information in mulitple places (eg, replace feature image, or specification table, etc).
When a visitor makes a choice:
the matching content updates without reloading the whole page;
the selection is added to the page address;
browser Back and Forward navigation continues to work;
a copied page address can retain the selection.
Check that both blocks are in the same page or layout and that their Variable
Names match exactly.
Check the Select Item filter. Confirm that matching items exist and are
available on the website.
Give each independent selector a unique Variable Name. Only views intended to
share a selection should use the same name.
Confirm that blocks have been added to the selected-item area of Select Item
View and that the chosen item contains the fields or images those blocks use.