If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Started by divavocals on 4 Dec 2010, 6:07 PM · Views: 84,220

Results 161 to 180 of 660
8 Jan 2011, 3:57 AM
#161
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

<!--Begin add Edit Orders button to bottom button set -->
        <td colspan="2" align="right" class="noprint"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_orders.gif', IMAGE_ORDERS) . '</a> <a href="' . zen_href_link(FILENAME_ORDER_EDIT, 'oID=' . $oID) . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'; ?></td>
<!--End add Edit Orders button to bottom button set -->
      </tr> 

is the first one you asked for.

8 Jan 2011, 4:00 AM
#162
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

I didn't find what you asked for the second one, but I did find the following:

// Begin add Edit Orders button to lower buttons
        $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_DETAILS) . '</a> <a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
// End add Edit Orders button to lower buttons 
8 Jan 2011, 4:09 AM
#163
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

when I type in the line gave, I do get the page I expect to see (a few images seem to be missing though). I do see the fields that can be edited. If I select orders or superorders, instead of .....edit_orders.php....I get Superorders... and can't edit anything.

and now I can't access my admin login page anymore.

The log file shows:

[07-Jan-2011 22:06:11] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35
[07-Jan-2011 22:06:11] PHP Warning:  require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35
[07-Jan-2011 22:06:11] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35

I've obviously done something wrong. Suggestions on how to correct it gratefully accepted!:blush:

8 Jan 2011, 4:35 AM
#164
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

If you have read through this support thread, you would see that the language issue has been discussed and is addressed in the pending release. Please see the posts regarding the upcoming release and the previous discussions about the language error.. (this is why it's ALWAYS helpful to read through the support threads.. often there's lots of GOOD data already posted..:smile:)

PM me if you want to get this new 3.03 release right now.. If you'd prefer to wait for the admins to approve, then no sweat.. The offer is there if you like..:smile:

highlander:

when I type in the line gave, I do get the page I expect to see (a few images seem to be missing though). I do see the fields that can be edited. If I select orders or superorders, instead of .....edit_orders.php....I get Superorders... and can't edit anything.

and now I can't access my admin login page anymore.

The log file shows:

[07-Jan-2011 22:06:11] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35
[07-Jan-2011 22:06:11] PHP Warning: require(includes/languages/1.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35
[07-Jan-2011 22:06:11] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mccarthy/public_html/store/macFie_62/includes/init_includes/init_languages.php on line 35


As for the missing edit button, I'm pretty certain that you've not fully brought over all the Edit Orders changes for both orders.php and super_orders.php

There are three edits and they are clearly commented as follows:
<!--Begin add Edit Orders button to bottom button set -->

<!--Begin add Edit Orders icons to order list -->

// Begin add Edit Orders button to lower buttons

If you are not seeing these comments in your orders.php file, then you are missing the code to add the various edit buttons and icons..

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.

8 Jan 2011, 6:41 PM
#165
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Then something is wrong on your side.. I am looking at the code in the EXACT file you got in that zip file.

The modified orders.php file included in the Edit Orders fileset (found in the 2_Required_Core_Edits folder) adds the edit buttons. The modifications are clearly marked can be found in the following locations:
Lines 624-626

Lines 831 - 833

Lines 928-930

I don't know why you don't see these changes.. I just TRIPLE CHECKED the files and they are indeed there..

Some things to consider:

  • What are you using to find this code??
  • What are you using to merge the changes into your existing orders.php file???
  • What are you using to unzip the files??
  • What are you using to FTP the files to your site??

The issues you are having with getting these changes to "stick" may very well be due to the tools you are using to achieve these changes..

highlander:

Thanks. I just downloaded the addon again. I opened the orders.php file included in the addon, and searched for the 3 lines you mentioned. The onlyt one that exists in the new orders.php file is
[code]<!--Begin add Edit Orders button to bottom button set -->/CODE] The other two sections do not exist in the file.
:no:

The details button only displays the order details page (as it should). The missing edit buttons and icons can only be due to all the required changes not being incorporated to your orders.php file..

highlander:

I used the file you sent me and followed the instructions. If I type in the line you suggested for edit-orders... in my browser window, I see exactly what I should expect to see with all appropriate editable fields in an order. However If I just select an order, I still do not see the edit button, and if I select details, I don't get the editable fields

