addColumn('image', 'image', array('title' => 'Product')); $this->addColumn('link_advanced', 'title', array( 'title' => 'Product Description', 'url' => '%s', 'text' => '%s', 'params' => array('title'), 'urlParams' => array('url') ) ); $this->addColumn('money', 'price'); $this->addColumn('quantity', 'quantity', array('title' => 'Qty')); $promoObj = new App_ECommerce_Promo_Admin_Obj(); $this->addColumn( 'total', 'rowTotal', array('title' => 'Amount', 'promoTypes' => $promoObj->getDPromoType4Select()) ); if (!$this->_previewMode) { $cartUrl = Qs_SiteMap::findFirst(null, array('type' => 'ECommerce_Cart_'), array('type' => 'default'), 'url'); $this->addColumn('options', 'options', array('cartUrl' => $cartUrl)); } return $this; } }