Skip to content

๐Ÿ›’ OpenCart 2.3.x selected product option by default in checkout process

License

Notifications You must be signed in to change notification settings

BurdaPraha/oc_default_option

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Option selected by default for OpenCart 2.x

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

Admin

Catalog

Installation

  1. Requiring installed 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.

  1. run SQL command from sql file
  2. optionally you can add row to your .gitignore file with path to svg.xml (example: upload/vqmod/xml/oc_default_option.xml)
  3. celebrate!