<?php

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






function woo_shrk_product_metaconfig( $meta_options ) {
	// for Products
	$meta_options['product'] = array(
		'product_cover_settings' => array(
			"ms_label"    => esc_html__( 'Product cover image', 'ux-shop' ),
			"ms_context"  => 'side',
			"ms_priority" => 'low',
			"ms_fields" => array(
				'product_cover_image' => array(  
					"name"  => esc_html__('Product cover image', 'ux-shop'),
					"class" => '',
					"type"  => 'upload_image'
				),
			)
		),
		'product_newbadge_settings' => array(
			"ms_label"    => esc_html__( 'New badge', 'ux-shop' ),
			"ms_context"  => 'side',
			"ms_priority" => 'low',
			"ms_fields" => array(
				'woo_newbadge_enable' => array(  
					"name"  => esc_html__('New product badge', 'ux-shop'),
					"desc"  => esc_html__('If checked the new product badge will be displayed on this product regardless of it\'s age.', 'ux-shop'),
					'std'   => 'off',
					'type'  => 'toggle'
				),
			)
		)
	);

	return $meta_options;
}
add_filter( 'shrk_filter_meta_options_array', 'woo_shrk_product_metaconfig' );

?>