Skip to content
OpenCart · User manual

Options Packs

Version 1.0.1 Product page
Chapter 5

Option packs

Every field of the Option Packs tab of the product form, how pack prices and stock work, and what shoppers see in the shop and in their orders.

Where to find the packs

Packs belong to one product. Go to Catalog > Products, edit the product and open the Option Packs tab, next to the Option tab. The tab appears only while Options Packs status is on in the extension settings.

The tab shows one row per pack. A product without rows is sold with its normal options.

The fields of a pack

ColumnWhat it does
Option Pack NameThe name of the pack, one box per shop language. Every box must be filled, and two packs of the same product cannot have the same name. Below the names is the Price of the pack.
Options & Option valuesThe contents of the pack: a small table of options, each with its own table of values.
QuantityHow many of these packs you have in stock. A whole number, 0 or more.
Sort OrderThe position of the pack in the list on the product page. Lower numbers come first. A whole number, 0 or more.

The blue + button at the bottom of the table (Add Option Pack) adds a pack. The red button at the end of a row (Remove Option Pack) removes it. Changes are saved when you save the product.

Options & Option values

  1. Click the add button of the inner table (Add Option) and choose an option in the Option column. The list shows the options of Catalog > Options that have values. Each option can appear only once in a pack.
  2. In Option Values, click the add button (Add Option Value) for each value of the pack and fill in:
    • Value Name — the option value, chosen from the values of that option. Each value can appear only once per option;
    • Quantity — how many units of this value the pack contains;
    • Price — a plus or minus sign and an amount that changes the pack price for each unit of this value. See below.
  3. Add more options to build mixed packs, for example Size and Color.

The red buttons remove a value (Remove Option Value) or a whole option (Remove Option).

The options used in packs do not need to be added to the product in the Option tab.

How the pack price is calculated

  • If you type a Price for the pack, that is the price of one pack, whatever its contents.
  • If you leave the pack Price empty (or 0), the price is the product price plus, for every value in the pack, its value Price multiplied by its Quantity. A minus sign subtracts instead.

For example, a product priced at 30.00 with a pack containing S x 2 (+0), M x 2 (+0) and XL x 2 (+1.50) costs 30.00 + 2 × 1.50 = 33.00. The product price is counted once per pack, not once per unit, so for packs of several units set the product price to the base price of a pack, or give each pack its own Price.

On the product page the price is shown with taxes according to your shop settings, in the shopper's currency. Specials and discounts of the product are not applied to packs that have their own Price.

How pack stock works

Each pack has its own stock in its Quantity column. When the product has Subtract Stock set to Yes in the Data tab:

  • packs with a quantity of 0 are not shown on the product page;
  • the shopper cannot add more packs to the cart than the pack quantity; the cart counts packs already in it;
  • the pack quantity goes down when an order with that pack is placed.

When Subtract Stock is No, all packs are shown and their quantity is not checked or reduced.

In the shop

On the product page, a product with packs shows the list of packs instead of its normal options. Each pack is a box with a radio button, the pack name and its price in brackets, and a table with its contents. How the table looks depends on the Display settings.

  1. The shopper clicks a pack box to select it.
  2. The quantity field of the product page is the number of packs.
  3. Add to Cart adds the chosen pack. Without a pack selected, the shop shows No option pack selected. If there are not enough packs in stock, it shows The option packs stock isnt enough to satisfy the quantity selected. Please, select a lower quantity.

The cart, the mini cart in the header and the checkout show the product with the pack contents below its name, one line per value, for example - Size: S x 2. The price of the line is the pack price times the number of packs.

In orders

When the order is placed, the pack the customer chose is saved with the order line, and the pack stock is reduced as described above.

In the administration, Sales > Orders shows each product of the order with the contents of the pack the customer bought below its name, for example - Size: M x 3. Products bought without a pack show their name only.

Still need help?

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