News:

Looking for documentation? Take a look on our wiki

Main Menu

Remove price display from custom plugins

Started by balai, August 06, 2013, 17:09:03 PM

Previous topic - Next topic

balai

Hi

I have developed a custom field plugin which has its own way for handling and displaying the prices of each variant.
Virtuemart prints a message about the price (Price: Something) at the bottom of each custom plugin which is a bit distrurbing and misleading for the users.

This is generated in the line 907 of the file: administrator\components\com_virtuemart\models\customfields.php
$group->display .= '<div class="price-plugin">' . JText::_ ('COM_VIRTUEMART_CART_PRICE') . '<span class="price-plugin">' . $price . '</span></div>';

It would be fine to remove this from the core and let the plugins handle the price display