
--
-- Moving promo banners to the certain place on the page.
--

INSERT INTO
    `%%XC%%_view_lists`
SET
    list = 'center.bottom', interface = 'web', zone = 'customer', tpl = '', deleted = 0,
    child = 'QSL\\Banner\\View\\Customer\\BannerSectionStandardBottom',
    weight = 2000, list_override = '', weight_override = 0, override_mode = 3;

SET @bannerViewList = LAST_INSERT_ID();

INSERT INTO
    `%%XC%%_view_lists`
SET
    parent_id = @bannerViewList,
    list = 'center.bottom', interface = 'web', zone = 'customer', tpl = '', deleted = 0,
    child = 'QSL\\Banner\\View\\Customer\\BannerSectionStandardBottom',
    weight = 2005, preset = 'one', list_override = 'center.bottom', weight_override = 350, override_mode = 1,
    entityId = 2;

INSERT INTO
    `%%XC%%_view_lists`
SET
    parent_id = @bannerViewList,
    list = 'center.bottom', interface = 'web', zone = 'customer', tpl = '', deleted = 0,
    child = 'QSL\\Banner\\View\\Customer\\BannerSectionStandardBottom',
    weight = 2010, preset = 'one', list_override = 'center.bottom', weight_override = 450, override_mode = 1,
    entityId = 3;