<?php
/**
 * Redux Framework text config.
 * For full documentation, please visit: http://devs.redux.io/
 *
 * @package Redux Framework
 */

defined( 'ABSPATH' ) || exit;

Redux::set_section(
	$opt_name,
	array(
		'title'            => esc_html__( 'WooCommerce Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'homepage_wooCommerce_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			

			array(
                'id'       => 'woocommerce_title',
                'type'     => 'text',
                'title'    => __( 'WooCommerce Title', 'codedokan' ),
                'default'  => 'WooCommerce Product',
            ),
			
			array(
				'id'=>'product_category',
				'type' => 'select',
				'data' => 'terms',
				'args' => array('taxonomies'=>'product_cat', 'args'=>array()),
				'title' => __('Products Category', 'codedokan'), 
				'subtitle' => __('Please choose a product category.', 'codedokan'),
				'desc' => __('1st Please Create Product Category', 'codedokan'),
				'default'  => 1,
				),
			
			array(
                'id'       => 'how_woocommerce',
                'type'     => 'text',
                'title'    => __( 'How Many Post Show in HomePages WooCommerce Section', 'codedokan' ),
                'default'  => 10,
            ),
			
		
			


		
		),
	)
);
