| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
New Custom Order Invoice | ||||
|
|
Thread Tools | Search this Thread |
#81
|
|||||||
|
|||||||
Actually, the encrypted order notification is in html also -I thought it was a copy of the plain text order notification. I'm obviously missing something here.
Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#82
|
|||||||
|
|||||||
OK, had to make an amendement to order_notification_admin:
Code:
The encrypted email comes out plain text now. BUT, the "Order Receipt" however is still in html! Ok, where do I tell the Receipt email to use the email template? Update: OK, fixed it. I needed to change the order_customer.tpl to include the new email file: {include file="mail/order_invoice_email.tpl"} Also, mail templates like decline_notification will need to be updated for text based emails. Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#83
|
|||||||
|
|||||||
I think the confusion (at least mine) here is related to the fact that order_invoice.tpl and order_data.tpl reside in two directories: /mail and /mail/html.
That makes a lot of sense if the only time you deal with invoices is by sending them to customers via email. If you use plain text email, then you use the templates in /mail; if you use html email, then you use the templates in /mail/html. That part is clear. Where it gets confusing is that invoicing is not exclusively an email thing. I want a customized invoice (with company logo, formatted like a typical invoice) for only one purpose: To include inside the package that is shipped. When I process orders for shipping, I want to click on the "Print Invoice" button, and get a page with a customized invoice I can send to my printer. This has nothing to do with email, of course. But it seems that in order to accomplish this, I need to edit email templates I would much prefer to keep as they are. I cannot figure out what needs to be done so that only when clicking on "Print Invoice" do I get a page with a customized invoice, and for everything else (including the order details a user sees upon completing a purchase) the default invoice is presented. On a related note, once I can get the above done, I want to add another function to order processing: Print Packing Slip. A packing slip is like an invoice exept it does not include prices and is afixed to the outside of a shipping package. On the "Order Details" page, I want to add a button (much like "Print Invoice") that prints a Packing slip. I can easily figure out how to take customized versions of order_invoice.tpl and order_data.tpl, copy them into new templates, and retrofit them for Packing Slip purposes. The part I can't figure out is how to add a button to the "Order Details" page an admin accesses (what is this template?) and how I would actually invoke the "Print Packing Slip" routine. |
|||||||
#84
|
|||||||
|
|||||||
Address Details
Can any one tell me how i can add my companys name address and telphone number to the order invoice. The one you print from the admin panel and one that is sent to the customer. Also can any one advise where i can get a proffesional looking invoice to replace the one i curently have in 3.5.9
Thanks |
|||||||
#85
|
|||||||
|
|||||||
Re: Address Details
Quote:
Digisoftuk, take some time and read through this entire thread. It has step by step instructions on adding a custom invoice to X-Cart. In this invoice you will be able to add your company name and address as well. Jeremy
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#86
|
|||||||||
|
|||||||||
Quote:
this has worked for me to have plain text e-mails and allow admin to print out custom html invoice to put in shipment: follow directions for invoice mod - but import the custom order invoice tpls to your skin1/mail/html folder turn html e-mail off in general settings modify skin1/main/order_invoice_print.tpl change this: Code:
to this: Code:
this will look to your mail/html file when it prints orders from admin, but won't affect e-mails seems to work fine in 3.5.7, not sure about other versions -mike
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
#87
|
|||||||
|
|||||||
Quote:
Does anybody have this download? His site does not seem to be online anymore? I liked his invoice better with the shipping label breakout in the upper right hand corner. |
|||||||
#88
|
|||||||||
|
|||||||||
Im really glad everyone is finding this mod to be usefull
Thanks for the support guys and thanks for the downloads. -Austin |
|||||||||
#89
|
|||||||||
|
|||||||||
Quote:
can you post the link again please
__________________
Web Design Web Design and Custom X-Cart Projects http://www.dataviking.com Mention the forums for discounts! x-cart Version 4.1.8 |
|||||||||
#90
|
|||||||
|
|||||||
I've made a few changes to this new Invoice code to create a printable Packing List. Works in 3.3.x Follow the steps below if you want to try it yourself.
Edit the xcart/include/history_order.php file and make the following changes: At line 48: Code:
to: Code:
And in the same file, make this small change at line 69: Code:
to: Code:
Then create a file orders/order_packing.tpl by slightly modifying the order_invoice.tpl file. Essentially, just replicate the whole file, but change the include statement from file="orders/invoice.tpl" to file="orders/packingslip.tpl": Code:
Create the file orders/packingslip.tpl by (again) slightly modifying the invoice.tpl file to remove the prices, taxes, subtotals, etc. Here's an example. Modify it accordingly to include all your own store information: Code:
Next create the file orders/include/packing_products.tpl, which is a modified version of orders/include/products.tpl with the price information stripped out: Code:
Finally, change the main/history_order.tpl to include a link and for the Packing Slip in the Admin section. I put it right beside the 'Print Invoice' link and button, which looks like this: Code:
I think we changed our buttons a while back, so watch that you get the right include statements for the buttons in your store. This workss in version 3.3.1. I don't know if someone already posted a mod like this months (or years) ago, but since I can't find it searching the forums... Oh, btw, thanks for all the great mods everyone!! I'm having a blast scanning through this forum and implementing a bunch of fun stuff![/code]
__________________
Kendrew www.germansupply.com Xcart 3.3.1 UNIX/Apache Don\'t hate me \'cause I like ColdFusion |
|||||||
|
|||
X-Cart forums © 2001-2020
|