addColumn( 'image', 'image', [ 'title' => 'Image', ] ); $this->addColumn('name', 'title', array( 'title' => 'Product Name', 'url' => '%s', 'text' => '%s', 'params' => array('title'), 'urlParams' => array('url') ) ); $cartUrl = Qs_SiteMap::findFirst(null, array('type' => 'ECommerce_Cart_'), array('type' => 'default'), 'url'); $this->addColumn('quantity', 'quantity', array('title' => 'Quantity', 'cartUrl' => $cartUrl)); $this->addColumn('money', 'price', array('title' => 'Item Price')); $promoObj = new App_ECommerce_Promo_Admin_Obj(); $this->addColumn( 'total', 'rowTotal', array('title' => 'Total', 'promoTypes' => $promoObj->getDPromoType4Select()) ); return $this; } }