'y'], ['type' => 'ECommerce_Product_'], ['forceAction' => 'list'], 'url'))) { $shopPages[] = ['title' => 'Products', 'url' => $url]; } if (($url = Qs_SiteMap::findFirst(['enabled' => 'y'], ['type' => 'Event\\'], ['type' => 'calendar'], 'url'))) { $shopPages[] = ['title' => 'Events', 'url' => $url]; } return [ 'hasLock' => true, 'resourceName' => 'Cart', 'itemName' => 'Shopping Cart Item', 'itemsName' => 'Shopping Cart Items', 'shopPages' => $shopPages, ];