Wouldn't be helpful to get your files.. I already know the required code is missing.. As for personally taking a look at your site, I'm afraid that I'm a LOT slammed today and wouldn't have the time to take a look at your site.. E-mail the information and if I have some free time later I might be able to take a look.. I am working both my part time gig and overtime for my dayjob today (and possibly tomorrow) So I can't promise anything though..

highlander:

Would it be helpful if I sent you some files you want to look at, or could I give you admin access to my admin site?

I don't understand this.. I DID provide you with the relevant changes.. They are in the Edit Orders fileset.. I don't know why you are unable to find the clearly marked modifications in these files..

highlander:

OR can you provide me with relevant code to insert into superorders.php and orders.php to resolve this glitch that I'm experiencing? I fully accept that I likely could have done something incorrectly somewhere in the past.

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.

8 Jan 2011, 9:16 PM
#166
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

You seem to be slamming me i your last post for asking pertinent questions,but I'm trying to be helpful by providing as much info as possible in my notes. I know what it's like trying to troubleshoot in a void. I work in change/release management, have worked in development, QA, Production Support and created installation and trainiing manuals for complex custom systems. I upgrade and patch complex systems on a regular basis and have been doing so for 20 + years. I can follow instructions. The first rule of any upgrade or patch procedure is that any prerequisite steps or procedures are always identified in advance and placed in the sequence necessary for a successful install. A note half way down the page and third tab in the list doesn't exactly indicate a sequential order of operations, but that's ok because I now know what you meant, and it could be corrected without major effort. No harm done.

I find all 3 of those sections now. I don't know why they wouldn't find earlier.

I am using latest edition of Fetch, latest edition of TextWrangler. I use an iMac for a desktop.

<!--Begin add Edit Orders button to bottom button set -->
    <td colspan="2" align="right" class="noprint"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_orders.gif', IMAGE_ORDERS) . '</a> <a href="' . zen_href_link(FILENAME_ORDER_EDIT, 'oID=' . $oID) . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'; ?></td>
<!--End add Edit Orders button to bottom button set -->
<!--Begin add Edit Orders icons to order list -->
            <td class="dataTableContent" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders->fields['orders_id'] . '&action=edit', 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; ?><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders->fields['orders_id'] . '&action=edit', 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_details.gif', IMAGE_DETAILS) . '</a>'; ?><?php if (isset($oInfo) && is_object($oInfo) && ($orders->fields['orders_id'] == $oInfo->orders_id)) { echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID')) . 'oID=' . $orders->fields['orders_id'], 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td>
<!--End add Edit Orders icons to order list -->

// Begin add Edit Orders button to lower buttons
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_DETAILS) . '</a> <a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
// End add Edit Orders button to lower buttons

when I select orders off the menu, what shows is ......

http://mccarthyhighland.com/store/my admin folder/super_orders.php There is no edit button. If I select an order to view and substitute the word "edit_orders.php" for the word "superorders.php" in my browser address bar, I see what I should see to edit an order. The blank screen issue no longer occurs. i'm hoping you can see what's missing from the orders.php file that I am not recognizing. I didn't develop this, so I have no knowledge of it's inner workings. Let me know if you would like any pieces of superorders.php and I will post them here.

DivaVocals:

Then something is wrong on your side.. I am looking at the code in the EXACT file you got in that zip file.

The modified orders.php file included in the Edit Orders fileset (found in the 2_Required_Core_Edits folder) adds the edit buttons. The modifications are clearly marked can be found in the following locations:
Lines 624-626

Lines 831 - 833

Lines 928-930

I don't know why you don't see these changes.. I just TRIPLE CHECKED the files and they are indeed there..

Some things to consider:

  • What are you using to find this code??
  • What are you using to merge the changes into your existing orders.php file???
  • What are you using to unzip the files??
  • What are you using to FTP the files to your site??

The issues you are having with getting these changes to "stick" may very well be due to the tools you are using to achieve these changes..

The details button only displays the order details page (as it should). The missing edit buttons and icons can only be due to all the required changes not being incorporated to your orders.php file..

Wouldn't be helpful to get your files.. I already know the required code is missing.. As for personally taking a look at your site, I'm afraid that I'm a LOT slammed today and wouldn't have the time to take a look at your site.. E-mail the information and if I have some free time later I might be able to take a look.. I am working both my part time gig and overtime for my dayjob today (and possibly tomorrow) So I can't promise anything though..

I don't understand this.. I DID provide you with the relevant changes.. They are in the Edit Orders fileset.. I don't know why you are unable to find the clearly marked modifications in these files..

8 Jan 2011, 10:39 PM
#167
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

:ohmy: Not slamming anyone at all..

Simply put the install is straightforward.. If all the files needed are in place, then it should just work.. If it doesn't then that is indicative of something missing that should be there.. That's not a slam.. just a statement of what the situation is.. Sorry you are taking this the wrong way.. I am simply trying to get to the bottom of the issue 'tis all..

highlander:

You seem to be slamming me i your last post for asking pertinent questions,but I'm trying to be helpful by providing as much info as possible in my notes.

Since I cannot see your store files I can only make suggestions based on the information you've provided..

If the code that drives the edit buttons and icons is in place then there's no reason they won't work unless something else is missing, and there's one more thing that occurred to me that it MIGHT be..

So let me ask this.. Based on the information you've provided it sounds like you are using Super Orders 1.3.9 and you made the Super Orders "Optional Edits" which re-directs any calls for orders.php to super_orders.php..

You've made the changes in the super_orders.php from the Super Orders patch files correct - including running the SQL patch??

If so did you turn on the Edit Orders buttons from Super Orders? (should be the last option in the Super Orders admin..)

Admin > Configuration > Super Orders

AND did you activate the Super Orders buttons in Edit Orders??

From the Edit Orders readme:

Super Orders v1.3.9 or v3.0 users: If you'd like to update the Edit Orders navigation buttons with navigation buttons that take you back to super_orders.php (versus the default orders.php), go to Admin > Configuration > Edit Orders. Set the "Super Orders Module Switch" to "True" to activate the Super Orders navigation buttons in Edit Orders.

If not.. try making both of those changes.. I see that this instruction somehow got dropped from the Edit Orders readme.. (I do know I had the information in an earlier draft of the Edit Orders readme file)

If that doesn't work, then e-mail me your FTP and store login information and I'll try and find some time later this evening to take a look..

highlander:

I find all 3 of those sections now. I don't know why they wouldn't find earlier.

I am using latest edition of Fetch, latest edition of TextWrangler. I use an iMac for a desktop.

when I select orders off the menu, what shows is ......

There is no edit button. If I select an order to view and substitute the word "edit_orders.php" for the word "superorders.php" in my browser address bar, I see what I should see to edit an order. The blank screen issue no longer occurs. i'm hoping you can see what's missing from the orders.php file that I am not recognizing.

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.

8 Jan 2011, 11:10 PM
#168
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

highlander:

A note half way down the page and third tab in the list doesn't exactly indicate a sequential order of operations, but that's ok because I now know what you meant, and it could be corrected without major effort. No harm done..
In order to provide sequential instructions I would have had to repeat the same full set of instructions in a number of ways in order to accommodate every POSSIBLE module combo supported by Edit Orders.. Not every shopowner is using Super Orders or even Ty Package Tracker..

In order to provide the required information and accommodate for the fact that not all shopowners installing Edit Orders will be using Super Orders or Ty Package Tracker this information was placed below the standard install and upgrade instructions..

DivaVocals:

I see that this instruction somehow got dropped from the Edit Orders readme.. (I do know I had the information in an earlier draft of the Edit Orders readme file)

I mis-spoke.. It was indeed included in the readme on the "How to Use" tab.. Perhaps I'll move it to the Super Orders section above..

Edit Orders Integration
If you have Edit Orders v3.0 installed you can now enable Edit Orders buttons in the Super Orders system to integrate Super Orders with Edit Orders.

  1. Install Edit Orders v3.0
  1. Go to Configuration > Super Orders. Set the "Edit Orders Module Switch" to "True"

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.

9 Jan 2011, 4:13 AM
#169
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Super_orders 139 is installed, and whether I click on Customer> orders or Customer>super orders, what app[ears is super_orders. I do not have a super_orders option under Admin>Configuration.

Per your earlier explanation/direction, I copied over the files for 3_super_orders (you have a trivial typo, the instructions say 4_super_orders), then I ran the super_orders sql, then I copied over the files from 1_Install Files, then I copied over 2_Required_Core_Edits, then I ran the edit_orders_install sql. I have set the switch under Configuration Edit Orders to True. I'm half asleep right now, so I hope what I wrote above doesn't have too many typo's in it. :lamo:
Do you think it might help any if I were to install Super_Orders 3?

Cheers!

9 Jan 2011, 4:29 AM
#170
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

highlander:

Super_orders 139 is installed, and whether I click on Customer> orders or Customer>super orders, what app[ears is super_orders. ** I do not have a super_orders option under Admin>Configuration.**

Per your earlier explanation/direction, I copied over the files for 3_super_orders (you have a trivial typo, the instructions say 4_super_orders), then I ran the super_orders sql, then I copied over the files from 1_Install Files, then I copied over 2_Required_Core_Edits, then I ran the edit_orders_install sql. I have set the switch under Configuration Edit Orders to True. I'm half asleep right now, so I hope what I wrote above doesn't have too many typo's in it. :lamo:
Do you think it might help any if I were to install Super_Orders 3?

Cheers!
What I think right now based on the behavior you describe is that you seem to have Super Order installed in an unusual way..

If you applied the "Optional Edits" in Super Orders then you would no longer see "Orders" at all in the Customer menu you would only see Super Orders.. The behavior you describe sounds as if only part of the Super Orders optional edits were completed (hence why regardless of whether you go to Customers > Orders or Customers > Super Orders, you are only directed to the Super Orders page.

Finally if you do not see a Super Orders option under the Configuration menu then something is wrong with your Super Orders install and you will not be able to activate the Edit Orders buttons in Super Orders. This is most likely the reason why you do not see the "Edit" buttons in Super Orders..

Again.. I cannot see your store, and I am posting my assumptions based on the information you have provided..

If Super Orders is indeed installed in the manner I have described, I suspect you will have a very hard time installing Super Orders 3 because you would need to look directly in your database to find out whether or not the configuration table changes needed to view the Super Order configuration menu are in the right place..

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.

9 Jan 2011, 8:24 AM
#171
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

highlander:

Super_orders 139 is installed, and whether I click on Customer> orders or Customer>super orders, what app[ears is super_orders. I do not have a super_orders option under Admin>Configuration.

Per your earlier explanation/direction, I copied over the files for 3_super_orders (you have a trivial typo, the instructions say 4_super_orders), then I ran the super_orders sql, then I copied over the files from 1_Install Files, then I copied over 2_Required_Core_Edits, then I ran the edit_orders_install sql. I have set the switch under Configuration Edit Orders to True. I'm half asleep right now, so I hope what I wrote above doesn't have too many typo's in it.

Do you think it might help any if I were to install Super_Orders 3?

Cheers!

Highlander,

I been working with DivaVocals on on this modification for Super Orders 3.0 since it's release along with a few other devs just by following your posts and notes I have reinstalled this module at least 10 times and cannot recreate your error. To give us a better understanding have you by chance ever had Edit Orders installed previously to Super Orders 3.0?

If not then it is very possible either a file got corrupted during your upload to the FTP or you are missing files. Or you could have improperly installed the SQL file that is included. If you had Super Orders 2.0 installed run the uninstall_super_orders_prior_versions.sql that is included with Super Orders 3.0 folder if you did not have Super Orders 2.0 installed run this file super_orders_uninstall_v30.sql instead and start all over.

I have put a little guide for you to do and once finished post back your results it will be below this post

First and foremost try uninstalling any versions of Edit Orders previous to Super Orders 3.0 if you had it installed if you do not have the previous version of edit orders you can download it here go through the readme.txt and remove any modifications you did to any files that were described in the old version or upload new files from the 1.3.9h version install folder and start over

Small Guide: (Assuming you are using out of the box php files (no modifications of any kind) or on a test store, do this at your own risk.) I highly recommend you doing this with a test site rather then a live site this way you know for sure no other modifications are interrupting your Super Orders 3.0 install and just IN CASE make things worse

If Edit Orders Was Installed Previously: Or over write with new php files from the 1.3.9h folder of zencart

  1. Remove any code you may have added from the readme.txt in Edit Orders Version: 1.5.3 to 1.3.9h version or Upload brand new files
  2. If installed (Super Orders 2.0) remove this version completely from your installation including the sql
  3. Uninstall Super Orders 3.0 you have installed and run the uninstaller SQL included with the modification so you know that the tables have been removed from the database and remove any files you uploaded from the Super Orders 3.0 Folder including the optional addons as well if any are installed

Install New Super Orders 3.0 (Since Edit Orders is included with the module the old version is no longer needed)

  1. Upload all files inside the 1_Install_Files directory. Be sure to rename YOUR_ADMIN_FOLDER to your actual admin directory, in a default install of 1.3.9h it is named zc_admin <-- use this for reference to yours

  2. Upload the files directory 2_Required_Core_Edits. Be sure to rename YOUR_ADMIN_FOLDER to your actual admin directory, in a default install of 1.3.9h it is named zc_admin <-- use this for reference to yours

  3. Okay with step 1 and 2 out of the way, JUST IN CASE if you are installing one of the OPTIONAL add-ons which are a1_USPS_W_INFO_AT_A_GLANCE, a2_FEC, a3_COWOA you cannot just drop these into your ftp due to the fact one addon will over write the other ones, so if you are trying to use all three you will have to merge them all into one. JUST IN CASE, covering all bases. Right now only install the required files in step 1 and 2

  4. Instead of opening the SQL file and pasting the database go to your admin --> tools --> Install SQL Patches click the browse button, go to the folder where Super Orders 3.0 is and upload the actual SQL file super_orders_install_v30.sql to your database this is more accurate then pasting it directly into the box

  5. DO NOT install these SQL query's super_orders_upgrade.sql or super_orders_ty_tracker_upgrade.sql at the point because they will not be installed with Super Orders 3.0 if you have these mods installed already you can run these at a later time if they are required.

  6. Now if you do not have Super Orders LINK in your Customers Drop down menu this means you are missing the link to super orders which will be in the folder 3_Optional_Files however if you have other mods that effect this menu you may need to merge the Super Orders in and a good program for you to use which is simple is winmerge its free and you can Google search if it need be. Nevertheless a test order will be a clean install and you can just drop this into that test store ftp all you need to do is rename the YOUR_ADMIN_FOLDER to your actual admin directory

  7. Now when this is all said and done see if you have Super Orders under your configuration Menu in the admin and see if Super Orders appears in the Customers drop down.

I hope this helps you out. ALSO note I take no responsibility for the above guide all edits, modifications are to be completed at your own risk. Good Luck

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

9 Jan 2011, 5:54 PM
#172
77deltaboy avatar

77deltaboy

New Zenner

Join Date:
Jan 2011
Posts:
2
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Hello!

Thanks for your great extension edit_orders_v3.03.

I'm using Zen_cart 1.3.9.g german version. It's a compleet new install for testing.

So far edit_orders is working properly. Just when I set up the shop to show split taxes its given trouble. The tax rate isn't stored properly in table orders_total.

A litle example:

After ordering some Products in shop the order total details are shown properly in admin, see the 1st screenshot.
7% tax = 14€
19% tax = 38€
sum = 52€

After editing the order and pressing the update button the tax isn't stored properly anymore. The tax gets summed together and stored 2 times in both lines of table, see 2nd screenshot.

7% tax = 52€
19% tax = 52€
sum = 104€

cause of this the total price to pay is to high.

In my opinion thats just a problem while storing data into the database. I'm not sure where to find the sql-statement for storing that data.

Thanks for your support.

http://www.heliotrop-fiwa.de/images/before_edit.jpg
http://www.heliotrop-fiwa.de/images/after_edit.jpg
9 Jan 2011, 6:16 PM
#173
highlander avatar

highlander

Zen Follower

Join Date:
May 2007
Posts:
125
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Hello Knuckle101. Thanks for jumping in. Thanks also to DIVA for her continued help. :clap: I'll continue looking through this and will let you know what I find and will post results and questions if needed. It will be a bit before I can return here as I must leave due to work. One clarification for you, I don't have super_orders 3.0 installed. It's an older version,having gone through the numerous upgrades of zencart to this point. I can't recall when it was installed or by whom at this point. Most of the upgrades have been handled by myself, but not every one. At least i know at this stage that I can overtype with edit_orders.php if I need to. Thankfully, everything else seems to be working flawlessly. I'm beginning to wonder about the advantage of editing orders now that I've moved to online payment processing, and the confusion and workload it might cause to refund and recharge etc :shocking:

9 Jan 2011, 6:36 PM
#174
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Not a simple fix. As this version of Edit Orders is simply an upgrade of sturner's excellent work (see version history in the readme), this is a known limitation of Edit Orders that has existed for some time.

These threads may provide some insight:

77deltaboy:

Hello!

Thanks for your great extension edit_orders_v3.03.

I'm using Zen_cart 1.3.9.g german version. It's a compleet new install for testing.

So far edit_orders is working properly. Just when I set up the shop to show split taxes its given trouble. The tax rate isn't stored properly in table orders_total.

A litle example:

After ordering some Products in shop the order total details are shown properly in admin, see the 1st screenshot.
7% tax = 14€
19% tax = 38€
sum = 52€

After editing the order and pressing the update button the tax isn't stored properly anymore. The tax gets summed together and stored 2 times in both lines of table, see 2nd screenshot.

7% tax = 52€
19% tax = 52€
sum = 104€

cause of this the total price to pay is to high.

In my opinion thats just a problem while storing data into the database. I'm not sure where to find the sql-statement for storing that data.

Thanks for your support.

http://www.heliotrop-fiwa.de/images/before_edit.jpg

> ```
http://www.heliotrop-fiwa.de/images/after_edit.jpg

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.

9 Jan 2011, 7:15 PM
#175
77deltaboy avatar

77deltaboy

New Zenner

Join Date:
Jan 2011
Posts:
2
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Tahnks for your quick answer!

I'l stay tuned and whatch it here

10 Jan 2011, 5:58 PM
#176
leilanddale avatar

leilanddale

New Zenner

Join Date:
Jan 2010
Posts:
69
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Just a reply to a couple of posts on the previous page about the missing "Edit" button.

For those who do not know and have had the same problem. This is NOT in the instructions. As per the instructions:

Super Orders v1.3.9 or v3.0 users: If you'd like to update the Edit Orders navigation buttons with navigation buttons that take you back to super_orders.php (versus the default orders.php), go to Admin > Configuration > Edit Orders. Set the "Super Orders Module Switch" to "True" to activate the Super Orders navigation buttons in Edit Orders.

What was failed to mention in the above is that you also have to go to "Configuration", "Super Orders" and change the "Edit Orders Module Switch" to "True".

Once I did that I got the "Edit" button.

10 Jan 2011, 6:35 PM
#177
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

leilanddale:

Just a reply to a couple of posts on the previous page about the missing "Edit" button.

For those who do not know and have had the same problem. This is NOT in the instructions. As per the instructions:

What was failed to mention in the above is that you also have to go to "Configuration", "Super Orders" and change the "Edit Orders Module Switch" to "True".

Once I did that I got the "Edit" button.

Ummm actually the readme DOES include these very instructions... Just below the instructions you posted is this..

Edit Orders Integration

If you have Edit Orders v3.0 installed you can now enable Edit Orders buttons in the Super Orders system to integrate Super Orders with Edit Orders.1. >

  1. Install Edit Orders v3.0
  1. Go to Configuration > Super Orders. Set the "Edit Orders Module Switch" to "True"

Super Orders v3.0 has similar instructions in the SO readme.. It was ONLY included in Edit Orders for Super Order v1.3.9 users who are NOT upgrading.. (as was the case for highlander)

Just so it's CLEAR, these are two different admin settings meant to do two very different things.

  • Add Super Orders buttons to Edit Orders page
  • Add Edit Orders buttons to Super Orders pageIf you want BOTH, you must activate BOTH..

In highlanders case he does not seem to have a Super Orders menu in configuration so there is no admin optionto activate until he resolves the issue about why his Super Orders confirguration menu is missing..

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.

12 Jan 2011, 8:04 AM
#178
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

As I am one of the people who came here for support due to installation problems with the v3.2 , I would now like to confirm that we have installed the version v3.3 and it's working PERFECTLY!!!!!!!!! :clap::clap:

Thank you for all your work and support DivaVocals :hug:

Definately a Donation worth :)

12 Jan 2011, 8:10 AM
#179
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Dustie:

As I am one of the people who came here for support due to installation problems with the v3.2 , I would now like to confirm that we have installed the version v3.3 and it's working PERFECTLY!!!!!!!!! :clap::clap:

Thank you for all your work and support DivaVocals :hug:

Definately a Donation worth :)Thank you Dustie for your patience!!! Sooooo happy we FINALLY got you back on solid ground!! :smile:

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.

19 Jan 2011, 6:47 PM
#180
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Admin login lost when updating.

I updated this mod from v 3.02 to 3.03 on my zc 1.3.9h (test site only). I lost my admin login, replaced with a blank page. Front end of store worked fine.

Peeking in the cache/debug files, I was getting a "can not re-declare zen_bd_scrub in ()..." message. This was in ref to admin/includes/functions/extra_functions/common_orders_functions.php.

When I edit/merge or replace files there is always a .bak file created - I don't know if this is a zen cart thing or a windows thing. But anyway, common_orders_functions.php.bak was clearly not playing nice with the new file. When I removed the .bak file everything returned to normal and my login worked fine.

I post this in case someone else hits the same snag ;o)