News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Virtuemart 2.6.10 remove custom field pricing.

Started by LukaBala, March 10, 2015, 19:48:36 PM

Previous topic - Next topic

LukaBala

Hello, i am using Joomla 2.5 and Virtuemart 2.6.10.  Whole day i have been wondering how to remove price from custom fields at the product details (that annoying +something).  While extreme whining, because whole google was already purple, and i still didn't have an answer, i accualy found the fix.

So, for custom fields, i have been using "string" option.

A lot of answers were here, but none seemed to help me, so here is my fix, just to help people behind me:
I accualy removed a few lines, from the solutions on this forum, but removing this one, helped me:
at line 991 (or somewhere close) (file: /administrator/components/com_virtuemart/models/customfields.php
return $price;

Maybe removing the other lines helped too, i don't know, right now i don't have the will to try if this doesnt work for you, i can research, which ones i did remove too, but all of them contained "$price".

This problem removed the "no additional cost" too.

Please, if this fix helps you, have a beer and enjoy the time i lost ;D