burdapraha / oc_default_option
OpenCart 2.x select option item as checked by default
Package info
github.com/BurdaPraha/oc_default_option
Type:vqmod-plugin
pkg:composer/burdapraha/oc_default_option
1.0
2017-08-01 14:30 UTC
Requires
- php: >=5.6.0
- sasedev/composer-plugin-filecopier: ^1.1
This package is not auto-updated.
Last update: 2026-03-10 09:55:19 UTC
README
Better UX for your visitors! You can setup a default options for add to the cart from homepage or category.
Preview
Installation
- Requiring installed vQmod because vQmod doesn't support installing via composer itself.
composer require burdapraha/oc_default_optioncomposer require sasedev/composer-plugin-filecopierfor files manipulating- 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.
- run SQL command from sql file
- optionally you can add row to your
.gitignorefile with path to svg.xml (example: upload/vqmod/xml/oc_default_option.xml) - celebrate!


