<?php
/**
 * Add shop pagedata types for CMS pagedata panel
 * @author Jindřich Prokop <jindrich.prokop@mtcmedia.co.uk>, Rihards Silins <rihards.silins@mtcmedia.co.uk>,
 * @version 1 18/10/2016
 */
ContentManager::$pagedata_types['shop_cms_pagedata_plugin_item_select'] = 'Shop CMS Pagedata Plugin Item Field';

ContentManager::$pagedata_properties['shop_cms_pagedata_plugin_item_select'] = array(
    0 => array(
        'type' => 'singleImageItemList',
        'items' => array(
            0 => array(
                'data' => array(
                    0 => array(
                        'type' => 'select',
                        'css_class' => 'shopCmsPagedataPluginSelect',
                        'options' => 'json_url:/plugins/ShopCMSPagedata/admin/item_json_list.php',
                    ),
                ),
            ),
        ),
    ),
);
