VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: balai on August 06, 2013, 17:09:03 PM

Title: Remove price display from custom plugins
Post by: balai on August 06, 2013, 17:09:03 PM
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