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

Correct way to search and delete in an Opencart VQMOD

I wish to search for a block of code and then completely delete it. Is there a "remove" command or if I use "replace" to I need to leave the ![CDATA[]] in? Here is the code I am using at the moment:
flint781
  • 61
  • 1
  • 4
1
vote
1 answer

vqmod doesn't make changes in frontend files in opencart Version 2.0.0.0

hi friends i am working on open cart Version 2.0.0.0 to build an e-commerce site. i had downloaded some vqmod modules and integrate it in my localhost and its work fine. if i uploaded the same files in my live site. the vqmod changes for frond end…
1
vote
2 answers

Is there any relation of vqmod with database in opencart 2.1?

I installed vqmod in my project on wamp local server, its working fine so i want to upload my work on live server. I want to know is there any relation between vqmod and opencart database after installation. Can any one please guide me.
adnan khalid
  • 201
  • 2
  • 3
  • 8
1
vote
1 answer

Opencart how to put sort by to this site using vqmod

How to put sort by to this site using vqmod? (link: http://togo-online.com/index.php?route=seller/catalog-seller/profile&seller_id=1) How can I connect vqmod sort via xml to the link? Please help me!
1
vote
1 answer

Opencart Vqmod XML load php database variable

I'm trying to create vQmod XML file to avoid editing the core file directly in OpenCart. One of the XML I wanted to create is load some variables in database which this can be done in PHP but I'm not sure how to call the variable database in…
1
vote
1 answer

Opencart vqmod error Cannot redeclare modification()

I have opencart Version 2.0.3.1 and installed vqmod-2.5.1-opencart. I was installing a extension by extension installer by upload the zip file of extension. I got the error: "Fatal error: Cannot redeclare modification() (previously declared in …
user3322389
  • 145
  • 1
  • 11
1
vote
1 answer

How to Create Sub Menu under Product Menu in Opencart Admin

I am trying to create Sub menu under Product menu using VQMOD, but unfortunately i couldn't able to display it in admin. Please see below for the code i used to create menu using VQMOD. Add a link
Nagamani
  • 183
  • 3
  • 15
1
vote
1 answer

Regex to find a div based on the attribute of one of its elements for vqmod xml

Ok, I'm creating a vqmod extension for opencart and I need to add a field to an admin page. The admin page has a form with bootstrap elements like this:
1
vote
1 answer

Ignore CDATA tags for syntax highlighting in Sublime Text 3

I frequently use Sublime Text for editing vQmod code. For those that don't know, vQmod is a dynamic search/replace application that uses XML to modify the core files in OpenCart dynamically. Both the search position and the code to be added are…
1
vote
1 answer

How to install VQmod extension for opencart 2.0.x.x without using FTP

I have installed vqmod extension for opencart 2.0.1.0 from following link http://www.opencart.com/index.php?route=extension/extension/info&extension_id=19501 I have followed installation steps till replaced files. Now, how I should upload Opencart…
Kitti
  • 55
  • 1
  • 1
  • 7
1
vote
1 answer

vQmod does not change the file at all (OpenCart)

So I'm trying to edit this file by adding some lines of code and commenting out something else. I created an xml file and added this:
1
vote
1 answer

Can you directly modify bootstrap.min.css with VQMOD?

I am trying to change bootstrap.min.css using VQMOD in following way and it does not work. Is there any way to fix this other than building a duplicate bootstrap.min.css file? Adds…
Bubba Yakoza
  • 749
  • 2
  • 9
  • 17
1
vote
1 answer

Opencart Fatal Error with Automatic SEO Title

I i have installed top Module following the steps provided by the producer, the module installs successfully but then i get a fatal error saying. Fatal error: Call to undefined method ControllerModuleAutoSeoTitle::render() in…
Metexora
  • 66
  • 1
  • 7
1
vote
1 answer

vqmod advanced search by searching twice

I am faced with a problem where I need to search for a line of code which is too common. Say I have this code and need to convert it into an array_merge: $this['data'][] = array( 'firstname' => $query->row['firstname'], 'lastname' …
user1918032
  • 33
  • 1
  • 1
  • 5
1
vote
1 answer

In Opencart 2.0 OCMod, modified file is not used for view

I've deployed a sample Opencart2.0 under a subdirectory in my godaddy domain. I've created a OCMod xml file remove_unused_desc_from_category.ocmod.xml which removes a line from /catalog/view/theme/default/template/product/category.tpl I've…
Stalin Gino
  • 592
  • 9
  • 28