<?php

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * WooCommerce Options
 */

$wp_customize->add_section(
			'wrockmetro_woo_settings',
			array(
				'title'       => __( 'Theme WooSettings', 'wrock-metro' ),
				'capability'  => 'edit_theme_options',					
				'panel'			=> 'woocommerce',
			));
		
$wp_customize->add_setting(
			'wrockmetro_woostyle',
			array(
				'default'           => 'enable',
				'type'              => 'theme_mod',
				'sanitize_callback' => 'sanitize_text_field',
				'capability'        => 'edit_theme_options',
				'panel'			=> 'woocommerce',
			));
		$wp_customize->add_control(
			new WP_Customize_Control(
				$wp_customize,
				'wrockmetro_woostyle',
				array(
					'label'       => __( 'WooCoomerce Design Theme/Default Woo', 'wrock-metro' ),
					'description' => __( 'Enable or disable Featured Image', 'wrock-metro' ),
					'section'     => 'wrockmetro_woo_settings',
					'type'        => 'select',
					'choices'     => array(
						'enable' => __( 'Theme Style', 'wrock-metro' ),
						'disable' => __( 'WooCommerce Style', 'wrock-metro' ),
					),
					'priority'    => apply_filters( 'wrockmetro_bootstrap_version_priority', 10 ),
				)));	