Overview
Chained Options turns the options of an OpenCart product into a guided configurator: each choice decides which values and steps come next and how the price changes. This chapter explains the idea and what the module needs.
What chained options are
In a standard OpenCart store every option of a product is independent. The customer sees all the values of all the options at once and can combine any of them, even combinations you do not sell.
With chained options, also called dependent or conditional options, the options are asked in order, one step at a time, and each answer decides what the next step offers. For example, a sofa could be configured like this:
- Layout: straight or with a chaise.
- Size: the sizes that exist for the chosen layout. The largest size can be reserved for the chaise.
- Upholstery: linen, bouclé or velvet.
- Colour: only the colours made in the chosen fabric.
If the customer goes back and changes an earlier answer, the later answers that no longer fit are cleared and the customer chooses them again.
What Chained Options does
- Reusable templates. A template is an ordered list of steps. Each step is an OpenCart option or an option collection, a reusable selection of option values.
- A visual tree for every path. For each value at each step you decide whether it is offered, whether it changes the price, whether the configuration ends there or jumps to a later step, and which product images it shows.
- Per-product configuration. When you assign a template to a product, the product receives its own copy of the tree. You can adapt it for that product without changing the template or other products.
- Visual choices. Each step can be shown as image cards, radio buttons, a select list or the option's own type. Image cards can have a magnifier for large originals, such as fabric samples.
- Help where a choice needs it. Translated help text can be attached to a step and opened with a small question-mark button.
- Images that follow the choice. The product gallery changes to the images of the most specific branch the customer has chosen.
- Prices calculated by the server. Fixed or percentage adjustments are added by OpenCart itself, with its taxes, currencies and the prices of the option values. The summary on the product page and the cart show the same price.
- Checked selections. The cart refuses an incomplete configuration or a value that does not belong to the chosen path.
What it does not do
- It does not keep stock per configuration. Stock works as in standard OpenCart. See Prices, required steps and stock.
- Each step takes exactly one value. Text, text area, file, date and time options cannot be used as steps.
- The SKU, Model and EAN fields of the tree are stored with the branch for your own reference. They are not shown in the store and do not change the product data of the order.
- It is a standalone module: the Options Combinations extension is not needed.
What it needs
| Requirement | Detail |
|---|---|
| OpenCart | 1.5.x to 4.1.x. There is one package for each family: 1.5 to 2.2, 2.3, 3.x and 4.x. |
| Tested on | 1.5.5.1, 1.5.6.4, 2.0.3.1, 2.1.0.2, 2.2.0.0, 2.3.0.2, 3.0.3.9, 3.0.5.1, 4.0.0.0, 4.0.1.1, 4.0.2.3 and 4.1.0.4. |
| PHP | 5.6 or later, and the PHP version your OpenCart version needs. |
| OpenCart 1.5.x | vQmod 2.6 or later must be installed. |
| OpenCart 2.0.x to 3.x | The module adds one modification (OCMOD). You refresh the modifications after installing. |
| OpenCart 4.x | No modification is added: the module uses OpenCart's own events. |
| Outgoing HTTPS | The main screen of the module validates the licence with devmanextensions.com. PHP needs cURL and a working, certificate-verified HTTPS connection. |
| Theme | The default OpenCart theme. Journal 3 integration is included on the OpenCart versions Journal 3 supports. See Theme compatibility for other themes. |
Prices and licence conditions are on the product page.
Languages
The administration of the module is in English and Bulgarian. The few texts the module adds to the storefront, such as the summary titles and the error messages, are also in English and Bulgarian; in any other store language they are shown in English.
Everything the customer reads about the product itself comes from your own content and follows the store language: option names, value names, template names and helper texts.
How this manual is organised
- Installation and Licence and general settings take you from the download to the main screen.
- How chained options are built explains templates, steps, collections and trees. Quick start builds a first configurator from beginning to end.
- One chapter for each screen: Templates, Option collections, The visual tree, Configuring a product and Helpers and value labels.
- Prices, required steps and stock and The storefront explain what the customer sees and pays.
- Theme compatibility and Troubleshooting help when something does not look or work as expected.
Still need help?
Open a support ticket from your account and our team will look at your store with you.