I have created a new field formatter based on Commerce File formatter provided by the module. This new formatter does some processing of the file before downloading it (basically it stamps PDF with the name of the customer and the date).

I'm able to use the new formatter when viewing the product in the Files tab of the customer, but not when the link is first presented at the end of the checkout process.

CommentFileSizeAuthor
#2 custom_formatter-2825280-1.patch1.08 KBargiepiano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

argiepiano created an issue. See original summary.

argiepiano’s picture

Here's a patch that is working for me. Perhaps there is a better way to do this...

argiepiano’s picture

Status: Active » Needs review
argiepiano’s picture

argiepiano’s picture

Status: Needs review » Needs work
argiepiano’s picture

Status: Needs work » Needs review