Where is the PDF name created when the user exports an order PDF?
Home>Orders>Order information>Print invoice (pdf)
The name of the file, for example, is "Invoices-43.pdf". Now the 43 I know is the order number and from the DB, but where does the "Invoices-" come from?
Cheers
Paul
Not for certain but it's probably a language variable.
app/functions/fn.cart.php
Please change the following line:
Pdf::render($html, __('invoices') . '-' . implode('-', $order_ids));
Thanks chaps, you were both correct.
"invoices" is indeed a language variable, but I needed to fiddle a little more than just being able to change that.
Thank you again.
Cheers
Paul