ok , im sorry , i had editable orders addon installed first ...
"
NAME:
=====
Edit Orders
VERSION:
========
1.53 - 8/1/2008 - 1.5, 1.51, 1.52, and 1.53 Changes by Scott Turner
"
if u dont have this installed it should just be this:
if (sizeof($order->products) > 0) {
$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_edit.gif', IMAGE_EDIT) . '</a>');
}
break;
}
########
you want it to look like this:
########
if (sizeof($order->products) > 0) {
$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_edit.gif', IMAGE_EDIT) . '</a> <a href="pdfmail.php?oID=' . $oInfo->orders_id . '&email=' . $order->customer['email_address'] . '">' . zen_image_button('button_pdf.gif', 'Email PDF') . '</a>'');
}
break;
}
---------
try that instead



Reply With Quote
