Confirmation pdf as download link

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
columbo
Advanced
Posts: 153
Joined: 09 Oct 2019, 09:42

Confirmation pdf as download link

Post by columbo » 07 Apr 2025, 19:43

Hi,

we'd like to add a confirmation-pdf (for download) to both the
  • order confirmation page, and
  • the order history page.
I know there is already a job for sending confirmation-pdf as an email attachment.

Is there also an option to add a pdf link (for downlaod) to the history and checkout confirmation page?
What is your recommendation for setting this up?

Thank you.

User avatar
aimeos
Administrator
Posts: 8616
Joined: 01 Jan 1970, 00:00

Re: Confirmation pdf as download link

Post by aimeos » 10 Apr 2025, 07:27

There's no option for that. You would have to extend the account/history template to add a link to a new route that generates the PDF on the fly as download. Make sure you check if the customer is logged in an the order belongs to the customer.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply