Support the VirtueMart project and become a member
check the textinputplugin.
if (!class_exists( 'VmConfig' )) require(JPATH_ADMINISTRATOR . '/components/com_virtuemart/helpers/config.php');VmConfig::loadConfig();if(!class_exists('VirtueMartCart')) require(JPATH_VM_SITE.DS.'helpers'.DS.'cart.php');$cart = VirtueMartCart::getCart();$cart->cartPrices['billTotal'] = $cart->cartPrices['billTotal']+10;
are you using system plugin?or virtuemart custom plugin?what version are you using?
why not a virtuemart custom plugin?WHAT IS IT SUPPOSED TO DO?
$data = $this->cart->prepareAjaxData(FALSE);$prices = $this->getCartPrices();$prices["billTotal"] += 10;$this->cart->setCartIntoSession();
baoquocmt159,describe what your plugin does.what is the option for?
// load VM config, VM helper cart here.$data = $this->cart->prepareAjaxData(FALSE);$prices = $this->getCartPrices();$prices["billTotal"] += 10;$this->cart->setCartIntoSession();