News:

Support the VirtueMart project and become a member

Main Menu

vmpsplugin.php overwrite, how?

Started by ptrouw, December 23, 2013, 16:15:42 PM

Previous topic - Next topic

ptrouw

I tried to use overwrite but this doesn't seem to work with /administrator files, as fas as I know.
In this file:
administrator/components/com_virtuemart/plugins/vmpsplugin.php
Line 784:
$costDisplay = '<span class="' . $this->_type . '_cost"> (' . JText::_ ('COM_VIRTUEMART_PLUGIN_COST_DISPLAY') . $costDisplay . ")</span>";

There are brackets used. I don't think they should be hard coded. Payment for shipping costs, are real, why but them between brackets!

Milbo

In the moment you create a plugin, you can overwrite almost any function of the parent class.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/