<?php
Redux::set_section( Minimog_Redux::OPTION_NAME, array(
	'title'      => __( 'Category Page', 'minimog' ),
	'id'         => 'shop_category',
	'subsection' => true,
	'fields'     => array(
		array(
			'id'     => 'section_start_product_category_title_bar',
			'type'   => 'tm_heading',
			'title'  => __( 'Title Bar Settings', 'minimog' ),
			'indent' => true,
		),
		array(
			'id'          => 'product_category_title_bar_layout',
			'type'        => 'select',
			'title'       => __( 'Title Bar Style', 'minimog' ),
			'placeholder' => __( 'Use Global Setting', 'minimog' ),
			'options'     => Minimog_Title_Bar::instance()->get_list( true ),
		),
		array(
			'id'          => 'shop_category_title_bar_show_description',
			'type'        => 'select',
			'title'       => __( 'Category Description Position', 'minimog' ),
			'description' => __( 'Note: "Inside Title Bar" position only works with Title Bar style Fill 01', 'minimog' ),
			'options'     => array(
				'0'              => __( 'Hide', 'minimog' ),
				'1'              => __( 'Inside Title Bar', 'minimog' ),
				'above_products' => __( 'Above Products', 'minimog' ),
				'below_products' => __( 'Below Products', 'minimog' ),
			),
			'default'     => Minimog_Redux::get_default_setting( 'shop_category_title_bar_show_description' ),
		),
		array(
			'id'       => 'shop_category_general_settings',
			'type'     => 'tm_heading',
			'title'    => 'Loop General Settings',
			'collapse' => 'show',
		),
		array(
			'id'      => 'shop_category_hover_effect',
			'type'    => 'select',
			'title'   => __( 'Hover Effect', 'minimog' ),
			'options' => array(
				''                    => __( 'None', 'minimog' ),
				'zoom-in'             => __( 'Zoom In', 'minimog' ),
				'zoom-out'            => __( 'Zoom Out', 'minimog' ),
				'scaling-up'          => __( 'Scale Up', 'minimog' ),
				'scaling-up-style-02' => __( 'Scale Up Bigger', 'minimog' ),
			),
			'default' => Minimog_Redux::get_default_setting( 'shop_category_hover_effect' ),
		),
		array(
			'id'      => 'shop_category_show_count',
			'type'    => 'button_set',
			'title'   => __( 'Show Count', 'minimog' ),
			'options' => array(
				'0' => __( 'No', 'minimog' ),
				'1' => __( 'Yes', 'minimog' ),
			),
			'default' => Minimog_Redux::get_default_setting( 'shop_category_show_count' ),
		),
		array(
			'id'      => 'shop_category_show_min_price',
			'type'    => 'button_set',
			'title'   => __( 'Show Min Price', 'minimog' ),
			'options' => array(
				'0' => __( 'No', 'minimog' ),
				'1' => __( 'Yes', 'minimog' ),
			),
			'default' => Minimog_Redux::get_default_setting( 'shop_category_show_min_price' ),
		),
		array(
			'id'       => 'shop_category_for_catalog',
			'type'     => 'tm_heading',
			'title'    => 'Shop Catalog Page',
			'subtitle' => 'Controls look and feel of product categories display on shop catalog page.',
		),
		array(
			'id'          => 'shop_sub_categories_position',
			'type'        => 'select',
			'title'       => __( 'Product Categories Position', 'minimog' ),
			'description' => 'Note: Inside Title Bar position only works with Title Bar style Fill 01',
			'options'     => [
				'above_sidebar'    => __( 'Above Sidebar', 'minimog' ),
				'beside_sidebar'   => __( 'Beside Sidebar', 'minimog' ),
				'inside_title_bar' => __( 'Inside Title Bar', 'minimog' ),
			],
			'default'     => Minimog_Redux::get_default_setting( 'shop_sub_categories_position' ),
		),
		array(
			'id'          => 'shop_sub_categories_style',
			'type'        => 'select',
			'title'       => __( 'Product Categories Style', 'minimog' ),
			'options'     => Minimog_Woo::instance()->get_shop_categories_style_options(),
			'default'     => Minimog_Redux::get_default_setting( 'shop_sub_categories_style' ),
		),
		array(
			'id'      => 'shop_sub_categories_layout',
			'type'    => 'button_set',
			'title'   => __( 'Layout', 'minimog' ),
			'options' => array(
				'slider' => __( 'Carousel', 'minimog' ),
				'grid'   => __( 'Grid', 'minimog' ),
			),
			'default' => Minimog_Redux::get_default_setting( 'shop_sub_categories_layout' ),
		),
		array(
			'id'            => 'shop_sub_categories_lg_columns',
			'title'         => __( 'Columns', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_lg_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'shop_sub_categories_lg_gutter',
			'title'         => __( 'Gutter', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_lg_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'shop_sub_categories_md_columns',
			'title'         => __( 'Columns (Tablet)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_md_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'shop_sub_categories_md_gutter',
			'title'         => __( 'Gutter (Tablet)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_md_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'shop_sub_categories_sm_columns',
			'title'         => __( 'Columns (Mobile)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_sm_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'shop_sub_categories_sm_gutter',
			'title'         => __( 'Gutter (Mobile)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'shop_sub_categories_sm_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'       => 'shop_category_for_category',
			'type'     => 'tm_heading',
			'title'    => 'Category Page',
			'subtitle' => 'Controls look and feel of product categories display on category page.',
		),
		array(
			'id'          => 'product_category_sub_categories_position',
			'type'        => 'select',
			'title'       => __( 'Product Categories Position', 'minimog' ),
			'description' => 'Note: Inside Title Bar position only works with Title Bar style Fill 01',
			'options'     => [
				'above_sidebar'    => __( 'Above Sidebar', 'minimog' ),
				'beside_sidebar'   => __( 'Beside Sidebar', 'minimog' ),
				'inside_title_bar' => __( 'Inside Title Bar', 'minimog' ),
			],
			'default'     => Minimog_Redux::get_default_setting( 'product_category_sub_categories_position' ),
		),
		array(
			'id'          => 'product_category_sub_categories_style',
			'type'        => 'select',
			'title'       => __( 'Product Sub Categories Style', 'minimog' ),
			'options'     => Minimog_Woo::instance()->get_shop_categories_style_options(),
			'default'     => Minimog_Redux::get_default_setting( 'product_category_sub_categories_style' ),
		),
		array(
			'id'      => 'product_category_sub_categories_layout',
			'type'    => 'button_set',
			'title'   => __( 'Layout', 'minimog' ),
			'options' => array(
				'slider' => __( 'Carousel', 'minimog' ),
				'grid'   => __( 'Grid', 'minimog' ),
			),
			'default' => Minimog_Redux::get_default_setting( 'product_category_sub_categories_layout' ),
		),
		array(
			'id'            => 'product_category_sub_categories_lg_columns',
			'title'         => __( 'Columns', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_lg_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'product_category_sub_categories_lg_gutter',
			'title'         => __( 'Gutter', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_lg_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'product_category_sub_categories_md_columns',
			'title'         => __( 'Columns (Tablet)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_md_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'product_category_sub_categories_md_gutter',
			'title'         => __( 'Gutter (Tablet)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_md_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'product_category_sub_categories_sm_columns',
			'title'         => __( 'Columns (Mobile)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_sm_columns' ),
			'min'           => 1,
			'max'           => 6,
			'step'          => 1,
			'display_value' => 'text',
		),
		array(
			'id'            => 'product_category_sub_categories_sm_gutter',
			'title'         => __( 'Gutter (Mobile)', 'minimog' ),
			'type'          => 'slider',
			'default'       => Minimog_Redux::get_default_setting( 'product_category_sub_categories_sm_gutter' ),
			'min'           => 0,
			'max'           => 100,
			'step'          => 1,
			'display_value' => 'text',
		),
	),
) );
