File "woocommerce.php"
Full Path: /home/elegucvf/public_html/video/wp-content/plugins/atlas-core/functions/redux-sections/woocommerce.php
File size: 3.17 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*if ( ! class_exists( 'WooCommerce' ) ) {
return;
}*/
Redux::set_section( $opt_name, array(
'title' => esc_html__( 'Woocommerce', 'atlas-core' ),
'heading' => esc_html__( 'Woocommerce Settings', 'atlas-core' ),
'desc' => esc_html__( 'Woocommerce Settings options is working when WooCommerce plugin is activated', 'atlas-core' ),
'id' => 'shop-settings',
'icon' => 'el el-shopping-cart',
'fields' => array(
array(
'id' => 'shop_sidebar',
'type' => 'image_select',
'title' => esc_html__( 'Shop sidebar layout', 'atlas-core' ),
'options' => $th90_def_options['sidebar_layouts'],
'default' => $th90_def_options['shop_sidebar'],
),
/*array(
'id' => 'box_shop',
'type' => 'switch',
'title' => esc_html__( 'Enable box style', 'atlas-core' ),
'subtitle' => esc_html__( 'If you want to enable box with border on shop.', 'atlas-core' ),
'default' => $th90_def_options['box_shop'],
'on' => 'Yes',
'off' => 'No',
),*/
array(
'id' => 'shop_number',
'type' => 'text',
'title' => esc_html__( 'Shop number per page', 'atlas-core' ),
'desc' => esc_html__( 'Number of products displayed per page.', 'atlas-core' ),
'default' => $th90_def_options['shop_number'],
'validate' => 'numeric',
),
array(
'id' => 'product_title_tag',
'title' => esc_html__( 'Product title size', 'atlas-core' ),
'type' => 'select',
'options' => $th90_def_options['heading_sizes'],
'default' => $th90_def_options['product_title_tag'],
),
array(
'id' => 'section-product_layout-start',
'type' => 'section',
'title' => esc_html__( 'Single Product', 'atlas-core' ),
'indent' => true,
),
array(
'id' => 'product_sidebar',
'type' => 'image_select',
'title' => esc_html__( 'Product sidebar layout', 'atlas-core' ),
'options' => $th90_def_options['sidebar_layouts'],
'default' => $th90_def_options['product_sidebar'],
),
/*array(
'id' => 'box_product',
'type' => 'switch',
'title' => esc_html__( 'Enable box style', 'atlas-core' ),
'subtitle' => esc_html__( 'If you want to enable box with border on product page.', 'atlas-core' ),
'default' => $th90_def_options['box_product'],
'on' => 'Yes',
'off' => 'No',
),*/
array(
'id' => 'product_gallery_thumb',
'title' => esc_html__( 'Gallery thumbnail columns', 'atlas-core' ),
'type' => 'select',
'options' => array(
'2' => '2 Columns',
'3' => '3 Columns',
'4' => '4 Columns',
'5' => '5 Columns',
'6' => '6 Columns',
'8' => '8 Columns',
),
'default' => $th90_def_options['product_gallery_thumb'],
),
array(
'id' => 'social_shares_product',
'type' => 'checkbox',
'title' => esc_html__( 'Social shares', 'atlas-core' ),
'subtitle' => esc_html__( 'Check the social shares you are going to show.', 'atlas-core' ),
'options' => $th90_def_options['social_shares'],
'mode' => 'checkbox',
'multi_layout' => 'third',
'default' => $th90_def_options['social_shares_product'],
),
),
)
);