$row_id, 'order' => 0, 'obj_type' => 'module', 'pid' => NULL, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', ], ], 'main' => [ 'width_type' => 'auto', 'width' => [ 'value' => '', 'unit' => 'px', ], ], ], 'style' => [ 'text' => [ 'color' => $text_color, 'text_align' => '', ], 'font' => [ 'font_family' => 'inherit', 'font_style' => 'inherit', 'font_weight' => '', 'font_size' => [ 'value' => '', 'unit' => 'px', ], 'letter_spacing' => '', 'line_height' => '', ], 'links' => [ 'color' => '', 'color_hover' => '', ], 'background' => [ 'background_type' => '', 'background_color' => '', 'background_image' => [ 'url' => '', 'id' => 0, 'repeat' => '', 'position' => '', 'attachment' => '', 'size' => '', ], ], 'border' => [ 'border_unit' => 'px', 'border_top' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_bottom' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_left' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_right' => [ 'style' => 'none', 'width' => '', 'color' => '', ], ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], 'padding' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], ], 'title' => 'Row', 'type' => 'row', 'columns' => [ [ 'id' => $column_1_id, 'order' => 0, 'obj_type' => 'module', 'parentRowId' => $row_id, 'pid' => NULL, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', ], ], 'main' => [ 'width' => [ 'value' => '100', 'unit' => '%', ], 'float' => 'left', ], ], 'style' => [ 'background' => [ 'background_type' => '', 'background_color' => '', 'background_image' => [ 'url' => '', 'repeat' => '', 'position' => '', 'attachment' => '', 'size' => '', ], ], 'border' => [ 'border_unit' => 'px', 'border_top' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_bottom' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_left' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_right' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'radius' => [ 'value' => '', 'unit' => 'px', ], ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], 'padding' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], ], 'title' => 'Column', 'type' => 'column', 'modules' => [ [ 'id' => getToken(8), 'order' => 0, 'obj_type' => 'module', 'parentColumnId' => $column_1_id, 'parentRowId' => $row_id, 'pid' => NULL, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', ], ], 'main' => [ 'content' => $unit_text, ], ], 'style' => [ 'text' => [ 'color' => '', 'text_align' => '', ], 'font' => [ 'font_family' => 'inherit', 'font_style' => 'inherit', 'font_weight' => $unit_text_weight, 'font_size' => [ 'value' => $unit_text_size, 'unit' => 'px', ], 'letter_spacing' => '', 'line_height' => '', ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' => 'px', ], 'padding' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], ], 'title' => 'Paragraph', 'type' => 'text', ], ], ], [ 'id' => $column_2_id, 'order' => 1, 'obj_type' => 'module', 'parentRowId' => $row_id, 'pid' => 0, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', ], ], 'main' => [ 'width' => [ 'value' => '100', 'unit' => '%', ], 'float' => 'left', ], ], 'style' => [ 'background' => [ 'background_type' => '', 'background_color' => '', 'background_image' => [ 'url' => '', 'repeat' => '', 'position' => '', 'attachment' => '', 'size' => '', ], ], 'border' => [ 'border_unit' => 'px', 'border_top' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_bottom' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_left' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'border_right' => [ 'style' => 'none', 'width' => '', 'color' => '', ], 'radius' => [ 'value' => '', 'unit' => 'px', ], ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], 'padding' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], ], 'title' => 'Column', 'type' => 'column', 'modules' => [ [ 'id' => getToken(8), 'order' => 0, 'obj_type' => 'option', 'parentColumnId' => $column_2_id, 'parentRowId' => $row_id, 'pid' => $post_unit_dishes_id, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', 'pid' => '0', ], ], 'main' => [ 'width_px' => '42', 'height_px' => '', 'content' => '', ], ], 'style' => [ 'label' => [ 'color' => '', 'text_align_label' => '', 'font_family' => 'inherit', 'font_weight' => '', 'font_size_label' => [ 'value' => '', 'unit' => 'px', ], ], 'description' => [ 'color' => '', 'font_weight' => '', 'font_size_desc' => [ 'value' => '', 'unit' => 'px', ], ], 'font' => [ 'color' => $text_color, 'color_hover' => '', 'color_active' => '', 'text_align' => 'center', 'font_family' => 'inherit', 'font_style' => 'inherit', 'font_weight' => '400', 'font_size' => [ 'value' => '14', 'unit' => 'px', ], 'letter_spacing' => '', ], 'background' => [ 'color' => '', 'color_hover' => '', 'color_active' => '', ], 'border' => [ 'color' => $border_color, 'color_hover' => $text_color, 'color_active' => $text_color, 'width_px' => '2', 'offset_px' => '2', 'gap_px' => '', ], 'text_mode_item' => [ 'padding' => [ 'top' => '', 'right' => '15', 'bottom' => '', 'left' => '15', 'unit' => 'px', ], ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], 'cpo_general' => [ 'main' => [ 'cpo_slug' => $post_unit_dishes_slug, 'cpo_is_required' => 'no', 'cpo_mode_radio' => 'classic', 'cpo_geom_radio' => 'circle', 'cpo_is_changeimage' => 'no', 'cpo_is_imagify' => 'no', 'cpo_is_resetbutton' => 'no', 'cpo_resetbutton_text' => 'Очистить', 'cpo_encoded_image' => '', 'cpo_notice_text' => '', ], 'advanced' => [ 'cpo_label' => '', 'cpo_label_tag' => 'label', 'cpo_order_label' => '', 'cpo_is_tooltip' => 'no', 'cpo_tooltip_type' => 'classic', 'cpo_tooltip' => '', 'cpo_tooltip_image' => [ 'url' => '', 'id' => '0', 'alt' => '', ], 'cpo_tooltip_class' => '', 'cpo_enable_cartedit' => 'no', 'cpo_order_visibility' => 'no', ], ], 'cpo_suboptions' => [ 'data' => [ 'cpo_radio_options' => $unit_dishes_items, ], ], 'cpo_rules' => [ 'main' => [ 'cpo_is_sc' => 'no', 'cpo_sc_default' => 'hide', ], 'data' => '', ], 'cpo_conditional' => [ 'main' => [ 'cpo_is_fc' => 'no', 'cpo_fc_default' => 'hide', 'cpo_fc_scheme' => '', ], ], 'cpo_validation' => [ 'main' => [ 'cpo_validation_msg' => [ 'req' => '', 'custom' => '', ], ], 'logic' => [ 'cpo_vc_scheme' => [], ], ], ], 'title' => 'Радио кнопки', 'type' => 'radio', ], [ 'id' => getToken(8), 'order' => 1, 'obj_type' => 'module', 'parentColumnId' => $column_2_id, 'parentRowId' => $row_id, 'pid' => NULL, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', ], ], 'main' => [ 'content' => $modificators_text, ], ], 'style' => [ 'text' => [ 'color' => '', 'text_align' => '', ], 'font' => [ 'font_family' => 'inherit', 'font_style' => 'inherit', 'font_weight' => $modificators_text_weight, 'font_size' => [ 'value' => $modificators_text_size, 'unit' => 'px', ], 'letter_spacing' => '', 'line_height' => '', ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' => 'px', ], 'padding' => [ 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => '', ], ], ], 'title' => 'Параграф', 'type' => 'text', ], [ 'id' => getToken(8), 'order' => 2, 'obj_type' => 'option', 'parentColumnId' => $column_2_id, 'parentRowId' => $row_id, 'pid' => $post_modificators_id, 'settings' => [ 'general' => [ 'status' => [ 'sync' => [ 'type' => 'none', 'pid' => '0', ], ], 'main' => [ 'width_px' => '', 'height_px' => '', 'content' => '', ], ], 'style' => [ 'label' => [ 'color' => '', 'text_align_label' => '', 'font_family' => 'inherit', 'font_weight' => '', 'font_size_label' => [ 'value' => '', 'unit' => 'px', ], ], 'description' => [ 'color' => '', 'font_weight' => '', 'font_size_desc' => [ 'value' => '', 'unit' => 'px', ], ], 'font' => [ 'color' => $text_color, 'color_hover' => '', 'color_active' => '', 'text_align' => 'center', 'font_family' => 'inherit', 'font_style' => 'inherit', 'font_weight' => '400', 'font_size' => [ 'value' => '14', 'unit' => 'px', ], 'letter_spacing' => '', ], 'background' => [ 'color' => '', 'color_hover' => '', 'color_active' => '', ], 'border' => [ 'color' => $border_color, 'color_hover' => $text_color, 'color_active' => $text_color, 'width_px' => '2', 'offset_px' => '', 'gap_px' => '2', ], 'text_mode_item' => [ 'padding' => [ 'top' => '', 'right' => '15', 'bottom' => '', 'left' => '15', 'unit' => 'px', ], ], ], 'advanced' => [ 'layout' => [ 'margin' => [ 'top' => '10', 'right' => '10', 'bottom' => '10', 'left' => '10', 'unit' => 'px', ], ], 'selectors' => [ 'id_name' => '', 'class_name' => 'product-modificator', ], ], 'cpo_general' => [ 'main' => [ 'cpo_slug' => $post_modificators_slug, 'cpo_is_required' => 'no', 'cpo_mode_checkbox' => 'text', 'cpo_geom_checkbox' => 'square', 'cpo_is_changeimage' => 'no', 'cpo_notice_text' => '', ], 'advanced' => [ 'cpo_label' => '', 'cpo_label_tag' => 'label', 'cpo_order_label' => '', 'cpo_is_tooltip' => 'no', 'cpo_tooltip_type' => 'classic', 'cpo_tooltip' => '', 'cpo_tooltip_image' => [ 'url' => '', 'id' => '0', 'alt' => '', ], 'cpo_tooltip_class' => '', 'cpo_enable_cartedit' => 'no', 'cpo_order_visibility' => 'no', ], ], 'cpo_suboptions' => [ 'data' => [ 'cpo_radio_options' => $modificators_items, ], ], 'cpo_rules' => [ 'main' => [ 'cpo_is_sc' => 'no', 'cpo_sc_default' => 'hide', ], 'data' => '', ], 'cpo_conditional' => [ 'main' => [ 'cpo_is_fc' => 'no', 'cpo_fc_default' => 'hide', 'cpo_fc_scheme' => '', ], ], 'cpo_validation' => [ 'main' => [ 'cpo_validation_msg' => [ 'req' => '', 'custom' => '', ], ], 'logic' => [ 'cpo_vc_extra' => '', ], ], ], 'title' => 'Чекбоксы', 'type' => 'checkbox', ], ], ], ], ], ];