Answers.Body: <p>There's currently not a native way to change this format, but it is planned for a future release.</p>
  
  <p>In the meantime as a workaround, you can listen to the <a href="https://craftcommerce.com/docs/events-reference#commerce_orders.onbeforesaveorder" rel="nofollow">onBeforeSaveOrder</a> event and change the order number to whatever format you want.  A by-product of that is that the PDF receipt filename should change to your format as well.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-02T03:08:33.513Z
Answers.LastActivityDate: 2016-09-02T03:08:33.513Z
Answers.UserDisplayName: Brad Bell
Body: <p>In the Commerce plugin, there are several ways to download a PDF of a specific order.</p>
  
  <p>However, the default formatting of the PDF filename isn't very helpful...</p>
  
  <blockquote>
    <p>⁠⁠⁠⁠Order-14ef9b78dae6893cd2ca75ec047ed9a0.pdf</p>
  </blockquote>
  
  <p><strong>Is there any way to control the formatting of PDF receipt filenames?</strong></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-09-01T21:37:52.123Z
Comments.Text: Will be possible to customise the name in a future release.
Comments.UserDisplayName: Luke Holder
Tags: <plugin-craftcommerce><pdf>
Title: Change how the PDF filename is formatted?
ThreadText: # Change how the PDF filename is formatted?
  
  (Asked by: username_0 on 2016-09-01)
  
  In the Commerce plugin, there are several ways to download a PDF of a specific order.
  
  However, the default formatting of the PDF filename isn't very helpful...
  
  > ⁠⁠⁠⁠Order-14ef9b78dae6893cd2ca75ec047ed9a0.pdf
  
  **Is there any way to control the formatting of PDF receipt filenames?**
  
  **Tags:** plugin-craftcommerce, pdf
  
  > **Comments:**
  > **username_1**: Will be possible to customise the name in a future release.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-09-02. Score: 2 | Accepted answer
  
  There's currently not a native way to change this format, but it is planned for a future release.
  
  In the meantime as a workaround, you can listen to the [onBeforeSaveOrder](https://craftcommerce.com/docs/events-reference#commerce_orders.onbeforesaveorder) event and change the order number to whatever format you want. A by-product of that is that the PDF receipt filename should change to your format as well.
  
  
  ---
  
  