/oc_svg

🖼️ OpenCart 2.3.x hacked to allow SVG support

MIT LicenseMIT

SVG support for OpenCart 2.x

Because jpg / png logo are retro!

Installation

  1. Requiring installed vQmod because vQmod doesn't support installing via composer itself.
  2. composer require burdapraha/oc_svg
  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_svg/upload",
                "destination": "upload",
                "debug": "true"
            }
        ]
    }  

It will move vQmod xml file to correct folder.

  1. optionally you can add row to your .gitignore file with path to svg.xml (example: upload/vqmod/xml/svg.xml)
  2. celebrate!