<?php

//Woocommerce Shop Template
$settings = array(
	'id'			=> 'woo-page-template',
	'type'			=> 'radioimage',
	'title'			=> esc_html__( 'Woocommerce Shop Template', 'miion' ),
	'description'	=> esc_html__( 'Choose your current archive page template.', 'miion' ),
	'default'		=> 'right-sidebar',
	'items' 		=> array(
		'no-sidebar'	=> MIION_ADMIN_URL . '/customizer/assets/images/page-layouts/1.png',
		'right-sidebar'	=> MIION_ADMIN_URL . '/customizer/assets/images/page-layouts/2.png',
		'left-sidebar'	=> MIION_ADMIN_URL . '/customizer/assets/images/page-layouts/3.png',
		'both-sidebar'	=> MIION_ADMIN_URL . '/customizer/assets/images/page-layouts/4.png'		
	),
	'cols'			=> '4',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );

//Left Sidebar
$settings = array(
	'id'			=> 'woo-left-sidebar',
	'type'			=> 'sidebars',
	'title'			=> esc_html__( 'Left Sidebar', 'miion' ),
	'description'	=> esc_html__( 'Select widget area for showing on left side.', 'miion' ),
	'default'		=> 'sidebar-1',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );

//Right Sidebar
$settings = array(
	'id'			=> 'woo-right-sidebar',
	'type'			=> 'sidebars',
	'title'			=> esc_html__( 'Right Sidebar', 'miion' ),
	'description'	=> esc_html__( 'Select widget area for showing on right side.', 'miion' ),
	'default'		=> 'sidebar-1',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );

//Shop Columns
$settings = array(
	'id'			=> 'woo-shop-columns',
	'type'			=> 'select',
	'title'			=> esc_html__( 'Shop Columns', 'miion' ),
	'description'	=> esc_html__( 'This is column settings woocommerce shop page products.', 'miion' ),
	'choices'		=> array(
		'2'		=> esc_html__( '2 Columns', 'miion' ),
		'3'		=> esc_html__( '3 Columns', 'miion' ),
		'4'		=> esc_html__( '4 Columns', 'miion' ),
		'5'		=> esc_html__( '5 Columns', 'miion' ),
		'6'		=> esc_html__( '6 Columns', 'miion' ),
	),
	'default'		=> '3',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );

//Shop Product Per Page
$settings = array(
	'id'			=> 'woo-shop-ppp',
	'type'			=> 'text',
	'title'			=> esc_html__( 'Shop Product Per Page', 'miion' ),
	'description'	=> esc_html__( 'This is column settings woocommerce related products per page', 'miion' ),
	'default'		=> '12',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );

//Related Product Per Page
$settings = array(
	'id'			=> 'woo-related-ppp',
	'type'			=> 'text',
	'title'			=> esc_html__( 'Related Product Per Page', 'miion' ),
	'description'	=> esc_html__( 'This is column settings woocommerce related products per page', 'miion' ),
	'default'		=> '3',
	'refresh'		=> 1
);
MiionCustomizerConfig::buildFields( $settings );