News:

Support the VirtueMart project and become a member

Main Menu

Remove price indication from custom field cart variant

Started by broc93, September 13, 2012, 00:10:57 AM

Previous topic - Next topic

broc93

Hello! I've created this product http://prova-herbalife.netsons.org/homepage/colazione-equilibrata/formula1-detail
I don't want prices to be showed in the drop-down menu "Scegli il gusto" or, at least, I don't want to see "no additional charge" but, at least, 0.00€. Anyway, removing the price would be really better. Could you help me?
Herbalife products
http://dietabenesserehl.it

VernSouthern

I would also like to know if this is possible. It causes customer confusion.
Did you ever get the feeling that the world is a tuxedo and you're a pair of brown shoes?

CSPS

I also want to achieve this if anyone can help.

I found this post with seems to point in the right direction but wouldn't this file as it is under/administrator be overwritten with updates?

http://forum.virtuemart.net/index.php?topic=112838.msg379601#msg379601

CSPS

This post says how to remove 'no additional charge' using the language file or language overide.
http://forum.virtuemart.net/index.php?topic=102042.0

but still can't find out how to remove the +£?? numbers all together.  :(

CSPS

Finally found it here http://forum.virtuemart.net/index.php?topic=112001.0
But not sure if there is a risk of this being overwritten with updates?

nebojsaZR

Hear is solution for VM 2.0.26:

in administrator -> components -> com_virtuemart -> models -> customfields.php  find line  near 886
$productCustom->text = JText::_($productCustom->custom_value) . ' ' . $price;

and turn it into

$productCustom->text = JText::_($productCustom->custom_value); // . ' ' . $price;

This is also not happy solution because it will be overwritten on update, so I ask for developers to add possibility to remove this in config for it is really not necessary.