Author Topic: show/hidde the custom field price  (Read 1035 times)

reivaj01

  • Beginner
  • *
  • Posts: 13
show/hidde the custom field price
« 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:
Code: [Select]
$productCustom->text = $trValue.' '.$price;After:
Code: [Select]
$productCustom->text = $trValue;But I think that would be better an admin parameter or a sublayout to control this.

Regards

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1362
Re: show/hidde the custom field price
« Reply #1 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