Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burdapraha/oc_default_option
🛒 OpenCart 2.3.x selected product option by default in checkout process
https://github.com/burdapraha/oc_default_option
czech-republic opencart opencart-2x opencart-extension product-management vqmod
Last synced: 20 days ago
JSON representation
🛒 OpenCart 2.3.x selected product option by default in checkout process
- Host: GitHub
- URL: https://github.com/burdapraha/oc_default_option
- Owner: BurdaPraha
- License: mit
- Created: 2017-07-31T13:00:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T14:43:17.000Z (over 7 years ago)
- Last Synced: 2024-04-22T10:08:26.864Z (8 months ago)
- Topics: czech-republic, opencart, opencart-2x, opencart-extension, product-management, vqmod
- Homepage: http://burda.cz
- Size: 5.05 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Option selected by default for [OpenCart 2.x](https://github.com/opencart/opencart)
Better UX for your visitors! You can setup a default options for add to the cart from homepage or category.
## Preview
![Category add to cart](./doc/demo_video.gif)
![Admin](./doc/admin_preview.png)
![Catalog](./doc/catalog_product.png)
## 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)
5. optionally you can add row to your `.gitignore` file with path to svg.xml (example: upload/vqmod/xml/oc_default_option.xml)
6. celebrate!