/*************************************************\
| Batch Order Mod |
| |
| BCS Engineering |
| Copyright (c) 2005 BCS Engineering, |
| Carrie L. Saunders <> |
| All rights reserved. |
| See http://www.bcsengineering.com/license.shtml |
| for full license |
| For X-cart versions 4.0.X |
\*************************************************/
NOTE: You should always make a back-up copy of your files and/or database before installing any modification.
INSTALLATION:
1. Upload the 3 batch_orders.php files and the batch_orders.tpl file into
their appropriate directories.
2. Edit skin1/admin/menu.tpl and add:
{* BCSE Begin *}
Batch Orders
{* BCSE End *}
After:
{$lng.lbl_orders}
2a. If you have X-cart pro. Repeat step 2 but add to skin1/provider/menu_orders.tpl
3. Edit skin1/common_templates.tpl and add:
{elseif $main eq "batch_orders"}
{include file="admin/main/batch_orders.tpl"}
After the first {if} {include} pair
4. Add the following language variables to your X-cart admin->Languages interface.
lbl_past_30_days Past 30 Days
lbl_past_7_days Past 7 Days
lbl_past_24_hours Past 24 Hours
lbl_view_order View Order
lbl_notes_to_customer Notes To Customer
Installation done! Below is an optional install for more features.
-------------------------------------------
OPTIONAL Install - Allow a field to enter notes to the customer that will be included in order email to the customer when order status is changed. For example, if you want to write a note that order has shipped but some items are backordered when you change the status of the order, this would allow you to do so.
-------------------------------------------
1. Log into your Admin interface and copy and paste the SQL queries in OPTIONAL_patch.sql into the Patch/Upgrade sql utility.
2. Add this:
{$order.notes_to_customer}
To the following templates:
skin1/mail/order_customer_complete.tpl
skin1/mail/order_customer_processed.tpl
skin1/mail/html/order_customer_complete.tpl
skin1/mail/html/order_customer_processed.tpl
NOTE: Add a
before {$order.notes_to_customer} for the html templates We recommend placing this code after: {$lng.lbl_dear} {$customer.title} {$customer.firstname} {$customer.lastname},