Hi,
There is a override for product details page. But there is
no override for printing the custom field dropdown selection box.
Showing/hiding the "extra price" next to product variant is something to do with the Virtuemart core file.
Normally we don't provide support for core modifications. But you are in the right truck.
Openvthis PHP file:
administrator/components/com_virtuemart/models/customefields.php
and find this PHP line:
if ($group->field_type == 'V') {
$default = current ($group->options);
foreach ($group->options as $productCustom) {
$price = self::_getCustomPrice($productCustom->custom_price, $currency, $calculator);
$productCustom->text = JText::_($productCustom->custom_value) . ' ' . $price;
}
$group->display = VmHTML::select ('customPrice[' . $row . '][' . $group->virtuemart_custom_id . ']', $group->options, $default->custom_value, '', 'virtuemart_customfield_id', 'text', FALSE, false);
}
In one of those lines, replace this line:
$productCustom->text = JText::_($productCustom->custom_value) . ' ' . $price;
with this:
$productCustom->text = JText::_($productCustom->custom_value);
this modification should remove the price information from the custom fields selection for V type custom field.
Regards,
Support