Author Topic: delete price from custom fields on Virtuemart 3.0.12  (Read 989 times)

primey

  • Beginner
  • *
  • Posts: 1
  • A beginner
delete price from custom fields on Virtuemart 3.0.12
« on: December 02, 2015, 14:04:54 pm »
Hello!

I didn#t found any solution that help me in this and other forums.

So i had customfields on my products and everywhere there is a price +0.00 i ask Dr. Google but i get no solution to solve my problem on Virtuemart 3

Please let me know how can i delete this prices???

Link to my Site: http://www.brauchen.at/pointner/index.php/normalschleifstein

Thanks a lot

serafix

  • Beginner
  • *
  • Posts: 2
Re: delete price from custom fields on Virtuemart 3.0.12
« Reply #1 on: January 18, 2016, 19:00:08 pm »
Go to:
administrator/components/com_virtuemart/models/customfields.php

Change line 881:

return $price;
to
return;




misholini

  • Beginner
  • *
  • Posts: 29
  • VirtueMart Version: 3.2.14
Re: delete price from custom fields on Virtuemart 3.0.12
« Reply #2 on: December 14, 2017, 10:43:28 am »
Thanks a mil Searfix!
That's magic!
Was struggling with it, previously amending:
Code: [Select]
$price ="+".$price; (around line 918) to:
Code: [Select]
$price =""; worked for me, but since update to VM.3.2.8 that never gave effect.
Your solution spared my headaches.