<?php
$woocommerce->addSubSection( array(
	'name'     => esc_html__( 'Category Products', 'cakeart' ),
	'id'       => 'woo_archive',
	'position' => 1,
) );

$woocommerce->createOption( array(
	'name'    => esc_html__( 'Archive Layout', 'cakeart' ),
	'id'      => 'woo_cate_layout',
	'type'    => 'radio-image',
	'options' => array(
		'full-content'  => $url . 'body-full.png',
		'sidebar-left'  => $url . 'sidebar-left.png',
		'sidebar-right' => $url . 'sidebar-right.png'
	),
	'default' => 'sidebar-left'
) );

$woocommerce->createOption( array(
	'name'    => esc_html__( 'Hide Title', 'cakeart' ),
	'id'      => 'woo_cate_hide_title',
	'type'    => 'checkbox',
	'desc'    => esc_html__( 'Check this box to hide/show title', 'cakeart' ),
	'default' => false,
) );

$woocommerce->createOption( array(
	'name'        => esc_html__( 'Top Image', 'cakeart' ),
	'id'          => 'woo_cate_top_image',
	'type'        => 'upload',
	'desc'        => esc_html__( 'Enter URL or Upload an top image file for header', 'cakeart' ),
	'livepreview' => ''
) );

$woocommerce->createOption( array(
	'name'        => esc_html__( 'Background Heading Color', 'cakeart' ),
	'id'          => 'woo_cate_heading_bg_color',
	'type'        => 'color-opacity',
	'livepreview' => ''
) );

$woocommerce->createOption( array(
	'name'    => esc_html__( 'Text Color Heading', 'cakeart' ),
	'id'      => 'woo_cate_heading_text_color',
	'type'    => 'color-opacity',
	'default' => '#e47277',
) );

$woocommerce->createOption( array(
	'name'    => esc_html__( 'sub Title', 'cakeart' ),
	'id'      => 'woo_cate_sub_title',
	'type'    => 'text',
	'default' => '',
) );