(please note that this mod has been developed by myself and the cs-cart helpdesk team to a specific tailored setup, it might not suit exactly what you need but can be altered. please ensure you backup files prior to use)
Right, the standard setup of cs-cart means that when a customer purchases from your shop, they get an invoice style email. They also get this invoice for each time you change status and request a copy sent to the customer. Most i’ve spoken to have found that sending duplicate invoices, or invoices at all is not common practise with shopping carts, and instead would prefer just simple ‘text based’ email notifications, with the original invoice being used by the seller only to supply printed with the order etc.
What I’ve done is setup so that the original invoice is still the same from the admin, or if the customer wishes to print from the order confirmation page, but the physical emails the customer and seller receive are ‘text based’ and much easier to grab information from.
For this I’ve created custom templates for status codes O (open), P (processed/processing) and C (completed). The rest aren’t used by me and will return the default setup.
How to setup?
Replace this code within file ‘skins/(skin)/mail/orders/order_notification.tpl’
We are going to leave the ‘skins/(skin)/mail/orders/invoice.tpl’ file alone, but instead create new tpl files called ‘open.tpl’, ‘processing.tpl’ and ‘completed.tpl’, including code similar to this (note the top section can be tailored to suit what you want to say for specific codes):
Once again, thank you for shopping at The Widget Shop.[/quote]
Please note that adjustments have been made within the admin section so that ‘county’ replaces ‘state’ etc. Also, the code above is setup so that if a customer does not include a ‘company’ name it will not show that line. All sections are seperate, so billing and shipping will show differently if they have been typed in differently etc.
If you have any questions, let me know. I hope it helps.
I know this will be helpful for me. Wish I had time to play with it right now but don’t. Looks great though, and realativley straight forward and easy to mod per individual needs. I’ll have to see what it takes to add my “complications” (shipment tracking number in particular, ideally a custom message when needed as well) when I get to this, though that won’t be soon.
Thanks again for all the work.
I expect once I get my templates finished, the store as configured as I wish and my list of desired changes refined I'll probably sign up for a month of helpdesk assistance. Were the CS-team very responsive in assisting with this, or did you just need a couple of clarifications? My experience has been mostly 'pay us and we'll do it for you', though they did answer a number of pre-sale questions for me.
Put it simply, the helpdesk were incredibly good, answering my queries once or twice daily (appreciating their location and time difference). I asked tons of questions on this one, and they answered all of them in full, even the ones we needed to work togeather on over a few replies. I got my money’s worth out of them, and would suggest that paying for a month in the future should needed is money well spent. Doesn’t take away the fact this should really be a standard part of the cart anyway, but even so, with support like that, anything is possible.
[quote name=‘ian-d’]Put it simply, the helpdesk were incredibly good … paying for a month in the future should needed is money well spent.[/quote]
Very happy to hear that. I don’t mind paying for help, as long as I get value for my money. They have to make a living too.
[QUOTE]Doesn’t take away the fact this should really be a standard part of the cart anyway[/QUOTE]
Yeah, I’d agree with that, but it’s all a matter of perspective. I think all of my priorities should be standard, but they’re not, at least not yet. Cart programmers aren’t necessarily versed in all needs a merchant might face, and we all have different priorities and do things differently. Though you and I both prefer plain-text emails, I will mod what you’ve provided to suit the way I do business as it’s not an exact match (close though) and is missing some features I won’t be able to live without … i.e. my customers expect the ability to track their order, and I can’t imagine running a retail site w/o providing that. Not that it should be a priority for you, it just is for me. CS-C will eventually cover us both, if we want it sooner we have to pay.
My big concern with custom work is that it is easily transferrable to upgrades … this one should be w/o problem. I’d imagine this mod will find it’s way into the base package eventually.
When I “process” an order, it just means to me that I transferred it to QuickBooks, but does not infer shipping. Shipping information is sent by other software.[/QUOTE]
Actually this is the way I work now as well, handling actual order processing, in QB, including shipping. (I expect I’ll be moving toward doing most of that in CS-Cart and transferring completed transactions to QB though).
Thanks a lot for sharing. I really prefer this method to the invoice method. It also makes it so you can easily copy and paste shipping addresses into shipping services.
One thing I noticed about your code is that all the break tags are written as “ ”. When I implemented this code, there were no line breaks in my test order emails (using Outlook 2007). I changed them all to “ ” and everything is fine. Just thought I’d point that out.
[quote name=‘arlen’]…my customers expect the ability to track their order, and I can’t imagine running a retail site w/o providing that. Not that it should be a priority for you, it just is for me.[/QUOTE]
It’s pretty easy to add the tracking number to your “completed” email. This is how I did it:
I know its not plain text, i coded it in html but its as close as you can get with cs-cart. I picked up on your thread originally, but it only covered the changes to notification, not actual help with templates which if i remember was something you wanted to do but hadn’t found time. No probs if its no use to you, sure it will be for the rest