News:

Support the VirtueMart project and become a member

Main Menu

How to hide the cart variants price in the option dropdown selector?

Started by rogy, June 10, 2014, 14:59:57 PM

Previous topic - Next topic

rogy


seyi

Hello,

In that same solution, after this

$price = strip_tags ($currency->priceDisplay ($calculator->calculateCustomPriceWithTax ($customPrice)));
if ($customPrice >0) {
$price ="+".$price;
}


Add this
$price = '';

That should hide the price for both negative or positive

Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate