PDF Download File Name Showing “pdf.pdf”

Hello Everyone,

Previously, whenever we downloaded PDFs from Sales Invoice, Quotation, Sales Order, Delivery Note, etc., the downloaded file name was automatically generated like:

“Tax Invoice - 8077 - TWIN ADVERTISING LLC.pdf”

But after updating Manager.io, all downloaded files are now saving only as:

“pdf.pdf”

We are using a custom Liquid theme.

Can anyone please guide how to restore the previous dynamic PDF file naming format in the latest Manager.io version?

Requirement:
Document Type - Invoice Number - Customer Name.pdf

Example:
Tax Invoice - 8077 - TWIN ADVERTISING LLC.pdf

If possible, kindly share the exact working code as well.

Thank you.

Filename will be whatever is in your <title></title> block. Previously filename has been hard-coded into the program. The latest version makes it possible to customize.

If you are using custom theme, then you need to customize it too. Or just create new custom theme from scratch using javascript (not liquid markup)

I’m not an IT guy, I tried it using ChatGPT and Gemini. Could you please send me a preset code with only my requirements? as I am unable to solve it.

Start new theme using the stub as shown here:

I am having isssue In tile name of pdf .Cloud version
it was previously showing customer name and sales invoice number in the pdf file name

Confirming the issue, Cloud Version.

Same issue here. Cloud version.

Cloud version 26.5.13.3590
PDF files are downloaded with the right file names, I am not facing the issue

same issue here on cloud version.

Dear Lubos,

Can you please share code for pdf file title change.

@asvinalbert I can’t because this is affecting only users using custom themes and every custom theme is unique. What has changed is that previously filename was hardcoded into the program. New approach is that filename is configurable by theme (whatever is in <title></title> tag).

You can copy and paste your current theme into AI, tell it exactly what I wrote now and it will figure it out what needs to be improved in your custom theme.

Thanks Lubos. Working fine now