VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: elfis on January 13, 2013, 17:33:04 PM

Title: Get rid of +price in product options.
Post by: elfis on January 13, 2013, 17:33:04 PM
Hi

Quick question how to get rid of the +price in the product options.
Thank you



[attachment cleanup by admin]
Title: Re: Get rid of +price in product options.
Post by: elfis on January 15, 2013, 20:41:44 PM
Maybe small help it's in template ? VM php ? or VM configuration ??
Thank you
Title: Re: Get rid of +price in product options.
Post by: randomdev on January 16, 2013, 04:37:35 AM
If its the + you want to remove:

search for $price ="+".$price; in administrator\components\com_virtuemart\models\customfields.php and then comment it out

//$price ="+".$price;

if its the whole price just search the forums as there is a thread on this already
Title: Re: Get rid of +price in product options.
Post by: elfis on January 16, 2013, 12:04:15 PM
Thank you for your help.

And to remove price :

$productCustom->text = $productCustom->custom_value.' '. $price;

to this line:

$productCustom->text = $productCustom->custom_value;

In the same file.