- 2
Dear Everyone,
I have this problem. We would prefer that the link in the frontend created by the Nop Attachment plugin would generate a (PDF in our case) file to be opened in the browser if possibile (and not downloaded).
I noticed that it's downloaded because in the HTTP response headers there is "content-disposition: attachment;", and in order to be opened in browers it should be "content-disposition: inline;".
Is there by any cache a way to do it?
Best Regards
I have this problem. We would prefer that the link in the frontend created by the Nop Attachment plugin would generate a (PDF in our case) file to be opened in the browser if possibile (and not downloaded).
I noticed that it's downloaded because in the HTTP response headers there is "content-disposition: attachment;", and in order to be opened in browers it should be "content-disposition: inline;".
Is there by any cache a way to do it?
Best Regards