Re: Super Orders 2.0 REV 49 (Update)
I am still working on testing and compiling all of the changes (nearly all of them thanks to the WONDERFUL JTheed:clap:) I also wanted to make sure that any changes to the default orders.php files are incorporated into the super_orders.php files..
Work and client obligations have had me slammed so I haven't had a lot of spare time for testing mods and such (I'm also working with ckosloff and others on the upcoming IH2 updates as well). I hope to get more done this week, and if the stars align just right maybe I can submit the Rev 49 files this weekend..
Re: Using Super Orders 2.0 with Edit Orders
Just wanted to post an update on this.. I tried virtualomega's fix (see previous post below), and it didn't work, but gave me a good hint on what the answer was..
In edit_orders.php find:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
Replace with:
Code:
<!-- BOF Required Super Orders edit to return to super_orders.php instead of orders.php -->
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
<!-- EOF Required Super Orders edit to return to super_orders.php instead of orders.php -->
<!--
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
-->
=========================================
Quote:
Originally Posted by
virtualomega
To fix this Back button issue:
In edit_orders.php on line 659, find:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
and replace with:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'page=1&oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
Quote:
Originally Posted by
DivaVocals
Re: Using Super Orders 2.0 with Edit Orders
I also wanted to share on other minor edit I made to edit_orders.php to use with Super Orders. This will add an additional button that takes you back to the Super Orders detail page for the current order from the "Add Product" section of Edit Orders. (Currently there is only a "Back" button that returns you to the Edit Order page..)
Look for this:
Code:
if($action == "add_product")
A few lines down from there find this:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
Replace with this:
Code:
<!-- BOF Edit to return to current order being edited instead of the order list page -->
<td class="pageHeading" align="right">
<?php echo '<a href="javascript:history.back()">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?>
<?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_ORDER_DETAILS) . '</a>'; ?></td>
</td>
<!-- EOF Edit to return to current order being edited instead of the order list page -->
Re: Using Super Orders 2.0 with Edit Orders
To clarify, the code referenced below should be found around line 659 as virtualomega previously posted..
Quote:
Originally Posted by
DivaVocals
Just wanted to post an update on this.. I tried virtualomega's fix (see previous post below), and it didn't work, but gave me a good hint on what the answer was..
In edit_orders.php find:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
Replace with:
Code:
<!-- BOF Required Super Orders edit to return to super_orders.php instead of orders.php -->
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
<!-- EOF Required Super Orders edit to return to super_orders.php instead of orders.php -->
<!--
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
-->
=========================================
Re: Using Super Orders 2.0 with Edit Orders
I mis-spoke.. So let me be clearer here..:smile:
Currently in Edit Orders from the "Add Products" section there is only a "Back" button that returns you to the details page for the order you are adding products to.. With the change posted below there will be one button to take you back to to the order details page for the order you are adding products to and another button to take you back to the Edit Order page..
Quote:
Originally Posted by
DivaVocals
I also wanted to share on other minor edit I made to edit_orders.php to use with Super Orders. This will add an additional button that takes you back to the Super Orders detail page for the current order from the "Add Product" section of Edit Orders. (Currently there is only a "Back" button that returns you to the Edit Order page..)
Look for this:
Code:
if($action == "add_product")
A few lines down from there find this:
Code:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
Replace with this:
Code:
<!-- BOF Edit to return to current order being edited instead of the order list page -->
<td class="pageHeading" align="right">
<?php echo '<a href="javascript:history.back()">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?>
<?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_ORDER_DETAILS) . '</a>'; ?></td>
</td>
<!-- EOF Edit to return to current order being edited instead of the order list page -->
Super Orders - Support Sales of Multiple Products Shipped to Multiple Addresses?
Does Super Orders support sales of multiple products to multiple shipping addresses without having customer making multiple orders. Single order would be preferred.
Re: Super Orders - Support Sales of Multiple Products Shipped to Multiple Addresses?
Quote:
Originally Posted by
interactivewest
Does Super Orders support sales of multiple products to multiple shipping addresses without having customer making multiple orders. Single order would be preferred.
Nope.. Sorry..
Re: Super Orders - Support Sales of Multiple Products Shipped to Multiple Addresses?
Quote:
Originally Posted by
interactivewest
Does Super Orders support sales of multiple products to multiple shipping addresses without having customer making multiple orders. Single order would be preferred.
Super Orders is an add-on that assists with the processing of orders received. It doesn't get involved in the creation of those orders in the store, which is where the multiple addresses would need to be collected.
But this open source, so if you have a specific requirement, and know how you want the UI to look, you have the option to dig in and change the software to do it.
Super Order - New release coming soon..
Just wanted to let you all know that there are a few awesome guys who have been generously sharing their knowledge and adding some really neat new features to Super Orders.. It's been a while since I posted an update on this work, but wanted to let you all know things are going well, and I hope you all will like the new improvements as well.. I will post an enhanced feature set in a bit.. (Gotta go eat something right now:laugh:)
Running the SQL patch twice by mistake....
I ran the SQL patch for Super Orders 2.0, file name super_orders_sql.sql, twice by mistake and got this error:
1062 Duplicate entry 'CA' for key 2
in:
[INSERT INTO so_payment_types VALUES (NULL, 1, 'CA', 'Cash');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure
you left no blank fields.
--------------
To be safe, I ran the uninstall sql patch then reinstalled it and ran the super_orders_sql.sql patch again but only ONCE this time and received no errors.
I was just curious if running it a second time with that error message would have caused any problems or if I could have just ignored the error report?
FYI, this is my first time using Super Orders. It looks like a great module. Thanks for creating it and supporting it.
Re: Running the SQL patch twice by mistake....
Quote:
Originally Posted by
LRS
I ran the SQL patch for Super Orders 2.0, file name super_orders_sql.sql, twice by mistake and got this error:
1062 Duplicate entry 'CA' for key 2
in:
[INSERT INTO so_payment_types VALUES (NULL, 1, 'CA', 'Cash');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure
you left no blank fields.
--------------
To be safe, I ran the uninstall sql patch then reinstalled it and ran the super_orders_sql.sql patch again but only ONCE this time and received no errors.
I was just curious if running it a second time with that error message would have caused any problems or if I could have just ignored the error report?
FYI, this is my first time using Super Orders. It looks like a great module. Thanks for creating it and supporting it.
It will be fine. The reason for the error was because it already existed, so it could NOT create that field again and exited with the error message.