Prices, required steps and stock
How the price of a configuration is calculated, which steps the customer must answer, and how quantity and stock work with Chained Options.
How the price is calculated
The price of one configured product is:
- the base price: the product's special price when one applies to the customer, otherwise the product's price;
- plus the adjustment of every node on the chosen path, from the tree of the product;
- plus the price of the chosen option values in the product's Option tab, for the steps of the configurator and for any other option of the product.
Taxes are then added by OpenCart with the product's tax class, and the result is shown in the customer's currency. The summary on the product page and the cart use the same calculation, made by your server, so they always show the same price.
Fixed amounts and percentages
| Price modifier | How it works | Example with a base price of 1,000 |
|---|---|---|
| No price change | The node does not change the price. | 1,000 |
| Fixed amount | Adds the Price value, in the default currency of your store and before taxes. | Price value 280: 1,280 |
| Percentage | Adds the Price value as a percentage of the base price. | Price value 15: 1,150 |
- Each percentage is calculated on the base price, never on a price that already includes other adjustments. Two nodes of 10 each add 20 % of the base price.
- A negative Price value lowers the price.
- Fixed amounts are converted to the customer's currency like any other OpenCart price.
What the customer sees next to each value
When a value has an adjustment on the current path, the store shows it next to the value name, in the cards, lists and in the summary line of the step:
- for a fixed amount, the amount with its sign, for example
(+280.00); - for a percentage, the resulting product price, for example
(1,150.00).
These texts are formatted in the customer's currency, with its symbol, and without taxes. The total in the summary includes taxes when your store shows prices with taxes. If your store only shows prices to customers who are logged in, a guest sees Price unavailable in the summary.
Required steps
- Every step the customer reaches on the chosen path must be answered. The product cannot be added to the cart until the path is complete.
- Steps after Cut tree here, and steps skipped by Jump to step, are not asked and are not required on that path.
- The Required setting of the configurator's options in the product's Option tab is not used for them: the path decides. Other options of the product keep their own Required setting.
If an incomplete or altered selection reaches the cart, OpenCart refuses it with one of these messages next to the option:
| Message | Meaning |
|---|---|
| Please complete this chained option step. | A step on the chosen path has no answer. |
| The selected value is not valid for the current chained path. | The value is disabled on that path, belongs to a step that is not on the path, or more than one value was sent for one step. |
Quantity
On a product with a configurator, the quantity field and the normal add-to-cart button of the product page are hidden, and the customer adds the product from the summary. The product is added with its minimum quantity. The customer changes the quantity in the shopping cart.
Adjustments are per unit: changing the quantity multiplies the unit price, it does not add the adjustments again.
Stock
Chained Options does not keep stock per configuration or per branch. Stock works as in standard OpenCart:
- the product's own quantity, with the stock settings of your store;
- the quantity and Subtract Stock of each option value in the product's Option tab, which OpenCart checks value by value, not per combination.
The values the module adds to a product start with a large quantity and Subtract Stock set to No, so they never run out by themselves. Change them in the Option tab if you want OpenCart to count stock for a value. The weight and points of the option values also work as in OpenCart.
Still need help?
Open a support ticket from your account and our team will look at your store with you.