New Zenner
- Join Date:
- Jun 2012
- Posts:
- 41
- Plugin Contributions:
- 0
Custom Customer Downloadable PDF Invoice generated externally
I've been searching quite a while and a possible solution might be behind the corner, but either it's me that cannot find it, either it's just hidden a little bit more than expected...
I'm in the need of giving my customers the chance to be able to download their PDF invoices from the order history page.
The "special" need is that this PDF document is not actually generated from ZenCart, but from another system in the company and I cannot avoid this (there are some legal restriction I won't bother you with).
It won't be a problem to upload such documents to the web in a special folder, and they might be named as needed (obviously either the Customer ID and/or the Invoice number can be part of the name: i.e. "IIIII_NNNNN.pdf").
The need would be to make this document accessible from every single customer upon request.
I thought of making this a download item to be added manually to each order after creation (at least at beginning, until a specific code would be created), but this would involve creating a single article for any single order (crazy!).
PDF Invoice 3, which I looked at (but not installed yet) seems giving this chance (and I'll probably look at the code for the areas I would need only), but the document is generated by this addon, not just "added" from an external source.
Does anyone has any hint ?
I'm not a programmer, but I can use "cut & paste" quite good (I can read the code, even if not write it... :cool:)
Thank you for ANY suggestion.
mickymix
ABANDONED PROJECT