
Originally Posted by
Joseph M
Thank you. I will review those links and read up on altering the database.
I use a second copy of ZC in a separate directory for testing, and make backups of the store and database of the test shop before attempting any changes.
I was able to make changes in the Product - Music product type, but got an error on my music product store pages (but not on general products pages) and got a white page on my admin music product product creation pages (but not on general products). I think this may have been due to not having the database table (called TABLE_MEDIA_FORMAT) set up before the store attempted to utilize them. Anyway, I took the errors being music specific to be a good sign that I was heading in the right direction.
I think setting up the database is the biggest part of the problem here.
in my experience the database part is the easiest part... your experience may differ....
setting up a db table requires the name being put into:
includes/database_tables.php
else what i like to do as much as possible is set up a new file (including any new table defines):
includes/extra_datafiles/my_mods.php
and keep as MUCH as possible in there. that would include all defines, any new functions, etc.... it will make it easier come time to upgrade...
in addition, i am NOT a fan of 2 different defines for admin as well as catalog side. so once you set up the above file, i like to make all of those things accessible from the admin side. you can do that by adding another new file:
YOUR_ADMIN/includes/auto_loaders/config.my_mods.php
and within there add:
PHP Code:
<?php
$autoLoadConfig[200][] = array(
'autoType' => 'require',
'loadFile' => DIR_FS_CATALOG . DIR_WS_INCLUDES . 'extra_datafiles/my_mods.php'
);
hope that helps get you started!
best.
Bookmarks