Hiya
Is it possible to add a prefix to the Invoice Number, say:
M&S07/0001
Thanks
Hiya
Is it possible to add a prefix to the Invoice Number, say:
M&S07/0001
Thanks
Will the prefix be that same always?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Hi, No next year will be M&S08/0001
Thanks
Only in the Admin for the invoice?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
? Admin for invoices? Sorry on't get that.
Kim is asking whether you only want to display the "prefix" in the admin when printing invoices for customers. I'm guessing you'll end up answering "no" to that question.
If you feel that it's necessary to have a prefix on your order numbers, you will have to manually inject a prefix in several places in the code.
This post shows the concept, although it is an old entry and you will need to adapt it for the newer version of Zen Cart. You will not be able to reply to that post, since it is locked in the archives.
http://www.zen-cart.com/forum/showthread.php?t=13502
Be sure to use the overrides system when saving your changes.
Your changes will not be automatically retained during an upgrade. You'll have to preserve them manually.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.