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
1
vote
1 answer

PHP Notice: Undefined variable: http_type

I get the following PHP Notice in my opencart log file. Undefined variable: http_type in /home/AAA/public_html/vqmod/vqcache/vq2-catalog_view_theme_template_product_product.tpl on line 3 Here is what I have in my product.php file's few first few…
Schwann
  • 167
  • 1
  • 1
  • 13
1
vote
0 answers

OC vQmod won't work on theme

I am currently in a situation where vQmod will not work at all exclusively on files related to a theme. I have contacted the developer who has very rudely refused to assist and won't text vQmod code on their demo store server for me. The theme is…
Luke C
  • 172
  • 2
  • 13
1
vote
3 answers

Opencart modules and vqmod not working on custom templates

I have recently started a store powered by opencart. I have purchased a custom template for my store. All has gone well for that- I thought. Then I purchased some modules and they are not working on the custom theme. I have switched back to the…
Amnesia
  • 11
  • 3
1
vote
6 answers

VQMod does not appear to be properly generating vqcache files

I can not use vqmod. When ı click vqmod in admin panel it says VQMod does not appear to be properly generating vqcache file I use also auto related products xml. caused by this thing? I don't know. Also some product pages says that Notice:…
user3392616
  • 21
  • 1
  • 3
1
vote
1 answer

How to make a xml file in opencart for edit and model and controller

I am new to Open cart and working with VQmod and tried this code for editing my header logo and some text.
1
vote
1 answer

Changing index.php file through xml

I am making an extension for multiple vendor in opencart and i am struck at a point. I want to add some code to the index.php file using the vqmod xml file. The xml file is working fine while making changes in other files but it doesn't work for…
saurabh
  • 41
  • 9
1
vote
1 answer

Search multiple lines in xml file

I am working on multi-vendor extension in open cart and i want to make changes in vqmod's XML file. I want to add code in some of my files. The code that i want to add is after the if and for statements, so i need to search those lines and add my…
saurabh
  • 41
  • 9
1
vote
1 answer

vQmod displays xml on top of the page after minor change in PHP code

All, please help I am using OpenCart with vQmod and some OpenCart extension installed Problem I am having is: if I make a small change in PHP file on the line that is not being modified/serched by vQmod, when displayed on screen, there will be some…
user1261591
  • 49
  • 2
  • 6
1
vote
0 answers

Vqcache not working with a local Vagrant instance on Opencart

So I have an existing opencart system with a vqmod extension on it. I'm trying to set this up locally to work on by can't get vqmod to create it's cache files. I'm using vagrant as the local environment. I know vqmod has some crazy permissions…
Steve Smith
  • 734
  • 6
  • 14
  • 29
1
vote
1 answer

How do I use regex with vQmod?

Once again, I am stuck with some regex and I don't really know where to start. I am using vQmod to build an OpenCart extension and I want to be able to search all files that have this code: if (file_exists(DIR_TEMPLATE .…
Peter Stuart
  • 2,362
  • 7
  • 42
  • 73
1
vote
2 answers

VQmod on new VPS not writing vqcache files or log files

I am just moving an opencart site to a staging server and have vqmod installed in the site however I can't get vqmod to create the vqcache files and it isn't even logging any errors in the vqmod/log folder. I've basically set the directory structure…
Steve Smith
  • 734
  • 6
  • 14
  • 29
1
vote
2 answers

Get Image file name using regex wildcard search vqmod

I am wanting to remove the icons from the h1 title element in opencart admin panel. I'm trying to use an asterisk as a wildcard for the file name, but it's not working out. The docs says the search data:

Lea
  • 934
  • 9
  • 17
  • 34

1
vote
1 answer

Opencart option_value_id

OpenCart attaches an html value="" attribute to each