<?php

Kirki::add_section( 'single_shop_options', array(
	'title' => esc_html__( 'Single Shop Page', 'newshit' ),
	'panel' => 'newshit_theme_shop',
) );

new \Kirki\Field\Select(
	[
		'settings' => 'single_shop_page_layout',
		'label'    => esc_html__( 'Select Single Shop Page Layout', 'newshit' ),
		'section'  => 'single_shop_options',
		'default'  => 'full-width',
		'choices'  => [
			'full-width'    => esc_html__( 'No Sidebar', 'newshit' ),
			'left-sidebar'  => esc_html__( 'Left Sidebar', 'newshit' ),
			'right-sidebar' => esc_html__( 'Right Sidebar', 'newshit' ),
		],
	]
);

new \Kirki\Field\Select(
	[
		'settings' => 'related_item_columns',
		'label'    => esc_html__( 'Select Related item Columns', 'newshit' ),
		'section'  => 'single_shop_options',
		'default'  => '4',
		'choices'  => [
			'1'    => esc_html__( 'One Column', 'newshit' ),
			'2'    => esc_html__( 'Two Column', 'newshit' ),
			'3'    => esc_html__( 'Three Column', 'newshit' ),
			'4'    => esc_html__( 'Four Column', 'newshit' ),
			'5'    => esc_html__( 'Five Column', 'newshit' ),
			'6'    => esc_html__( 'Six Column', 'newshit' ),
		],
	]
);

new \Kirki\Field\Number(
	[
		'settings' => 'related_shop_perpage',
		'label'    => esc_html__( 'Display Item', 'newshit' ),
		'section'  => 'single_shop_options',
		'default'  => 4,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
);
