/home/bonphmya/mercandestockages.store/wp-content/themes/digitaz/inc/merlin-config.php
<?php
use Elementor\Plugin;
class Digitaz_Merlin_Config {
private $wizard;
public function __construct() {
$this->init();
add_filter('merlin_import_files', [$this, 'import_files']);
add_action('merlin_after_all_import', [$this, 'after_import_setup'], 10, 1);
add_filter('merlin_generate_child_functions_php', [$this, 'render_child_functions_php']);
add_action('import_start', function () {
add_filter('wxr_importer.pre_process.post_meta', [$this, 'fiximport_elementor'], 10, 1);
});
}
public function fiximport_elementor($post_meta) {
if ('_elementor_data' === $post_meta['key']) {
$post_meta['value'] = wp_slash($post_meta['value']);
}
return $post_meta;
}
public function import_files(){
return array(
array(
'import_file_name' => 'home 1',
'home' => 'home-1',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-1.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-1/home-1.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_1.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-1',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 2',
'home' => 'home-2',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-2.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-2/home-2.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_2.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-2',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 3',
'home' => 'home-3',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-3.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_3.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-3',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 4',
'home' => 'home-4',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-4.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-4/home-4.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_4.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-4',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 5',
'home' => 'home-5',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-5.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-5/home-5.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_5.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-5',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 6',
'home' => 'home-6',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-6.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-6/home-6.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_6.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-6',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 7',
'home' => 'home-7',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-7.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-7/home-7.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_7.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-7',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 8',
'home' => 'home-8',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-8.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-8/home-8.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_8.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-8',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home 9',
'home' => 'home-9',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-9.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_rev_slider_file_url' => 'http://source.wpopal.com/digitaz/dummy_data/revsliders/home-9/home-9.zip',
'import_more_revslider_file_url' => [],
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_9.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-9',
'themeoptions' => '{}',
),
array(
'import_file_name' => 'home free',
'home' => 'home-free',
'local_import_file' => get_theme_file_path('/dummy-data/content.xml'),
'homepage' => get_theme_file_path('/dummy-data/homepage/home-free.xml'),
'local_import_widget_file' => get_theme_file_path('/dummy-data/widgets.json'),
'import_preview_image_url' => get_theme_file_uri('/assets/images/oneclick/home_free.jpg'),
'preview_url' => 'https://demo2.wpopal.com/digitaz/home-free',
'themeoptions' => '{}',
),
);
}
public function after_import_setup($selected_import) {
$selected_import = ($this->import_files())[$selected_import];
$check_oneclick = get_option('digitaz_check_oneclick', []);
$this->set_demo_menus();
if (!isset($check_oneclick[$selected_import['home']])) {
$this->wizard->importer->import(get_parent_theme_file_path('dummy-data/homepage/' . $selected_import['home'] . '.xml'));
$check_oneclick[$selected_import['home']] = true;
}
// setup Home page
$home = get_page_by_path($selected_import['home']);
if ($home) {
update_option('show_on_front', 'page');
update_option('page_on_front', $home->ID);
}
// Setup Options
$options = $this->get_all_options();
// Elementor
if ( ! isset( $check_oneclick['elementor-options'] ) ) {
$active_kit_id = Elementor\Plugin::$instance->kits_manager->get_active_id();
update_post_meta( $active_kit_id, '_elementor_page_settings', $options['elementor'] );
$check_oneclick['elementor-options'] = true;
}
// Options
$theme_options = $options['options'];
foreach ($theme_options as $key => $option) {
update_option($key, $option);
}
//Mailchimp
if (!isset($check_oneclick['mailchip'])) {
$mailchimp = $this->get_mailchimp_id();
if ($mailchimp) {
update_option('mc4wp_default_form_id', $mailchimp);
}
$check_oneclick['mailchip'] = true;
}
// Header Footer Builder
$this->reset_header_footer();
$this->set_hf($selected_import['home']);
// WooCommerce
if (!isset($check_oneclick['woocommerce'])) {
update_option('woocommerce_single_image_width', 800);
update_option('woocommerce_thumbnail_image_width', 450);
update_option('woocommerce_thumbnail_cropping', 'uncropped');
$check_oneclick['woocommerce'] = true;
}
if (!isset($check_oneclick['logo'])) {
set_theme_mod('custom_logo', $this->get_attachment('_logo'));
$check_oneclick['logo'] = true;
}
update_option('digitaz_check_oneclick', $check_oneclick);
\Elementor\Plugin::instance()->files_manager->clear_cache();
}
private function get_mailchimp_id() {
$params = array(
'post_type' => 'mc4wp-form',
'posts_per_page' => 1,
);
$post = get_posts($params);
return isset($post[0]) ? $post[0]->ID : 0;
}
private function get_attachment($key) {
$params = array(
'post_type' => 'attachment',
'post_status' => 'inherit',
'posts_per_page' => 1,
'meta_key' => $key,
);
$post = get_posts($params);
if ($post) {
return $post[0]->ID;
}
return 0;
}
private function init() {
$this->wizard = new Merlin(
$config = array(
// Location / directory where Merlin WP is placed in your theme.
'merlin_url' => 'merlin',
// The wp-admin page slug where Merlin WP loads.
'parent_slug' => 'themes.php',
// The wp-admin parent page slug for the admin menu item.
'capability' => 'manage_options',
// The capability required for this menu to be displayed to the user.
'dev_mode' => true,
// Enable development mode for testing.
'license_step' => false,
// EDD license activation step.
'license_required' => false,
// Require the license activation step.
'license_help_url' => '',
'directory' => '/inc/merlin',
// URL for the 'license-tooltip'.
'edd_remote_api_url' => '',
// EDD_Theme_Updater_Admin remote_api_url.
'edd_item_name' => '',
// EDD_Theme_Updater_Admin item_name.
'edd_theme_slug' => '',
// EDD_Theme_Updater_Admin item_slug.
),
$strings = array(
'admin-menu' => esc_html__('Theme Setup', 'digitaz'),
/* translators: 1: Title Tag 2: Theme Name 3: Closing Title Tag */
'title%s%s%s%s' => esc_html__('%1$s%2$s Themes ‹ Theme Setup: %3$s%4$s', 'digitaz'),
'return-to-dashboard' => esc_html__('Return to the dashboard', 'digitaz'),
'ignore' => esc_html__('Disable this wizard', 'digitaz'),
'btn-skip' => esc_html__('Skip', 'digitaz'),
'btn-next' => esc_html__('Next', 'digitaz'),
'btn-start' => esc_html__('Start', 'digitaz'),
'btn-no' => esc_html__('Cancel', 'digitaz'),
'btn-plugins-install' => esc_html__('Install', 'digitaz'),
'btn-child-install' => esc_html__('Install', 'digitaz'),
'btn-content-install' => esc_html__('Install', 'digitaz'),
'btn-import' => esc_html__('Import', 'digitaz'),
'btn-license-activate' => esc_html__('Activate', 'digitaz'),
'btn-license-skip' => esc_html__('Later', 'digitaz'),
/* translators: Theme Name */
'license-header%s' => esc_html__('Activate %s', 'digitaz'),
/* translators: Theme Name */
'license-header-success%s' => esc_html__('%s is Activated', 'digitaz'),
/* translators: Theme Name */
'license%s' => esc_html__('Enter your license key to enable remote updates and theme support.', 'digitaz'),
'license-label' => esc_html__('License key', 'digitaz'),
'license-success%s' => esc_html__('The theme is already registered, so you can go to the next step!', 'digitaz'),
'license-json-success%s' => esc_html__('Your theme is activated! Remote updates and theme support are enabled.', 'digitaz'),
'license-tooltip' => esc_html__('Need help?', 'digitaz'),
/* translators: Theme Name */
'welcome-header%s' => esc_html__('Welcome to %s', 'digitaz'),
'welcome-header-success%s' => esc_html__('Hi. Welcome back', 'digitaz'),
'welcome%s' => esc_html__('This wizard will set up your theme, install plugins, and import content. It is optional & should take only a few minutes.', 'digitaz'),
'welcome-success%s' => esc_html__('You may have already run this theme setup wizard. If you would like to proceed anyway, click on the "Start" button below.', 'digitaz'),
'child-header' => esc_html__('Install Child Theme', 'digitaz'),
'child-header-success' => esc_html__('You\'re good to go!', 'digitaz'),
'child' => esc_html__('Let\'s build & activate a child theme so you may easily make theme changes.', 'digitaz'),
'child-success%s' => esc_html__('Your child theme has already been installed and is now activated, if it wasn\'t already.', 'digitaz'),
'child-action-link' => esc_html__('Learn about child themes', 'digitaz'),
'child-json-success%s' => esc_html__('Awesome. Your child theme has already been installed and is now activated.', 'digitaz'),
'child-json-already%s' => esc_html__('Awesome. Your child theme has been created and is now activated.', 'digitaz'),
'plugins-header' => esc_html__('Install Plugins', 'digitaz'),
'plugins-header-success' => esc_html__('You\'re up to speed!', 'digitaz'),
'plugins' => esc_html__('Let\'s install some essential WordPress plugins to get your site up to speed.', 'digitaz'),
'plugins-success%s' => esc_html__('The required WordPress plugins are all installed and up to date. Press "Next" to continue the setup wizard.', 'digitaz'),
'plugins-action-link' => esc_html__('Advanced', 'digitaz'),
'import-header' => esc_html__('Import Content', 'digitaz'),
'import' => esc_html__('Let\'s import content to your website, to help you get familiar with the theme.', 'digitaz'),
'import-action-link' => esc_html__('Advanced', 'digitaz'),
'ready-header' => esc_html__('All done. Have fun!', 'digitaz'),
/* translators: Theme Author */
'ready%s' => esc_html__('Your theme has been all set up. Enjoy your new theme by %s.', 'digitaz'),
'ready-action-link' => esc_html__('Extras', 'digitaz'),
'ready-big-button' => esc_html__('View your website', 'digitaz'),
'ready-link-1' => sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://wordpress.org/support/', esc_html__('Explore WordPress', 'digitaz')),
'ready-link-2' => sprintf('<a href="%1$s" target="_blank">%2$s</a>', 'https://themebeans.com/contact/', esc_html__('Get Theme Support', 'digitaz')),
'ready-link-3' => sprintf('<a href="%1$s">%2$s</a>', admin_url('customize.php'), esc_html__('Start Customizing', 'digitaz')),
)
);
if (digitaz_is_elementor_activated()) {
add_action('widgets_init', [$this, 'widgets_init']);
}
}
public function widgets_init() {
require_once get_parent_theme_file_path('/inc/merlin/includes/recent-post.php');
register_widget('Digitaz_WP_Widget_Recent_Posts');
if (digitaz_is_woocommerce_activated()) {
require_once get_parent_theme_file_path('/inc/merlin/includes/class-wc-widget-layered-nav.php');
register_widget('Digitaz_Widget_Layered_Nav');
}
}
private function get_all_header_footer() {
return [
'home-1' => [
'header' => [
[
'slug' => 'header-1',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-1',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-2' => [
'header' => [
[
'slug' => 'header-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-3' => [
'header' => [
[
'slug' => 'header-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-4' => [
'header' => [
[
'slug' => 'header-6',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-1',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-5' => [
'header' => [
[
'slug' => 'header-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-6' => [
'header' => [
[
'slug' => 'header-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-7' => [
'header' => [
[
'slug' => 'header-4',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-1',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-8' => [
'header' => [
[
'slug' => 'header-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-3',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-9' => [
'header' => [
[
'slug' => 'header-5',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
'home-free' => [
'header' => [
[
'slug' => 'header-free',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
],
'footer' => [
[
'slug' => 'footer-2',
'ehf_target_include_locations' => ['rule' => ['basic-global'], 'specific' => []],
]
]
],
];
}
private function reset_header_footer() {
$footer_args = array(
'post_type' => 'elementor-hf',
'posts_per_page' => -1,
'meta_query' => array(
array(
'key' => 'ehf_template_type',
'compare' => 'IN',
'value' => ['type_footer', 'type_header']
),
)
);
$footer = new WP_Query($footer_args);
while ($footer->have_posts()) : $footer->the_post();
update_post_meta(get_the_ID(), 'ehf_target_include_locations', []);
update_post_meta(get_the_ID(), 'ehf_target_exclude_locations', []);
endwhile;
wp_reset_postdata();
}
public function set_demo_menus() {
$main_menu = get_term_by('name', 'Main Menu', 'nav_menu');
set_theme_mod(
'nav_menu_locations',
array(
'primary' => $main_menu->term_id,
'handheld' => $main_menu->term_id,
)
);
}
private function set_hf($home) {
$all_hf = $this->get_all_header_footer();
$datas = $all_hf[$home];
foreach ($datas as $item) {
foreach ($item as $object) {
$hf = get_page_by_path($object['slug'], OBJECT, 'elementor-hf');
if ($hf) {
update_post_meta($hf->ID, 'ehf_target_include_locations', $object['ehf_target_include_locations']);
if (isset($object['ehf_target_exclude_locations'])) {
update_post_meta($hf->ID, 'ehf_target_exclude_locations', $object['ehf_target_exclude_locations']);
}
}
}
}
}
public function render_child_functions_php() {
$output
= "<?php
/**
* Theme functions and definitions.
*/
";
return $output;
}
public function get_all_options(){
$options = [];
$options['options'] = json_decode('{"digitaz_options_blog_archive_sidebar":"left","digitaz_options_wocommerce_row_laptop":"3","digitaz_options_wocommerce_row_tablet":"2","digitaz_options_wocommerce_row_mobile":"1","digitaz_options_social_share":"1","digitaz_options_social_share_facebook":"1","digitaz_options_social_share_twitter":"1","digitaz_options_social_share_linkedin":"1","digitaz_options_social_share_google-plus":"1","digitaz_options_social_share_pinterest":"1","digitaz_options_single_product_content_meta":"<style>.elementor-7107 .elementor-element.elementor-element-b3e3f22:not(.elementor-motion-effects-element-type-background), .elementor-7107 .elementor-element.elementor-element-b3e3f22 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FCF7EA;}.elementor-7107 .elementor-element.elementor-element-b3e3f22{border-style:solid;border-color:#F6BE2F;transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:22px 30px 22px 30px;}.elementor-7107 .elementor-element.elementor-element-b3e3f22, .elementor-7107 .elementor-element.elementor-element-b3e3f22 > .elementor-background-overlay{border-radius:5px 5px 5px 5px;}.elementor-7107 .elementor-element.elementor-element-b3e3f22 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-bc-flex-widget .elementor-7107 .elementor-element.elementor-element-9c9718a.elementor-column .elementor-widget-wrap{align-items:center;}.elementor-7107 .elementor-element.elementor-element-9c9718a.elementor-column.elementor-element[data-element_type=\"column\"] > .elementor-widget-wrap.elementor-element-populated{align-content:center;align-items:center;}.elementor-7107 .elementor-element.elementor-element-9fc09f3 .elementor-icon-wrapper{text-align:center;line-height:1px;}.elementor-7107 .elementor-element.elementor-element-9fc09f3.elementor-view-stacked .elementor-icon{background-color:#F6BE2F;}.elementor-7107 .elementor-element.elementor-element-9fc09f3.elementor-view-framed .elementor-icon, .elementor-7107 .elementor-element.elementor-element-9fc09f3.elementor-view-default .elementor-icon{color:#F6BE2F;border-color:#F6BE2F;}.elementor-7107 .elementor-element.elementor-element-9fc09f3.elementor-view-framed .elementor-icon, .elementor-7107 .elementor-element.elementor-element-9fc09f3.elementor-view-default .elementor-icon svg{fill:#F6BE2F;}.elementor-7107 .elementor-element.elementor-element-9fc09f3 .elementor-icon{font-size:20px;}.elementor-7107 .elementor-element.elementor-element-9fc09f3 .elementor-icon i, .elementor-7107 .elementor-element.elementor-element-9fc09f3 .elementor-icon svg{transform:rotate(0deg);}.elementor-7107 .elementor-element.elementor-element-9fc09f3 > .elementor-widget-container{margin:0px 15px 0px 0px;}.elementor-7107 .elementor-element.elementor-element-9fc09f3{width:auto;max-width:auto;}.elementor-7107 .elementor-element.elementor-element-ccadf0b{font-size:14px;line-height:24px;width:auto;max-width:auto;}</style>\t\t<div data-elementor-type=\"section\" data-elementor-id=\"7107\" class=\"elementor elementor-7107\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b3e3f22 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b3e3f22\" data-element_type=\"section\" data-settings=\"{"background_background":"classic"}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9c9718a\" data-id=\"9c9718a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9fc09f3 elementor-widget__width-auto elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"9fc09f3\" data-element_type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"digitaz-icon- digitaz-icon-shopping-cart\"></i>\t\t\t</div>\n\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ccadf0b elementor-widget__width-auto elementor-widget elementor-widget-text-editor\" data-id=\"ccadf0b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div><strong>Other people want this.</strong> 15 people have this in their carts right now.</div>\t\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t</section>\n\t\t\t\t\t\t\t</div>\n\t\t\n","digitaz_options_woocommerce_archive_layout":"default","digitaz_options_single_product_gallery_layout":"horizontal"}', true);
$options['elementor'] = json_decode('{"system_colors":[{"_id":"primary","title":"Primary","color":"#1558E5"},{"_id":"primary_hover","title":"Primary Hover","color":"#124fce"},{"_id":"text","title":"Text","color":"#666666"},{"_id":"accent","title":"Heading","color":"#000000"},{"_id":"lighter","title":"Lighter","color":"#999999"},{"_id":"highlight","title":"Highlight","color":"#EF262C"},{"_id":"border","title":"Border","color":"#EFEFEF"}],"custom_colors":[],"system_typography":[{"_id":"primary","title":"Primary","typography_typography":"custom"},{"_id":"secondary","title":"Secondary","typography_typography":"custom"},{"_id":"accent","title":"Accent","typography_typography":"custom"},{"_id":"text","title":"Text","typography_typography":"custom"},{"_id":"heading_title","title":"Heading Title","typography_typography":"custom","typography_font_family":"Heebo","typography_text_transform":"none","typography_font_weight":"500","typography_font_size":{"unit":"px","size":24,"sizes":[]},"typography_line_height":{"unit":"px","size":32,"sizes":[]}},{"_id":"heading_footer","title":"heading Footer","typography_typography":"custom","typography_font_family":"Heebo","typography_font_weight":"500","typography_text_transform":"uppercase","typography_font_size":{"unit":"px","size":16,"sizes":[]},"typography_line_height":{"unit":"px","size":24,"sizes":[]}}],"custom_typography":[],"default_generic_fonts":"Sans-serif","site_name":"Digitaz","site_description":"Electronics Elementor WooCommerce Theme","page_title_selector":"h1.entry-title","activeItemIndex":1,"active_breakpoints":["viewport_mobile","viewport_mobile_extra","viewport_tablet","viewport_tablet_extra","viewport_laptop"],"viewport_md":768,"viewport_lg":1025,"container_width":{"unit":"px","size":1290,"sizes":[]},"space_between_widgets":{"unit":"px","size":0,"sizes":[]}}', true);
return $options;
} // end get_all_options
}
return new Digitaz_Merlin_Config();