I need to add some custom fields to category and products. Of course, that has to be done without modifying core files, so I do not lose my changes with updating core. How do I do that?
How do you usually deploy your projects? Is there any way how to export db configuration to files so I can add it in version control system?
How do I add link to the admin menu programmatically, from my controller?
Kidding, right? Ever heard of OOP, guys?
MHC Web Design
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster
so I do not lose my changes with updating core.
Well, you will loose your changes anyway , by updating OC-Core,
so, better don't worry about too much. By use of OcMod or VqMod,
it's the easiest way, to eventually make changes later work again with
upgraded Source. Just don't bet on it, OC has and will still be changing
for a good time to come, and new ways of doing it require new ways of
implementing Mods, by Nature of Things!
Just to add my 2 Cents on this
I don't use the Forum Mailer, to reach me, contact: firstname.lastname@example.org
OpenCart LIGHT v.188.8.131.52 http://www.bigmax.ch/
OpenCart V-PRO v.184.108.40.206 http://www.ocshop.li/shop/
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
Code: Select all
<file name="path from admin or catalog dir to file you want to modify"> <operation> <search position="after"> <![CDATA[ // find string after which you want to add your code ]]> </search> <add> <![CDATA[ // code you want to add ]]> </add> </operation> <file>
Code: Select all
<file name="admin/controller/common/header.php"> <operation> <search position="after"> <![CDATA[ $results = $this->model_setting_store->getStores(); ]]> </search> <add> <![CDATA[ // code you want to add ]]> </add> </operation> <file>
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: email@example.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Users browsing this forum: No registered users and 9 guests