PHPackages                             burdapraha/oc\_default\_option - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. burdapraha/oc\_default\_option

ActiveVqmod-plugin[Utility &amp; Helpers](/categories/utility)

burdapraha/oc\_default\_option
==============================

OpenCart 2.x select option item as checked by default

1.0(8y ago)09731[2 issues](https://github.com/BurdaPraha/oc_default_option/issues)MITPHP &gt;=5.6.0

Since Aug 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/BurdaPraha/oc_default_option)[ Packagist](https://packagist.org/packages/burdapraha/oc_default_option)[ Docs](http://burda.cz/cs/kariera/volna-mista)[ RSS](/packages/burdapraha-oc-default-option/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Option selected by default for [OpenCart 2.x](https://github.com/opencart/opencart)
===================================================================================

[](#option-selected-by-default-for-opencart-2x)

Better UX for your visitors! You can setup a default options for add to the cart from homepage or category.

Preview
-------

[](#preview)

[![Category add to cart](./doc/demo_video.gif)](./doc/demo_video.gif)

[![Admin](./doc/admin_preview.png)](./doc/admin_preview.png)

[![Catalog](./doc/catalog_product.png)](./doc/catalog_product.png)

Installation
------------

[](#installation)

1. Requiring installed [vQmod](https://github.com/vqmod/vqmod) because vQmod doesn't support installing via composer itself.
2. `composer require burdapraha/oc_default_option`
3. `composer require sasedev/composer-plugin-filecopier` for files manipulating
4. Add this code to your composer.json project file, extra section:

```
    "extra": {
        "filescopier": [
            {
                "source": "vendor/burdapraha/oc_default_option/upload",
                "destination": "upload",
                "debug": "true"
            }
        ]
    }

```

It will move vQmod xml file to correct folder.

5. run SQL command from [sql file](/sql/update_structure.sql)
6. optionally you can add row to your `.gitignore` file with path to svg.xml (example: upload/vqmod/xml/oc\_default\_option.xml)
7. celebrate!

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3203d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46a3d00f296e8ae7ed0b9a83acc41d55810097d637733826dcdb55a7683bece2?d=identicon)[landsman](/maintainers/landsman)

![](https://www.gravatar.com/avatar/4f2042115583abe1c5dbe8791aa506871d16e557c94a9725632a77a881fe0e28?d=identicon)[BurdaPraha](/maintainers/BurdaPraha)

![](https://www.gravatar.com/avatar/17b00d3e538c1943bff7f29e80b899cd4ad822e5e030c6a1735b5e842b3b7fae?d=identicon)[filajovej](/maintainers/filajovej)

---

Top Contributors

[![landsman](https://avatars.githubusercontent.com/u/3184228?v=4)](https://github.com/landsman "landsman (15 commits)")

---

Tags

czech-republicopencartopencart-2xopencart-extensionproduct-managementvqmodoptionsopencartvqmod

### Embed Badge

![Health badge](/badges/burdapraha-oc-default-option/health.svg)

```
[![Health](https://phpackages.com/badges/burdapraha-oc-default-option/health.svg)](https://phpackages.com/packages/burdapraha-oc-default-option)
```

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[spatie/laravel-options

Create arrays of options from different sources

253294.8k2](/packages/spatie-laravel-options)[andreyryabin/sprint.options

Content options for 1C-Bitrix

185.7k](/packages/andreyryabin-sprintoptions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
