VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sirius on January 27, 2022, 09:50:43 AM

Title: PDF Icon for invoices in customer account
Post by: sirius on January 27, 2022, 09:50:43 AM
Hi,
Currently the pdf icon that is displayed with the invoice in the list of customer orders and the one that is in the joomla system images.
/components/com_virtuemart/helpers/shopfunctionsf.php
static public function getInvoiceDownloadButton($orderInfo, $descr = 'COM_VIRTUEMART_PRINT', $icon = 'system/pdf_button.png'){
It would be nice to be able to choose its own icon, because for the moment I replace it in the folder, but with each update of joomla I have to redo the manipulation and if I can avoid modifying the code of virtuemart it is also Good.
So how about an option in the vm admin ?
Regards