ype: 2,
                data: {$data|json_encode|raw},
                diymenu: [{"id":"{$id}","name":"{$name}"}],
                diyadvs: [],
                levels: null,
                merch: 0,
                plugins: {"creditshop":1,"merch":1,"seckill":0,"exchange":1},
                shopset: {"logo":"{:settings('logo')}"}
            });
        });
        function selectUrlCallback(href){
            var ue =  UE.getEditor('rich');
            if(href){
                ue.execCommand('link', {hr