OpenCart Documentation
  • Home
  • About
  • Contact
  • Home
  • System Requirements
  • Installation
  • Updating OpenCart
  • Getting Started
  • Where to download
  • Browsing the Store Front
  • Admin Interface
    • Overview
    • Filter
    • Image Manager
    • Adding Multiple Languages
    • Creating a Multi-Store
    • Moving OpenCart to a New Server
    • SEO Keywords
    • SSL Certificates and HTTPS
    • Basic Security Practices
    • vQmod
  • Catalog
    • Categories
      • Overview
      • General
      • Data
      • Design
    • Products
      • Overview
      • General
      • Data
      • Links
      • Attribute
      • Option
      • Discount
      • Special
      • Image
      • Reward Points
      • Design
    • Filters
    • Profiles
    • Attributes
    • Options
    • Manufacturers
    • Downloads
    • Reviews
    • Information
  • Extensions
    • Modules
      • Core Modules
      • Install/Uninstall
      • Editing a Module
      • 3rd Party Modules
    • Shipping
    • Payments
    • Order Totals
    • Product Feeds
  • Sales
    • Orders
    • Returns
    • Customers
      • Overview
      • Customer Groups
      • IP Blacklist
    • Affiliates
    • Coupons
    • Gift Vouchers
    • Mail
  • Reports
    • Customer Reports
      • Order Report
      • Reward Points Report
      • Customer Credit Report
    • Affiliate Reports
      • Affiliate Commission Report
    • Product Reports
      • Products Viewed Report
    • Sales Report
      • Orders report
      • Tax report
      • Shipping report
      • Returns report
      • Coupon Report
  • System
    • Settings
      • General
      • Store
      • Local
      • Option
      • Image
      • Mail
      • Fraud
      • Server
    • Design
      • Layouts
      • Banners
    • Users
    • Localisation
      • Language
      • Currency
      • Stock status
      • Order status
      • Returns
      • Countries
      • Zone
      • Geo zone
      • Taxes
      • Length class
      • Weight class
    • Error logs
    • Backup/Restore
  • Developer Guide
    • Developing Modules
    • Developing new product feeds
    • Loading files in the controller

vQmod

vQmod

While strictly modules, product feeds and OpenCart extensions should be standalone and modular, some require modifications to the OpenCart core. Modifying OpenCart core files greatly reduces your ability to upgrade your store to later versions, and can affect other modules and extensions. vQmod provides a mechanism by which modules requiring OpenCart core modifications can be installed without damaging the integrity of your core system for upgrades. vQmod keeps a list of filenames and changes required, in the form of one XML file per extension. These changes are then created as the core files are used, and the resulting files are stored as cached copies which are executed instead of the original, core PHP or TPL file.

Installing vQmod

If you wish to upgrade your store, or have a 3rd party extension that you have not used before, it is advisable that you use the vQmod system. The vQmod download and instructions for installation can be found here:http://code.google.com/p/vqmod/.

Once you have downloaded the appropriate vQmod zip file provided in the link, you need to uncompress the zip file and FTP the vQmod folder to your site's root directory. From the Filezilla screenshot below, we can see the root directory of this store is located at public_html/opencart in the Remote site side. Uploading the vQmod folder here will make the vqmod folder visible in public_html/opencart.

ftp upload vqmod

vQmod advises you to set the permissions to writable for the vqmod/vqcache folders, index.php, and admin/index.php. In Filezilla you can right click on a file or folder, select "File Permissions...", and enter 755 or 777 in the "Numeric value" to set it to writable.

set permission 0755

The next step in installing vQmod is to visit the install page in your store. Enter your store's location in your browser, then "vqmod/install" afterwards. If your store is located at "www.mystore.com", the vQmod install page would be located at "www.mystore.com/vqmod/install". The following text will appear on the page if it was installed correctly: "VQMOD HAS BEEN INSTALLED ON YOUR SYSTEM!".

Unlike the install folder after installing OpenCart, do not delete vQmod's install folder after the vQmod installation!

vQmod advises that you load your homepage to see if it appears and works correctly after the install. You would also need to check your vqmod/vqcache folder to see if there are new vq files.

Published with GitHub Pages