VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: reivaj01 on May 26, 2015, 12:52:33 PM

Title: show/hidde the custom field price
Post by: reivaj01 on May 26, 2015, 12:52:33 PM
Hello,

I like to show the select values of the custom fields without price.
For now, I changed the line 1111 of the administrator/components/com_virtuemart/models/customfields.php file.
Before:
$productCustom->text = $trValue.' '.$price;
After:
$productCustom->text = $trValue;
But I think that would be better an admin parameter or a sublayout to control this.

Regards
Title: Re: show/hidde the custom field price
Post by: balai on May 26, 2015, 17:33:02 PM
If you want to spend some $, this is a setting in the Custom Fields For All
https://breakdesigns.net/extensions/customfields-for-all