Skip to content
OpenCart · User manual

Options combinations

Version 2.5.0 Product page
Chapter 5

General settings

Every field of the General tab of the settings screen, in the order shown: status, template compatibility, combination fields, product page design, product list design, stock and texts.

Opening and saving the settings

Go to Extensions > Extensions > Modules and press the edit button of Options Combinations. Press Apply changes, the blue button with a tick at the top right, to save: the page stays open and confirms that the settings were saved.

Several switches open more fields when you enable them. Fields marked as "per language" show one input for each language of your shop.

General status

SettingWhat it does
StatusTurns the whole extension on or off. When it is disabled, the combinations editor disappears from the product form and the shop shows no combinations. Your data is kept.

Template compatibility

These fields are for themes that have no compatibility package. Read Theme compatibility before changing them.

SettingWhat it does
Enable generic functionalityEnable it if your theme is not the default one and is not in the list of compatible themes. The Add to cart button of the product page is replaced by a new button. When the customer presses it, a popup opens where they choose the options and add the product to the cart.
Cart button textPer language. Text of the button that replaces Add to cart. Default: "Choose option and add to cart".
Generic popup button "Add" textPer language. Text of the button that adds to the cart inside the popup. Default: "Add to cart".
Generic popup button "Close" textPer language. Text of the button that closes the popup. Default: "Close".
Choose options textPer language. Text shown in the popup before a combination is chosen. Default: "Choose options to see product data".
Add to cart button selectorThe JavaScript selector of the add to cart button of your theme's product page. Default: #button-cart. Change it only if your theme uses another id or class for that button.
Custom JS/CSS CodeCode added at the end of the product page in generic mode. Wrap JavaScript in script tags and CSS in style tags. If your theme styles the add to cart button through its id, copy those styles to the selector #button-add-modal, which is the new button.

Options combination fields

Each switch shows or hides one piece of data in the combinations editor and enables its use in the shop. Disable what you do not need so the editor stays simple. Quantity and Subtract Stock are always available.

SettingDefaultWhat it does
ImagesOnEach combination has its own images. They replace the product gallery when the combination is selected.
SKUOnEach combination has its own SKU.
UPCOnEach combination has its own UPC.
PriceOnEach combination has its own price, as a fixed amount or as a difference from the product price.
Prices by customer groupOnThe price of a combination is set separately for every customer group. When it is off, one price is used for all groups.
Special PriceOnEach combination has its own special prices with customer group, priority and dates.
DiscountsOnEach combination has its own quantity discounts.
PointsOffEach combination has its own number of points needed to buy it.
Points by customer groupsOffThe points are set separately for every customer group.
Reward PointsOffEach combination has its own reward points earned by the customer.
Reward Points by customer groupsOffThe reward points are set separately for every customer group.
ModelOnEach combination has its own model. It replaces the product model on the product page, in the cart and in the order.
WeightOnEach combination has its own weight, as a fixed amount or as a difference from the product weight. Used for shipping.
DimensionsOffEach combination has its own length, width and height.
Extra TextOnEach combination has a free text shown on the product page when it is selected.
SEO UrlOnOpenCart 3.x only. Each combination has its own SEO keyword per store and language.

Product inner view design

These fields change how the options look on the product page. See Storefront for what the customer sees.

SettingWhat it does
Stock CountWhen a combination is selected, its quantity is shown in brackets after the stock status, for example "In stock (123)". On by default.
Button "Reset Options"Shows a link after the options that clears the whole selection, so the customer can start again. Off by default.
Button textPer language. Text of the reset link. Default: "Reset options".

Option like images

Enable Option like images to show the values of the chosen options as small pictures instead of a list, a typical use for colours.

SettingWhat it does
Hide options not availableValues that cannot be combined with the current selection are hidden. When it is off they stay visible but disabled.
ImageWhere the picture of each value comes from. Option value image uses the image set for the value in Catalog > Options. First option combination image uses the first image of a combination that has that value.
OptionsThe options shown as images. Only options of type Select, Radio and Checkbox are listed.
WithWidth of each picture in pixels, numbers only. Default: 24.
HeightHeight of each picture in pixels, numbers only. Default: 24.
Radius (round it)Corner radius in pixels. Default: 0. Use half of the width for round pictures.
Images selected border colorBorder colour of the selected value. Default: 08C.
Images hover border colorBorder colour when the mouse is over a value. Default: DDDDDD.
Tooltip PositionWhere the name of the value appears: top, bottom, left, right or auto.
Tooltip background colorBackground colour of the tooltip. Default: 000.
Tooltip font colorText colour of the tooltip. Default: fff.

Option like list

Enable Option like list to show the values of the chosen options as buttons with their name, a typical use for sizes.

It has the same fields as Option like images, without Image: Hide options not available, Options, With, Height, Radius (round it), Items selected border color, Items hover border color, Tooltip Position, Tooltip background color and Tooltip font color, with the same defaults.

If the same option is chosen in both groups, it is shown as images.

Product list view design

These fields affect category, search, manufacturer and similar product lists.

Option Bullets

Enable Option Bullets to show the values of one option under each product in the lists, as small pictures or texts. Clicking a bullet swaps the product picture.

SettingWhat it does
OptionsThe options used for bullets by default. A product can use a different one: see Product combinations.
Bullet likeWhat a bullet shows. Image: Option value image uses the image of the value from Catalog > Options. Image: First option combination image uses the first image of a combination with that value. Text: Option value name shows the name.
WithWidth of each bullet in pixels. Default: 24.
HeightHeight of each bullet in pixels. Default: 24.
Radius (round it)Corner radius in pixels. Default: 0.
Bullets selected border colorBorder colour of the selected bullet. Default: 08C.

Show combinations as products

SettingWhat it does
Show combinations as productsEach combination is listed in the catalogue as if it were an independent product. An index is rebuilt every time you create, edit or delete a product in the standard OpenCart forms, and the catalogue reads from it.
Options to group combinations byGroups the combinations of each product by the values of the chosen options, so each group is listed as one product. Example: with the combinations Colour: Red, Size: M and Colour: Red, Size: XL, grouping by Colour lists one product "Red"; the sizes can then be shown as bullets on its card.

When you change the grouping options and save, the index of all products is rebuilt. With a large catalogue this can take a while.

Extra

SettingWhat it does
Keep stock at zeroWhen it is on, the stock of a combination and of its product never goes below zero when orders subtract stock. When it is off, the quantity can become negative.

General texts translations

Texts shown to the customer, one value per language.

SettingDefaultWhere it is shown
Text starting fromStarting FromBefore the price of a product with combinations, on its page and in product lists. The price shown is the lowest price among its combinations. If you leave it empty, the lowest price is not calculated and the normal product price is shown.
Text unavailable quantityCan't add %s unit(s) to cart, only %s available.Error when the customer asks for more units than the combination has. Keep both %s: the first is the quantity requested, the second the quantity available.
Text dimensionsDimensions:Label before the dimensions of the selected combination.
Text lengthL:Label of the length.
Text widthW:Label of the width.
Text heightH:Label of the height.
Text Select combination messageYou must select a valid option combinationError when the customer presses add to cart without a complete, existing combination.

Still need help?

Open a support ticket from your account and our team will look at your store with you.