Invoice file naming and the invoice is generation trigger
-
Hi,
my first question is how can I replace the wcdn_ prefix of the file and rename invoice suffix (need a local language). I scrolled through the code, but was not able to identify the right place…
Second question is on the invoice availability. Currenly, the invoice is available to download immediately after the order is created, even if it is not completed. I would like to still be able set to “Show print button on My Account page” as yes, but have the download link available only once the order changes status to finished. This is based on the local legal environment. I found the workaround to send it only by email and have this action fired by the order completion, but it is a pity not to use the key feature of this plugin, which is the download of it.
Many thanks for this very useful plugin!
- You must be logged in to reply to this topic.