Super !
Super !
I am still running Zen Cart 1.3.8a. I have not yet figured out how to upgrade to the latest version. I need to be able to edit my orders and Edit Orders looks like a good solution. Will it work with my version or am I asking for trouble?
Thanks,
Christy
Neither the 1.3.9 or v1.5 versions were tested with older versions.. So no clue if they would.. Suggest that you think about upgrading Zen Cart 1.3.8 versus worrying about trying to make a version of Edit Orders written for newer versions of Zen Cart work with an outdated and unsafe version of Zen Cart. Zen Cart v1.3.8 is vulnerable to hackers..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
So I am trying to incorporate the patches you posted here, and I am not sure HOW to interpret the content of these files..
Not sure if the @ symbol stuff is code or something else, and I don't think I fully understand the + and - signs.. Are the pluses things to add, and the minus things to remove?? Could use an interpreter..Code:Index: edit_orders_defines.php =================================================================== --- edit_orders_defines.php (revision 376) +++ edit_orders_defines.php (working copy) @@ -1,6 +1,7 @@ <?php // Admin Menu Boxes - define('BOX_CONFIGURATION_EDIT_ORDERS', 'Edit Orders'); +define('BOX_CONFIGURATION_EDIT_ORDERS', 'Edit Orders'); +define('FILENAME_EDIT_ORDERS', 'edit_orders'); // DO NOT EDIT! define('SUPER_ORDERS_VERSION', '4.0'); // DO NOT EDIT!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Just so it's clear the above file is a sample of one of the files you attached here that I am not quite understanding. I have the same issue understanding what to do exactly with all the patches you have submitted.. I was surprised because I was expecting to find revised PHP files so that I could simply use my file comparison program to see the changes you made.. the text files and this format are a bit confusing to me... Hoping you can help me crack the code![]()
Last edited by DivaVocals; 19 Sep 2012 at 06:12 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Remove the line with - and add the lines with +. It looks like there were some extra spaces in front of the first define which is why it's repeated without spaces as the new line.
Leave out the rest ( with @@ and the lines above), this is notes about changes and do not need to be included.
Yes that solves this one file.. the other files are not as clear cut as there seem to be pluses where no actual change occurred.. I really dunno what to do here.. In the name of expediency I may have to skip all of these patches and come back at them later.. It's taken me long enough to update the readme, and I simply do not have time to figure out these files to get down to the actual changes..![]()
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Found one additional change that needs to be made.
In YOUR_ADMIN_FOLDER/edit_orders.php:
Find:
Replace it with:Code:$result = $db -> Execute("SELECT * FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa LEFT JOIN " . TABLE_PRODUCTS_OPTIONS . " po ON po.products_options_id=pa.options_id LEFT JOIN " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov ON pov.products_options_values_id=pa.options_values_id WHERE products_id='$regular_product_id' ");
Code:$result = $db -> Execute("SELECT * FROM " . TABLE_PRODUCTS_ATTRIBUTES . " pa LEFT JOIN " . TABLE_PRODUCTS_OPTIONS . " po ON po.products_options_id=pa.options_id LEFT JOIN " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov ON pov.products_options_values_id=pa.options_values_id WHERE products_id='$regular_product_id' AND pov.language_id = '" . (int)$_SESSION['languages_id'] . "' AND po.language_id = '" . (int)$_SESSION['languages_id'] . "'");
Bookmarks