Skip to content
OpenCart · User manual

Options Packs

Version 1.0.1 Product page
Chapter 6

Display settings

Every field of the Options Packs configuration screen: the main switch, the choice of layout and the settings that control how the packs look on the product page.

The configuration screen

Open Options Packs from Extensions > Extensions > Modules. The settings are on the first tab. The screen also has these tabs:

  • FAQ — answers to frequent questions about the extension.
  • Support — a link to open a support ticket in your DevmanExtensions account, with your licence and domain already filled in.
  • Changelog - downloads — the version history of the extension.

To save, click the Apply changes button (the blue tick at the top right). The settings are saved without leaving the screen. Only administrators whose user group has modify permission for the extension can save.

Options Packs status

The main switch. When it is on, the Option Packs tab appears in the product form and products with packs show them in the shop. When it is off, every product shows its normal options and your packs are kept.

Layout Selection

Choose one of the two layouts. Turning one on turns the other off. A picture next to each switch shows how it looks.

SettingWhat it does
Single LayoutEvery pack uses the generic layout: a table with one column per option, and in each column the values with their quantities, for example S x 2.
Dual LayoutPacks with only one option use the custom layout: the value names in a row, and below them a row with the Bottom Name and the quantity of each value. Packs with several options use the generic layout.

The dual layout reads well for simple size runs, for example a row S M L XL above a row Units 2 4 4 2.

Generic Layout Settings

These settings apply to packs shown with the generic layout.

SettingWhat it doesStarting value
Font SizeText size of the pack box, in pixels.12
Text ColorColour of the text of the pack box.666666
Background ColorBackground colour of the pack box.ffffff
Option Column WidthWidth of each option column, in pixels. Leave it empty to make all columns the same width.empty

Custom (Single-Option) Layout Settings

These settings apply to packs shown with the custom layout, that is, packs with one option when Dual Layout is on.

SettingWhat it doesStarting value
Font SizeText size of the pack box, in pixels.12
Text ColorColour of the text of the pack box.666666
Background ColorBackground colour of the pack box.ffffff
Bottom NameThe label at the start of the quantities row, one box per language. If you leave it empty, the shop shows Values.empty
Bottom Name WidthWidth of the area of the bottom name, in pixels.70
Value Item WidthWidth of the area of each value and each quantity, in pixels.70
Value Item AlignmentAlignment of the values and quantities inside their area: Left, Center or Right. With -- None Selected -- they are centred.Center

General Layout Settings

SettingWhat it does
Custom CSSCSS rules added to the product page with the packs, to adjust their look to your theme. For example, .option-pack-box { border: 1px solid #ddd; padding: 10px; margin-bottom: 10px; } draws a frame around each pack.

The pack boxes use the class option-pack-box, with generic-option-box or custom-option-box according to their layout. The contents table uses option-pack-generic-table.

Colours

The colour fields open a colour picker. You can also type a hexadecimal colour without the #, in six digits, for example 666666.

Still need help?

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