Skip to main content

Posts

Showing posts from August, 2022

Add a new library in Opencart (vendor/) with composer

If you have an already installed opencart store and you want to add new libraries or update the olde ones for security reasons (if they do not break everything), this is a possible alternative solution.   Copy the composer.json from a fresh package of your Opencart Version ( You can find all the older versions opencart on bnit.it )  in the "storage" folder. The /storage/ folder, that is usually under the web root or in the system folder. Depends on your configuration.   The following is the content of composer.json for opencart 3.0.3.8 {     "name": "opencart/opencart",     "type": "project",     "description": "OpenCart",     "keywords": ["opencart", "ecommerce", "framework", "opensource"],     "homepage": "http://www.opencart.com",     "license": "GPL-3.0+",     "config": {         "vendor-dir": "./upl