Search the Community
Showing results for tags 'create account'.
-
I've been trying to install this add-on, 'Create Account and Manual Order Maker (https://apps.oscommerce.com/xoCh3&create-account-manual-order-maker-for) and of course it's written for a version that is 3 years out of date. I have used this add-on before on an older website and it works great. I have to get some solution working for a new website so I have been trying to get this add-on installed. There are only a few core code changes I need to do and I can find all of them apart from these two sections. In admin/orders.php I need to find this code: $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_details.gif', IMAGE_DETAILS) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $oInfo->orders_id) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased)); and replace with this section of code: // BOF Order Maker $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_ORDERS_INVOICE,'document',tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id), null, array('newwindow' => true)) .tep_draw_button(IMAGE_ORDERS_PACKINGSLIP,'document', tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id), null, array('newwindow' => true))); $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT,'document',tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $oInfo->orders_id)) . tep_draw_button(IMAGE_CREATE_ORDER,'document',tep_href_link(FILENAME_CREATE_ORDER))); // EOF Order Maker $contents[] = array('text' => '<br />' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased)) and finally, this small line (same page): $contents[] = array('text' => '<br>' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method); with this: // ### BEGIN ORDER MAKER ### $contents[] = array('text' => '<br>' . TEXT_INFO_CUSTOMER_SERVICE_ID . ' ' . $oInfo->customer_service_id); // ### END ORDER MAKER ### Anyone have a clue on how I can integrate these bits of code so I can try and get this essential add-on working?
- 6 replies
-
- create account
- frozen
-
(and 1 more)
Tagged with:
-
Hello everyone. I´m trying to change the spanish translation of two words. When you enter the oscommerce store and try to create a new account, you need to fill your name, address, etc. The translation of the second row of the address is translated in spanish as "barriada" Which doesn´t make sense in mexico. I would like to change that name, to another more appropiate. How do o do that? you can see it circled in red in the image many thanks [img=http://i157.photobucket.com/albums/t64/caballo_azul/tienda-1.jpg] [/img]