
ms3OptionsColor
Swatches for miniShop3 options: HEX, patterns, images, and RAL Classic
- MODX 3
- PHP 8.2
- miniShop3
- Vue 3


The package ships one storefront snippet. Chunks connect via tpl or run on their own: select, cart, mFilter.
| Snippet | Purpose |
|---|---|
| ms3OptionsColor | Swatches, <option> rows for select, return=data array |
| Chunk | When to use |
|---|---|
tplMs3OptionsColor | Color square on the product page and in the catalog (snippet default) |
tplMs3OptionsColorSelect | Ready <select> with label and option rows |
tplMs3OptionsColorSelectOption | Single <option> with data-color / data-pattern |
tplMs3OptionsColorCart | Full cart template (tpl.msCart replacement), not a row include |
tplMFilterMs3OptionsColor | mFilter row for type ms3oc |
Stock chunks use Fenom. Styles read data-ms3oc-*, not theme class names.
ms3oc: mFilter