Questions tagged [vqmod]

A virtual modification system designed to avoid having to change core files, primarily in an MVC architecture and very popular with the OpenCart e-commerce package

vQmod™ (aka Virtual Quick Mod) is an override system designed to avoid having to change core files. Instead of making changes to the core files directly, the changes are created as xml search/replace script files. These script files are parsed during page load as each "source" core file is loaded with the "include" or "require" php functions. The source is then patched with the script file changes, and saved to a temporary file. That file is then substituted for the original during execution. The original source file is never altered. This results in a "virtual" change to the core during execution without any actual modification to the core files.

You can download VQmod from GitHub and from Google Code

165 questions
8
votes
1 answer

Add a Custom Field on Opencart admin 'Order Info' page

I want to add custom field on opencart admin order pages. compare value like if oc_order.order_id = oc_custom_table.order_id then display oc_custom_table.comment on admin order list. display same thing on admin order info page. I added a custom…
Syed Mudabbir
  • 287
  • 4
  • 16
7
votes
5 answers

Best way to modify OpenCart without touching Core and VQMOD/OCMOD

Is there a better way then using VQMOD/OCMOD to change OpenCart's core files? Is there some "overrides" folder exists so that I can simply create any PHP file corresponding to the file structure and simply override a core file? (Like it is possible…
Serhii Matrunchyk
  • 9,083
  • 6
  • 34
  • 47
7
votes
4 answers

Opencart how to test if vqmod installed?

I have written a module that uses vqmod for opencart. How can I check if vqmod is installed from within the admin module? I would like to display a warning inside of the module that checks if vqmod is installed? Even better would be to check if it…
John Magnolia
  • 16,769
  • 36
  • 159
  • 270
5
votes
0 answers

Apply xml script of VQmod only when some condition satisfies opencart

How can i create a module which only enables only when some values in config match. This module is completely handled by VQmod. And i want to make sure that xml only executes when some value satisfies. Like…
Vidhyut Pandya
  • 1,605
  • 1
  • 14
  • 27
5
votes
2 answers

Server error VQMOD Opencart permissions: You don't have permission to access /shop/vqmod/install on this server

I have a website running with a content management system running in the root of my website. I have installed the latest version of Opencart in a sub-directory called "shop" - so www.domain.com/shop/ Everything works fine and I can use Opencart as…
Third_Hyperion
  • 467
  • 2
  • 6
  • 14
4
votes
1 answer

OpenCart OCMOD and VQMOD Modification Systems

I am new to OpenCart OCMOD and VQMOD systems. So I need some help. My questions are. It is said that OCMOD is OC2+ default system. It is also said we have to write our OCMOD ourselves. What does it mean? If OCMOD comes with OC2+. Then Why we need…
4
votes
2 answers

Opencart 2.3 Notice: Undefined property: Proxy:: function_name

I am working on Opencart 2.3, I have installed a new extension into the system and since then I am getting an error in the product description page in the front end: Undefined property: Proxy:: function_name** The uploaded extension is in the…
Mike
  • 61
  • 2
  • 3
  • 9
4
votes
4 answers

How to clear cache in Opencart from PHP

I need to clear cache on certain condition from PHP code. How can I do so. I know that there is object Cache exists in opencart engine, but how do delete cache correctly. Or it is possible to delete just folders ? Please give advice.
user4541912
3
votes
1 answer

PHP Warning: require_once failed to open stream: No such file or directory in

I am sure about the codes but it seems it has an error.. 500 internal error.. and when i check it to error logs.. it appears this bug: PHP Warning: require_once(/home/qualityfoodequipment/public_html/system/startup.php) [function.require-once]:…
vee jae
  • 41
  • 1
  • 4
3
votes
0 answers

VQcache is always empty

I am working on opencart and using vqmod for modifying files. My problem is that is not loading files in vqcache and nothing is changing on site. I get some times this error in xml > logs. "VQMod::_parseMods - INVALID XML FILE: : CData section not…
Ammar Ul Hassan
  • 826
  • 1
  • 18
  • 48
3
votes
4 answers

vQmod for OpenCart 2 install instructions

I am using OpenCart 2.0.3.1 and I've followed the installation instructions for vQmod located here. vQmod for OpenCart 2 Then I followed the instructions to upload an XML file but I am not seeing any changes. Do I need to also install this…
Tool Man
  • 311
  • 4
  • 13
3
votes
2 answers

VQmod not working for open cart admin

I am having the most frustrating issue with VQmod. I moved my OpenCart store from a Godaddy VPS to Rackspace's Cloud Sites. The move went fine and everything works properly except the VQmod's on the admin panel. None of them load. No errors in the…
user3167249
  • 1,082
  • 2
  • 14
  • 28
3
votes
1 answer

With what order does OpenCart executes vQmod xml files?

If there are 2 vQmods /vqmod/xml/mymod1.xml & /vqmod/xml/mymod2.xml to change a file (for example) catalog/model/tool/image.php, which vQmod will be executed first in an OpenCart installation?
kanenas
  • 869
  • 1
  • 20
  • 37
3
votes
1 answer

Opencart seo url for view all products page

For my opencart site, I'm using a vQmod show_all_product.xml so that the path /index.php?route=product/category&path=0 shows all my products on a category page. It's working perfectly, but ideally what I would like to do is use a SEO friendly URL to…
user1258303
  • 113
  • 1
  • 1
  • 7
3
votes
1 answer

OpenCart MySQLi issue

I have an OpenCart installation with vqmod. Recently moved to a server with a newer version of PHP which says mysql is deprecated. So I edited config.php to make OpenCart use mysqli instead of mysql. Unfortunately, now getting the error Fatal…
OC2PS
  • 1,037
  • 3
  • 19
  • 34
1
2 3
10 11