SUPPORT WOWINVOICE HOOKS MISSING
-
Name: Oswaldo Fuentes
Product Name: WowInvoice
Message: Order ID: #62256
I need to customize your WOWInvoice and my developer can’t do it because of the lack of hooks. Please see what my developer wants you to know and help:
“We need to customize certain calculated invoice data (such as a per-product discount breakdown, a different totals summary, or address formatting) that the current Settings options do not cover.
Upon reviewing the code, we found that:
– There is no apply_filters hook for the already calculated invoice data (items, totals, meta_rows, address_columns) within TemplateDataPreparer.
– The only extension point in the templates is the winv_invoice_body_open action, which fires once when the <body> opens, with no corresponding closing action or way to replace content that has already been rendered.
– There is no filter available to register custom templates in TemplateManager.
Is there a development or beta version that adds a filter for the prepared invoice data (e.g., apply_filters(‘winv_prepared_document_data’, $data, $order)) prior to rendering?
Are there plans for a body-closing action (equivalent to winv_invoice_body_close) or a filter to register custom templates in TemplateManager?
If not currently available, is there an officially supported method (even if undocumented online) to modify invoice content beyond the standard Settings options without editing the plugin files?”
Please help me with this requirement.
You must be logged in to reply to this topic.