Skip to content
  1. Extras
  2. miniShop2
  3. Snippets
  4. msProductOptions

msProductOptions

Unlike msOptions, this snippet simply outputs the list of product options without a selector.

Parameters

ParameterDefaultDescription
tpltpl.msProductOptionsOutput chunk
productProduct id. If omitted, current resource id is used.
onlyOptionsOutput only these options, comma-separated.
ignoreOptionsOptions to exclude from output, comma-separated.
groupsOutput only options from these groups (group name or category id, comma-separated).

Output

The snippet expects a Fenom chunk and passes one variable $options (array of option values).

To see all placeholders, use an empty chunk:

modx
<pre>[[msProductOptions?tpl=``]]</pre>