File: /home/s/l/y/slyfwmm/studiomilighetti/wp-content/themes/domik/includes/redux-sections/shop.php
<?php
/* banner-php */
Redux::setSection( $opt_name, array(
'title' => esc_html__('Shop', 'domik'),
'id' => 'shop-settings',
'subsection' => false,
'icon' => 'el-icon-shopping-cart',
'fields' => array(
array(
'id' => 'shop_fullwidth_nav_menu',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik'),
'off'=> esc_html__('No', 'domik'),
'title' => esc_html__( 'Fullwidth Navigation Menu', 'domik' ),
'default' => false,
),
array(
'id' => 'show_shop_header',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik'),
'off'=> esc_html__('No', 'domik'),
'title' => esc_html__( 'Show Shop Header', 'domik' ),
'default' => true,
),
array(
'id' => 'shop_header_image',
'type' => 'media',
'url' => true,
'title' => esc_html__('Shop Header Image', 'domik'),
'default' => array('url' => get_template_directory_uri().'/assets/images/bg/10.jpg'),
),
array(
'id' => 'shop_breadcrumbs',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik'),
'off'=> esc_html__('No', 'domik'),
'title' => esc_html__( 'Show Breadcrumbs', 'domik' ),
'default' => true,
),
array(
'id' => 'shop_sidebar',
'type' => 'image_select',
'title' => esc_html__( 'Shop Sidebar', 'domik' ),
'options' => array(
'fullwidth' => array(
'alt' => 'No Sidebar',
'img' => get_template_directory_uri() . '/assets/redux/1col.png'
),
'left_sidebar' => array(
'alt' => 'Left Sidebar',
'img' => get_template_directory_uri() . '/assets/redux/2cl.png'
),
'right_sidebar' => array(
'alt' => 'Right Sidebar',
'img' => get_template_directory_uri() . '/assets/redux/2cr.png'
),
),
'default' => 'right_sidebar'
),
array(
'id' => 'shop-sidebar-width',
'type' => 'select',
'title' => esc_html__('Sidebar Width', 'domik'),
'subtitle' => esc_html__( 'Based on Bootstrap 12 columns.', 'domik' ),
'options' => array(
'2' => esc_html__('2 Columns', 'domik'),
'3' => esc_html__('3 Columns', 'domik'),
'4' => esc_html__('4 Columns', 'domik'),
'5' => esc_html__('5 Columns', 'domik'),
'6' => esc_html__('6 Columns', 'domik'),
), //Must provide key => value pairs for select options
'default' => '4'
),
array(
'id' => 'shop_posts_per_page',
'type' => 'text',
'title' => esc_html__( 'Posts per page', 'domik' ),
'subtitle' => esc_html__( 'Number of post to show per page, -1 to show all posts.', 'domik' ),
'default' => 12,
),
// array(
// 'id' => 'show_image_large_popup',
// 'type' => 'switch',
// 'on'=> esc_html__('Yes', 'domik'),
// 'off'=> esc_html__('No', 'domik'),
// 'title' => esc_html__( 'Show image popup button', 'domik' ),
// 'subtitle' => esc_html__( 'Set this to On to show image popup button on product list view.', 'domik' ),
// 'default' => true,
// ),
array(
'id' => 'shop_columns',
'type' => 'select',
'title' => esc_html__('Desktop Columns', 'domik'),
'desc' => esc_html__('Number of products per row on desktop view.','domik'),
'options' => array(
'one' => esc_html__('One column', 'domik'),
'two' => esc_html__('Two columns', 'domik'),
'three' => esc_html__('Three columns', 'domik'),
'four' => esc_html__('Four columns', 'domik'),
'five' => esc_html__('Five columns', 'domik'),
'six' => esc_html__('Six columns', 'domik'),
),
'default' => 'three'
),
array(
'id' => 'shop_columns_tablet',
'type' => 'select',
'title' => esc_html__('Horizontal Tablet Columns', 'domik'),
'desc' => esc_html__('Number of products per row on tablet horizontal view.','domik'),
'options' => array(
'one' => esc_html__('One column', 'domik'),
'two' => esc_html__('Two columns', 'domik'),
'three' => esc_html__('Three columns', 'domik'),
'four' => esc_html__('Four columns', 'domik'),
'five' => esc_html__('Five columns', 'domik'),
'six' => esc_html__('Six columns', 'domik'),
),
'default' => 'three'
),
// array(
// 'id' => 'shop_show_header_mini_cart',
// 'type' => 'switch',
// 'on'=> esc_html__('Yes', 'domik'),
// 'off'=> esc_html__('No', 'domik'),
// 'title' => esc_html__( 'Show shopping cart on header?', 'domik' ),
// 'default' => true,
// ),
// array(
// 'id' => 'shop_layout',
// 'type' => 'select',
// 'title' => esc_html__('Shop Layout', 'domik'),
// 'options' => array(
// 'grid_layout' => esc_html__('Grid Layout', 'domik'),
// 'list_layout' => esc_html__('List Layout', 'domik'),
// ),
// 'default' => 'grid_layout'
// ),
// array(
// 'id' => 'shop_show_layout_switcher',
// 'type' => 'switch',
// 'on'=> esc_html__('Yes', 'domik'),
// 'off'=> esc_html__('No', 'domik'),
// 'title' => esc_html__( 'Show layout switch?', 'domik' ),
// 'default' => true,
// ),
// array(
// 'id' => 'shop_show_product_list_excerpt',
// 'type' => 'switch',
// 'on'=> esc_html__('Yes', 'domik'),
// 'off'=> esc_html__('No', 'domik'),
// 'title' => esc_html__( 'Show product excerpt?', 'domik' ),
// 'default' => true,
// ),
),
) );