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