Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | custom_formatter-2825280-1.patch | 1.08 KB | argiepiano |
Comments
Comment #2
argiepiano CreditAttribution: argiepiano as a volunteer commentedHere's a patch that is working for me. Perhaps there is a better way to do this...
Comment #3
argiepiano CreditAttribution: argiepiano as a volunteer commentedComment #4
argiepiano CreditAttribution: argiepiano as a volunteer commentedComment #5
argiepiano CreditAttribution: argiepiano as a volunteer commentedComment #6
argiepiano CreditAttribution: argiepiano as a volunteer commented