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
0
votes
2 answers

Is there any "vqmod" to allow multiple image uploading?

I Want a vqmod xml file to add ability to upload multiple images at once. Is there such a things around? Edit: Opencart version:2.1.0.1
mehdi jalilvand
  • 450
  • 4
  • 12
0
votes
0 answers

File gets replaced in opencart using VQmod

I have been working in opencart which contains VQmod in that I have faced the following problem. I did changes in view file (tpl) and its working fine in localhost. After Uploading to live server, the changes which I made are in the view file, but…
0
votes
2 answers

Opencart 1.5.6.4 - How to enforce telephone field length

People visiting our store enter telephone numbers in all formats including prefixing 0, 00, +(countrycode). By default(and strangely) Opencart registeration field for telephone allows alphanumeric values upto 32 characters in length. Could anyone…
ASG
  • 31
  • 1
  • 7
0
votes
2 answers

Opencart - Test VQmod XML file - What's wrong here?

just getting used to using VQMod. What is wrong here? It isn't updating on the front-end. VQMOD CORE FOR OPENCART - DO NOT REMOVE 1.4.x and above
Joe Consterdine
  • 1,035
  • 1
  • 18
  • 37
0
votes
0 answers

opencart 2 problems with vqmod / ocmod, when DIR_CATALOG used in webshop

Finally I found why an admin extension was giving a blanc screen on the home page of a webshop. Nothing wrong with that extension, just some changes in some admin programs in ocmod. But the strange thing is without that extension no notice errors…
Francois99
  • 73
  • 1
  • 1
  • 10
0
votes
0 answers

vqmod adding code twice in Opencart

I am writing a short script to add to catalog/model/checkout/order.php using vqmod in Opencart. However it seems to add the code twice. Its worth mentioning it also seems to create two…
Adrian
  • 1,976
  • 5
  • 41
  • 105
0
votes
1 answer

Opencart: Is it possible to use a variable from one vQmod xml to another?

Opencart: 1.5.6.5_rc vQmod: 2.5.1 I have two vQmod xml: /vqmod/xml/mymod1.xml /vqmod/xml/mymod2.xml I am aware that vQmod loads and executes the xml files in alphabetical order. So if in mymod1.xml I have $a1 variable, is it possible to use $a1…
kanenas
  • 869
  • 1
  • 20
  • 37
0
votes
1 answer

Product views counter on product page - opencart

My opencart version is 1.5.6 I want to show product views counter on product page. For example "Viewed by 350 people" I installed vQmod and dragged-dropped a xml like in here: https://forum.opencart.com/viewtopic.php?f=131&t=103535 But it didn't…
junior
  • 37
  • 2
  • 9
0
votes
2 answers

VQMod offset issue in OpenCart

I`m trying to replace a chunk of code on the model with custom code, that I wrote. Here is the code. I works, but it leaves a lot of offset. Maybe there is a better way to do this
nikksan
  • 3,341
  • 3
  • 22
  • 27
0
votes
1 answer

vQmod and OCmod duplicating modifications

I'm using vQmod 2.5.1 and Opencart 2.0.3.1, and I've run into an interesting problem. I've got a vQmod xml that makes some modifications to the system/library/cart.php file. Here's an example:
Chris
  • 4,277
  • 7
  • 40
  • 55
0
votes
0 answers

OpenCart 2 - VQmod Extensions not appearing

Getting nowhere on my own - help appreciated. I'm new to Opencart, and have 2.0.3.1 installed. Installed VQmod so I could install Flexible Menu, so the menu would work on phones. Went to site/vqmod/install, and it has done - now tells me it's…
MxHarry
  • 1
  • 1
0
votes
1 answer

Search for multiple strings in VQMod

In VQMod it is possible to perform the same operations on multiple files by separating the file paths with a comma, e.g. I am wanting to add the same bit of code after three…
Richard Parnaby-King
  • 14,703
  • 11
  • 69
  • 129
0
votes
0 answers

Need help about VQMOD Positioning and Scripting

I need to replace the first line of following code through VQMOD. How will I achieve it?
Ali Zia
  • 3,825
  • 5
  • 29
  • 77
0
votes
1 answer

How to create new database table (if not exist) through VQMOD

I want to make an operation in my vqmod that if store_manager table exist, don't do anything. Otherwise create table. How can I achieve it?
Ali Zia
  • 3,825
  • 5
  • 29
  • 77
0
votes
0 answers

OpenCart syntax error, unexpected T_VARIABLE, expecting T_FUNCTION

I get this error when someone try to go to checkout in my opencart store: Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /public_html/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 197 Here is the like 197…
Sam
  • 3
  • 1
  • 6