What it does
- Three styles, chosen per option in the admin: colour chips, picture tiles (the picture of the option value) or buttons with the value name.
- Colour chips use a colour you set once per option value (a colour picker and a #rrggbb box). It is used for every product that has that option. A value without a colour becomes a button with its name, and so does a value without a picture.
- Works with select lists, radio buttons and check boxes. Radio and select pick one value, check boxes pick any number.
- A value that is out of stock (when the product subtracts stock) is crossed out and cannot be picked.
- Chip shape (round or rounded square), size (24 to 72 pixels) and accent colour for the picked chip.
- Keyboard and screen reader friendly: chips are real buttons with the value name as label, and the picked chip says so.
- Only options with a style set in the admin are changed. Text, date, file and other options are left alone. Status switch. No database tables; uninstall removes its event and settings.
- The text for out of stock is in a language file you can copy and translate.
What it does not do
- It does not change the main product picture when a colour is picked.
- The price shown on the page follows the shop's own option price handling; the chips do not add anything to it.
- Only the options of the product page are changed, not options in a quick view or on category lists.
Tested
Installed and used through the real admin installer on OpenCart 2.3.0.2, 3.0.5.1, 4.0.2.3 and 4.1.0.4 (48 to 53 checks each, 0 failures): settings cleaning, the options offered in the editor, colours, pictures and out of stock marks in the page, the script on the right product pages only, the injected script checked with Node, status off and on, uninstall and reinstall. The chips were also clicked in a real browser on all four versions: the real select, radio buttons and check boxes change and fire their change event.
Note
Screenshots are not included yet.