Page 1 of 1

OCMOD (install.php)

Posted: Mon Mar 16, 2015 10:40 pm
by adems
Hi,
I'm new in this forum, and I have a very interesting URL that guide me to the OCMOD structure.

This page introduce me with OCMOD structure.

Explaining me clearly how to make install.xml where OCMOD properties and how to insert vQmod script,
install.sql where we could modify the OC database.
upload folder where you can put your files to work in the opencart.

....but it doesn't explain about the install.php used for. how the simple script was, or weather we could use the OC PHP class.

is there any body here could give an example of the install.php script?

thx,
.AdeMS.

Re: OCMOD (install.php)

Posted: Tue Feb 21, 2017 4:46 pm
by adrianb1890
I am intersted in this as well, there is no documentation regarding install.php or example.

Re: OCMOD (install.php)

Posted: Sun Nov 05, 2017 9:25 am
by boundtoimpress
Has there been any new documentation on the use of install.php as yet?

I'd like to add an additional column to the products table to enable "Call for Price" on certain products.

The install.php would appear to be the place to do this type of one-off install procedure.

Re: OCMOD (install.php)

Posted: Sun Nov 05, 2017 1:57 pm
by IP_CAM
Fellows, you're talking secrets, OcMod has nothing to do with an install.php File. ???
And better than just talking about some interesting Links, SHOWN THEM HERE !
Ernie

Re: OCMOD (install.php)

Posted: Sun Nov 05, 2017 2:08 pm
by boundtoimpress
The reference to the install.php is about halfway down this page:
http://docs.opencart.com/extension/modifications/

Re: OCMOD (install.php)

Posted: Sun Nov 05, 2017 10:46 pm
by IP_CAM
"install.php - optional"
This is an optional file containing custom php scripts implementing any post-installation logic if needed.


Well, as I mentioned, this file has nothing to do with OcMod, it's an additional install routine, doing it's Job,
after the OcMod itself has been installed, as it looks, it's just part of the OcMod Upload Content.
Ernie