public function modifyQuotation($user_id = 0) { $session = JFactory::getSession(); $carthelper = new rsCarthelper(); $cart = $session->get('cart'); $cart = $carthelper->modifyCart($cart, $user_id); $session->set('cart', $cart); $carthelper->cartFinalCalculation(false); }