2 Attachment(s)
Re: Super Orders v3.0 Support Thread
DivaVocals, All, Good Evening
Running
Live Site Zen Cart 1.3.9h
Database Patch Level: 1.3.9h
PHP Version 5.2.14
Browser Firefox - Zoom Reset
Test Site
Live Site Zen Cart 1.3.9h
Database Patch Level: 1.3.9h
PHP Version 5.2.9
Xammp on windows xp
Browser Firefox - Zoom Reset
Has anyone had experience of this situation; Super Orders 3 & Edit Orders 3 latest versions. Functionality fine. But Batch Status Print & Batch Status Update on the live site only, are wider than the screen. See images.
As a workaround I can zoom out, but I cannot account for why this would happen. Older versions of the contribution did not do this.
I would be grateful for any guidance or suggestions as to where to start looking
Thank you Centec2b
Added Totals Row to SuperPackingSlip
The following code adds a Totals Row to \admin\super_packingslip.php (Lines 184-277), which gives an easy scan of Total Qty vs Total Products.
In my arrangement, I also swapped the model and product columns, and made other minor adjustments.
I have not tested this code with split orders. If anyone can improve, please post.
Code:
// SUPER_CODE_START
if ($display_images) { ?>
<td class="dataTableHeadingContent" width="10%"><?php echo TABLE_HEADING_IMAGE; ?></td>
<td class="dataTableHeadingContent" width="10%"><?php echo TABLE_HEADING_QTY; ?></td>
<?php } else { ?>
<td class="dataTableHeadingContent" width="10%"><?php echo TABLE_HEADING_QTY; ?></td>
<?php } ?>
<td class="dataTableHeadingContent" width="10%"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td>
<td class="dataTableHeadingContent" xwidth="20%"><?php echo TABLE_HEADING_PRODUCTS; ?></td>
</tr>
<?php
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
echo ' <tr class="dataTableRow">' . "\n";
if ($display_images && isset($order->products[$i]['id']) ) {
$products = $db->Execute("SELECT products_image
FROM " . TABLE_PRODUCTS . "
WHERE products_id ='" . $order->products[$i]['id'] . "'");
echo ' <td class="dataTableContent" valign="top">' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>';
}
echo ' <td class="dataTableContent" valign="top">';
echo zen_image(DIR_WS_ICONS . 'tick.gif', ICON_TICK);
echo $order->products[$i]['qty'] . ' </td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .
' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) {
for ($j=0, $k=sizeof($order->products[$i]['attributes']); $j<$k; $j++) {
echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
echo '</i></small></nobr>';
}
}
echo ' </td>' . "\n" .
' </tr>' . "\n";
}
?>
<?php
$parent_child= $db->Execute("select split_from_order, is_parent
from " . TABLE_ORDERS . "
where orders_id = '" . $oID . "'");
if($parent_child->fields['split_from_order']):
$so = new super_order($parent_child->fields['split_from_order']);
$order = new order($parent_child->fields['split_from_order']);
?>
<?php
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
echo ' <tr class="dataTableRow">' . "\n";
if ($display_images && isset($order->products[$i]['id']) ) {
$products = $db->Execute("SELECT products_image
FROM " . TABLE_PRODUCTS . "
WHERE products_id ='" . $order->products[$i]['id'] . "'");
echo ' <td class="dataTableContent" valign="middle">' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> </td>';
}
echo ' <td class="dataTableContent" valign="middle">';
echo zen_image(DIR_WS_ICONS . 'cross.gif', ICON_CROSS);
echo $order->products[$i]['qty'] . ' </td>' . "\n" .
' <td class="dataTableContent" valign="middle">' . $order->products[$i]['name'];
if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) {
for ($j=0, $k=sizeof($order->products[$i]['attributes']); $j<$k; $j++) {
echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'];
echo '</i></small></nobr>';
}
}
echo ' </td>' . "\n" .
' <td class="dataTableContent" valign="middle">' . $order->products[$i]['model'] . '</td>' . "\n" .
' </tr>' . "\n";
}
?>
<?php
endif;
?>
<!-- bof totals row -->
<?php
$qtyDisplay = 0;
for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
$qtyDisplay += ($order->products[$i]['qty']);
}
?>
<tr>
<td class="dataTableContent" width="10%"><strong>Totals</strong></td>
<td class="dataTableContent" width="10%"><strong><?php echo $qtyDisplay; ?></strong></td>
<td class="dataTableContent" width="10%"><strong> </strong></td>
<td class="dataTableContent" xwidth="10%"><strong><?php echo sizeof($order->products); ?></strong></td>
</tr>
<!-- eof totals row -->
</table></td>
</tr>
<?php if ($customer_notes) { ?>
Cheers
Re: Super Orders v3.0 Support Thread
Is it possible to remove the product image from the packing slip?
Thanks!
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
Danielle
Is it possible to remove the product image from the packing slip?
Thanks!
This is clearly explained in the Super Orders readme file.. (Configure & Features tab -- I even included a nice screenprint..:wink:)
From the changelog in the Super Orders readme (lists v3.0 features)
Quote:
Change Log
v3.0
- Clean up and reorganize the readme file (again!!!)
- MANY misc bug fixes and corrections
- Overall cleanup of the files to remove deprecated and unused code
- Countries now included as search option in "Batch Form Printing" and "Batch Status Updating"
- The "Edit Status History" feature has been restored and the functionality modified. Editing of order comments is now limited to hidden "admin only" comments. Additionally in previous versions of Super Orders the "Edit Status History" feature inserted HTML and ASCII line breaks into the database, and this ugly line break code was displayed when the customer viewed their order history from "Status History & Comments". This particular problem goes back to 2006, and has now been FULLY resolved/addressed.
- Customer comments modified to incorporate the latest Zen Cart 1.3.9 functionality/format
- Packing slip images are now a simple on/off admin configurable option.
- Batch print functionality has been expanded to include PDF invoices!! Options for the invoices are admin configurable
- Split orders has been improved to help shopowners easily reconcile a split order. Creates a parent and child order. Paid split orders will display the grand total paid for both parent and child order. For orders paid via PayPal, Authorize.net or Linkpoint, the admin payment panel will not display on the child order.
- Order total and customer address edit features have been removed in their entirety. (use Edit Orders if you need order/customer address editing functionality)
- Added missing shortcut icons on the orders listing screen. Now there is a corresponding shortcut icon on each order line that matches the buttons that appear in the sidebox.
- Restoration of missing default Zen Cart orders.php functionality. This now allows payment processor generated (PayPal, Authorize.net or Linkpoint) refunds to now be processed within Super Orders. (no longer requires the retention of the default orders.php to process PayPal, Authorize.net or Linkpoint refunds)
- AUTO PAYMENT FOR ORDERS PAID VIA PAYPAL!!!!!!! 'Nuff said...
- Improved graphics and buttons to SPRUCE UP the Super Orders UI
- If you have Edit Orders v3.0 installed, you can enable Edit Order in the Super Orders admin to enable Edit Orders buttons in Super Orders (No Super Orders code merging required.. Simply install Edit Orders and "turn on" Edit Orders in the Super Orders admin!!)
- If you have Ty Package Tracker v3.0 installed, you can enable the Ty Package Tracker fields for Super Orders (No Super Orders code merging required..) Simply install Ty Package Tracker and "turn on" Super Orders from the Ty Package Tracker admin!!)
- If you have USPS Click-N-Ship installed, you can enable USPS Click-N-Ship in the Super Orders admin to enable USPS Click-N-Ship fields/buttons in Super Orders (No Super Orders code merging required.. Simply install USPS Click-N-Ship and "turn on" USPS Click-N-Ship in the Super Orders admin!!)
- If you have FedEx Automated Labels installed, you can enable FedEx Automated Labels in the Super Orders admin to enable FedEx Automated Labels buttons in Super Orders (No Super Orders code merging required.. Simply install FedEx Automated Labels and "turn on" FedEx Automated Labels in the Super Orders admin!!)
Re: Super Orders v3.0 Support Thread
Forgive me if this has already been answered, I have read through tons of the help forums and cant seem to find an answer.
I am in need of a mod to help me create orders as well.
I have this mod installed (love it) and edit orders, and the ty tracking mod too.
Super orders does not that I can find, have the ability to create an order. I tried to use the create order mod but cant seem to get it to mesh with super orders and edit orders. Is there something I can do to have create order capability with super orders? Your help would be very much appreciated.
Manual Orders/Create Orders using Super Orders
Quote:
Originally Posted by
staradmire
Forgive me if this has already been answered, I have read through tons of the help forums and cant seem to find an answer.
I am in need of a mod to help me create orders as well.
I have this mod installed (love it) and edit orders, and the ty tracking mod too.
Super orders does not that I can find, have the ability to create an order. I tried to use the create order mod but cant seem to get it to mesh with super orders and edit orders. Is there something I can do to have create order capability with super orders? Your help would be very much appreciated.
Creating orders is not the intent of Super Orders at all.. (see http://www.zen-cart.com/forum/showpo...4&postcount=77
http://www.zen-cart.com/forum/showpo...6&postcount=83 -- this same information is posted in the readme as well) Super Orders is simply a "pimped out":laugh: version of the default Zen Cart orders.php.
Any detailed discussion of manual order creation processes is off topic for this support thread.. These threads might provide more insight though on how a manual order process could be implemented using Super Orders and a number of other modules..
http://www.zen-cart.com/forum/showpo...4&postcount=77
http://www.zen-cart.com/forum/showpo...6&postcount=83
http://www.zen-cart.com/forum/showthread.php?t=169530
manual orders or create orders using Super Orders - manually creating orders - create orders from admin - phone orders
Re: Super Orders v3.0 Support Thread
I am currently using the PO mod rather than the Super Orders PO option at checkout so customers can enter the PO # then. How difficult would it be to either 1) modify the PO option for Super Orders to allow the customer to enter their PO # at checkout, or 2) have the Purchase Order mod post the collected PO # into the field Super Orders uses for the PO #?
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
gfogleman
I am currently using the PO mod rather than the Super Orders PO option at checkout so customers can enter the PO # then. How difficult would it be to either 1) modify the PO option for Super Orders to allow the customer to enter their PO # at checkout, or 2) have the Purchase Order mod post the collected PO # into the field Super Orders uses for the PO #?
If your question is is it POSSIBLE to do this, the answer is: It's software.. So it's likely that it's doable.. The level of effort needed to achieve this is what is unknown. I have not taken a look at the PO mod to analyze what would be required to meet your needs..
Re: Super Orders v3.0 Support Thread
Thanks for the reply. My gut reaction was that it would be easier to use the Super Orders PO option and add an entry field at checkout by implementing the appropriate code there from super_payments.php. I just can't seem to quite wrap my head around it though.
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
gfogleman
Thanks for the reply. My gut reaction was that it would be easier to use the Super Orders PO option and add an entry field at checkout by implementing the appropriate code there from super_payments.php. I just can't seem to quite wrap my head around it though.
That would be my gut reaction as well.. I can't promise I will be able to look at this:smile:, but if my time permits, I'll take a look and share my findings with you..