<?php
/**
 * About configuration
 *
 * @package Ecommerce_X
 */

$config = array(
	'menu_name' => esc_html__( 'Ecommerce X Setup', 'ecommerce-x' ),
	'page_name' => esc_html__( 'Ecommerce X Setup', 'ecommerce-x' ),

	/* translators: theme version */
	'welcome_title' => sprintf( esc_html__( 'Welcome to %s - ', 'ecommerce-x' ), 'Ecommerce X' ),

	/* translators: 1: theme name */
	'welcome_content' => sprintf( esc_html__( 'We hope this page will help you to setup %1$s with few clicks. We believe you will find it easy to use and perfect for your website development.', 'ecommerce-x' ), 'Ecommerce X' ),

	// Quick links.
	'quick_links' => array(
		'theme_url' => array(
			'text' => esc_html__( 'Theme Details','ecommerce-x' ),
			'url'  => 'https://wpcodethemes.com/downloads/ecommerce-x/',
		),
		'demo_url' => array(
			'text' => esc_html__( 'View Demo','ecommerce-x' ),
			'url'  => 'https://wpcodethemes.com/ecommerce-x/',
		),
		'documentation_url' => array(
			'text'   => esc_html__( 'Documentation','ecommerce-x' ),
			'url'    => 'https://wpcodethemes.com/wp-content/uploads/2018/09/Ecommerce-x.pdf',
		),
		'upgrade_url' => array(
			'text'   => esc_html__( 'Upgrade to Pro','ecommerce-x' ),
			'url'    => 'https://wpfactory.com/item/ecommerce-x-theme-for-woocommerce/',
			'button' => 'primary'
		),
	),

	// Tabs.
	'tabs' => array(
		'getting_started'     => esc_html__( 'Getting Started', 'ecommerce-x' ),
		'recommended_actions' => esc_html__( 'Recommended Actions', 'ecommerce-x' ),
		'support'             => esc_html__( 'Support', 'ecommerce-x' ),
	),

	// Getting started.
	'getting_started' => array(
		array(
			'title'               => esc_html__( 'Theme Documentation', 'ecommerce-x' ),
			'text'                => esc_html__( 'Find step by step instructions to setup theme easily.', 'ecommerce-x' ),
			'button_label'        => esc_html__( 'View documentation', 'ecommerce-x' ),
			'button_link'         => 'https://wpcodethemes.com/wp-content/uploads/2018/09/Ecommerce-x.pdf',
			'is_button'           => true,
			'recommended_actions' => false,
			'is_new_tab'          => true,
		),
		array(
			'title'               => esc_html__( 'Recommended Actions', 'ecommerce-x' ),
			'text'                => esc_html__( 'We recommend few steps to take so that you can get complete site like shown in demo.', 'ecommerce-x' ),
			'button_label'        => esc_html__( 'Check recommended actions', 'ecommerce-x' ),
			'button_link'         => esc_url( admin_url( 'themes.php?page=ecommerce-x-about&tab=recommended_actions' ) ),
			'is_button'           => true,
			'recommended_actions' => false,
			'is_new_tab'          => false,
		),
		array(
			'title'               => esc_html__( 'Customize Everything', 'ecommerce-x' ),
			'text'                => esc_html__( 'Start customizing every aspect of the website with customizer.', 'ecommerce-x' ),
			'button_label'        => esc_html__( 'Go to Customizer', 'ecommerce-x' ),
			'button_link'         => esc_url( wp_customize_url() ),
			'is_button'           => true,
			'recommended_actions' => false,
			'is_new_tab'          => false,
		),
	),

	// Recommended actions.
	'recommended_actions' => array(
		'content' => array(
			'woocommerce' => array(
				'title'       => esc_html__( 'Woocommerce', 'ecommerce-x' ),
				'description' => esc_html__( 'Please install the Woocommerce plugin to add products and setup wp commerce theme. After activation go to Appearance >> WooCommerce.', 'ecommerce-x' ),
				'check'       => class_exists( 'OCDI_Plugin' ),
				'plugin_slug' => 'woocommerce',
				'id'          => 'woocommerce',
			),

			'front-page' => array(
				'title'       => esc_html__( 'Setting Static Front Page','ecommerce-x' ),
				'description' => esc_html__( 'Create a new page to display on front page ( Ex: Home ) and assign "Home" template. Select A static page then Front page and Posts page to display front page specific sections. Note: Static page will be set automatically when you import demo content.', 'ecommerce-x' ),
				'id'          => 'front-page',
				'check'       => ( 'page' === get_option( 'show_on_front' ) ) ? true : false,
				'help'        => '<a href="' . esc_url( wp_customize_url() ) . '?autofocus[section]=static_front_page" class="button button-secondary">' . esc_html__( 'Static Front Page', 'ecommerce-x' ) . '</a>',
			),
			'newsletter' => array(
				'title'       => esc_html__( 'NewsLetter Plugin', 'ecommerce-x' ),
				'description' => esc_html__( 'Please install the Newsletter Plugin Before Importing Demo.', 'ecommerce-x' ),
				'check'       => class_exists( 'OCDI_Plugin' ),
				'plugin_slug' => 'newsletter',
				'id'          => 'newsletter',
			),

			'one-click-demo-import' => array(
				'title'       => esc_html__( 'One Click Demo Import', 'ecommerce-x' ),
				'description' => esc_html__( 'Please install the One Click Demo Import plugin to import the demo content. After activation go to Appearance >> Import Demo Data and import it.', 'ecommerce-x' ),
				'check'       => class_exists( 'OCDI_Plugin' ),
				'plugin_slug' => 'one-click-demo-import',
				'id'          => 'one-click-demo-import',
			),
		),
	),

	// Support.
	'support_content' => array(
		'first' => array(
			'title'        => esc_html__( 'Contact Support', 'ecommerce-x' ),
			'icon'         => 'dashicons dashicons-sos',
			'text'         => esc_html__( 'If you have any problem, feel free to create ticket on our dedicated Support forum.', 'ecommerce-x' ),
			'button_label' => esc_html__( 'Contact Support', 'ecommerce-x' ),
			'button_link'  => esc_url( 'https://wpcodethemes.com/downloads/ecommerce-x/' ),
			'is_button'    => true,
			'is_new_tab'   => true,
		),
		'second' => array(
			'title'        => esc_html__( 'Theme Documentation', 'ecommerce-x' ),
			'icon'         => 'dashicons dashicons-book-alt',
			'text'         => esc_html__( 'Kindly check our theme documentation for detailed information and video instructions.', 'ecommerce-x' ),
			'button_label' => esc_html__( 'View Documentation', 'ecommerce-x' ),
			'button_link'  => 'https://wpcodethemes.com/wp-content/uploads/2018/09/Ecommerce-x.pdf',
			'is_button'    => true,
			'is_new_tab'   => true,
		),
		'third' => array(
			'title'        => esc_html__( 'Customization Request', 'ecommerce-x' ),
			'icon'         => 'dashicons dashicons-admin-tools',
			'text'         => esc_html__( 'This is 100% free theme and has premium version.Either Upgrade to Pro or  Feel free to contact us any time if you need any customization service.', 'ecommerce-x' ),
			'button_label' => esc_html__( 'Upgrade to Pro', 'ecommerce-x' ),
			'button_link'  => 'https://wpfactory.com/item/ecommerce-x-theme-for-woocommerce/',
			'is_button'    => true,
			'is_new_tab'   => true,
		),
	),


);
Ecommerce_X_About::init( apply_filters( 'ecommerce_x_about_filter', $config ) );