title = esc_html__( 'Modules', 'shopbuilder' ); $this->description = esc_html__( 'Here you can find the list of all the modules. You can individually enable or disable the modules. Or you can do that by one click.', 'shopbuilder' ); $this->categories = [ 'general' => [ 'title' => esc_html__( 'Free', 'shopbuilder' ), ], /* * TODO:: Will add later 'pro' => array( 'title' => esc_html__( 'Pro', 'shopbuilder' ), ), */ ]; } protected function raw_list() { $list = [ 'quick_view' => apply_filters( 'rtsb/module/quick_view/options', [ 'id' => 'quick_view', 'title' => esc_html__( 'Quick View', 'shopbuilder' ), 'base_class' => QuickView::class, 'category' => 'general', 'active' => 'on', 'package' => 'free', 'active_field' => [ 'label' => esc_html__( 'Enable Quick View?', 'shopbuilder' ), 'help' => esc_html__( 'Switch on to enable quick view module.', 'shopbuilder' ), ], 'fields' => apply_filters( 'rtsb/module/quick_view/fields', [ 'loop_btn_position' => [ 'id' => 'loop_btn_position', 'type' => 'select', 'value' => 'custom', 'label' => esc_html__( 'Shop Page Button Position', 'shopbuilder' ), 'help' => esc_html__( 'You can manage quick view button position in product list page.', 'shopbuilder' ), 'options' => [ 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ), 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ), 'top_thumbnail' => esc_html__( 'Top On Image', 'shopbuilder' ), 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ), 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ), ], ], 'loop_btn_position_shortcode' => [ 'type' => 'raw', 'label' => ' ', 'html' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Choose where to show button in WooCommerce product\'s loop. Copy this shortcode %1$s and paste it where you want to show the button.', 'shopbuilder' ), '[rtsb_quick_view_button]' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.quick_view.loop_btn_position', 'value' => 'shortcode', 'operator' => '==', ], ], ], ], 'loop_custom_hook_name' => [ 'id' => 'loop_custom_hook_name', 'type' => 'text', 'label' => esc_html__( 'Loop Hook Name', 'shopbuilder' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.quick_view.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'loop_custom_hook_priority' => [ 'id' => 'loop_custom_hook_priority', 'type' => 'number', 'value' => 10, 'size' => 'small', 'min' => 0, 'max' => 999, 'label' => esc_html__( 'Loop Hook Priority', 'shopbuilder' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.quick_view.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'button_text' => [ 'id' => 'button_text', 'label' => esc_html__( 'Quick View Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter your quick view button text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Quick view', 'placeholder' => 'Quick view', ], ] ), ] ), 'wishlist' => apply_filters( 'rtsb/module/wishlist/options', [ 'id' => 'wishlist', 'title' => esc_html__( 'Wishlist', 'shopbuilder' ), 'package' => 'free', 'active' => 'on', 'base_class' => Wishlist::class, 'category' => 'general', 'active_field' => [ 'label' => esc_html__( 'Enable Wishlist?', 'shopbuilder' ), 'help' => esc_html__( 'Switch on to enable wishlist module.', 'shopbuilder' ), ], 'fields' => apply_filters( 'rtsb/module/wishlist/fields', [ 'enable_login_limit' => [ 'id' => 'enable_login_limit', 'type' => 'switch', 'label' => esc_html__( 'Limit Wishlist Use', 'shopbuilder' ), 'help' => esc_html__( 'Enable this option to allow only the logged-in users to use the Wishlist feature.', 'shopbuilder' ), 'tab' => 'general', ], 'show_btn_on_loop' => [ 'id' => 'show_btn_on_loop', 'value' => 'on', 'type' => 'switch', 'label' => esc_html__( 'Show Button in Product List', 'shopbuilder' ), 'tab' => 'button', ], 'loop_btn_position' => [ 'id' => 'loop_btn_position', 'type' => 'select', 'value' => 'custom', 'label' => esc_html__( 'Shop Page Button Position', 'shopbuilder' ), 'help' => esc_html__( 'You can manage wishlist button position in product list page.', 'shopbuilder' ), 'options' => [ 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ), 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ), 'top_thumbnail' => esc_html__( 'Top On Image', 'shopbuilder' ), 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ), 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ), ], 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'loop_btn_position_shortcode' => [ 'type' => 'raw', 'label' => ' ', 'html' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Choose where to show button in WooCommerce product\'s loop. Copy this shortcode %1$s and paste it where you want to show the button.', 'shopbuilder' ), '[rtsb_wishlist_button]' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.loop_btn_position', 'value' => 'shortcode', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'loop_custom_hook_name' => [ 'id' => 'loop_custom_hook_name', 'type' => 'text', 'label' => esc_html__( 'Loop Hook Name', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'loop_custom_hook_priority' => [ 'id' => 'loop_custom_hook_priority', 'type' => 'number', 'value' => 10, 'size' => 'small', 'min' => 0, 'max' => 999, 'label' => esc_html__( 'Loop Hook Priority', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], 'relation' => 'and', ], ], 'show_btn_product_page' => [ 'id' => 'show_btn_product_page', 'value' => 'on', 'type' => 'switch', 'label' => esc_html__( 'Show Button in Single Product Page', 'shopbuilder' ), 'tab' => 'button', ], 'product_btn_position' => [ 'id' => 'product_btn_position', 'label' => esc_html__( 'Product Page Button Position', 'shopbuilder' ), 'help' => esc_html__( 'You can manage compare button position in single product page.', 'shopbuilder' ), 'type' => 'select', 'value' => 'custom', 'options' => [ 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ), 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ), 'after_thumbnail' => esc_html__( 'After Image', 'shopbuilder' ), 'after_summary' => esc_html__( 'After Summary', 'shopbuilder' ), 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ), 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ), ], 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'product_btn_position_shortcode' => [ 'type' => 'raw', 'label' => ' ', 'html' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Choose where to show button on the product page. Copy this shortcode %1$s and paste it where you want to show the button.', 'shopbuilder' ), '[rtsb_wishlist_button]' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.product_btn_position', 'value' => 'shortcode', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'product_custom_hook_name' => [ 'id' => 'product_custom_hook_name', 'type' => 'text', 'label' => esc_html__( 'Product Hook Name', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.product_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'product_custom_hook_priority' => [ 'id' => 'product_custom_hook_priority', 'type' => 'number', 'value' => 10, 'size' => 'small', 'min' => 0, 'max' => 999, 'label' => esc_html__( 'Product Hook Priority', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.product_btn_position', 'value' => 'custom', 'operator' => '==', ], ], 'relation' => 'and', ], ], 'button_text' => [ 'id' => 'button_text', 'label' => esc_html__( 'Add to Wishlist Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter your wishlist button text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Add to wishlist', 'placeholder' => 'Add to wishlist', 'tab' => 'button', ], 'notice_added_text' => [ 'id' => 'notice_added_text', 'label' => esc_html__( 'Product Added Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter the product added text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Product added!', 'placeholder' => 'Product added!', 'tab' => 'button', ], 'notice_removed_text' => [ 'id' => 'notice_removed_text', 'label' => esc_html__( 'Product Removed Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter the product removed text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Product removed!', 'placeholder' => 'Product removed!', 'tab' => 'button', ], 'browse_list_text' => [ 'id' => 'browse_list_text', 'label' => esc_html__( 'Browse Wishlist Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter a text for the "Browse wishlist" link on the product page', 'shopbuilder' ), 'type' => 'text', 'value' => 'Browse wishlist', 'placeholder' => 'Browse wishlist', 'tab' => 'button', ], /* 'notice_exist_text' => array( 'id' => 'notice_exist_text', 'label' => esc_html__( 'Product Already Exist in Wishlist Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter the message for "already exists in the wishlist" text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'The product is already in your wishlist!', 'placeholder' => 'The product is already in your wishlist!', 'tab' => 'button', ), */ /* * TODO:: Will Implement Later. 'redirect_cart' => array( 'id' => 'redirect_cart', 'type' => 'switch', 'help' => esc_html__( 'Redirect users to the cart page when they add a product to the cart from the wishlist page', 'shopbuilder' ), 'label' => esc_html__( 'Redirect to Cart', 'shopbuilder' ), 'tab' => 'page', ), 'remove_after_add_to_cart' => array( 'value' => 'on', 'id' => 'remove_after_add_to_cart', 'type' => 'switch', 'help' => esc_html__( 'Remove the product from the wishlist after it has been added to the cart', 'shopbuilder' ), 'label' => esc_html__( 'Remove if Added to Cart', 'shopbuilder' ), 'tab' => 'page', ), */ 'page_show_fields' => [ 'value' => WishlistFns::instance()->get_field_ids(), 'id' => 'page_show_fields', 'multiple' => true, 'checkbox' => true, 'sanitize_fn' => 'sanitize_text_field', 'type' => 'sortable', 'options' => WishlistFns::instance()->get_default_fields(), 'label' => esc_html__( 'Show Fields in Table', 'shopbuilder' ), 'tab' => 'page', ], ] ), 'tabs' => [ 'general' => [ 'title' => esc_html__( 'General', 'shopbuilder' ), ], 'button' => [ 'title' => esc_html__( 'Button', 'shopbuilder' ), ], 'page' => [ 'title' => esc_html__( 'Page', 'shopbuilder' ), ], ], ] ), 'compare' => apply_filters( 'rtsb/module/compare/options', [ 'id' => 'compare', 'base_class' => Compare::class, 'category' => 'general', 'title' => esc_html__( 'Product Compare', 'shopbuilder' ), 'package' => 'free', 'active' => 'on', 'active_field' => [ 'label' => esc_html__( 'Enable Product Comparison?', 'shopbuilder' ), 'help' => esc_html__( 'Switch on to enable product comparison module.', 'shopbuilder' ), ], 'fields' => apply_filters( 'rtsb/module/compare/fields', [ 'show_btn_on_loop' => [ 'id' => 'show_btn_on_loop', 'value' => 'on', 'type' => 'switch', 'label' => esc_html__( 'Show In Archive Page or Any Products Loop', 'shopbuilder' ), 'tab' => 'button', ], 'loop_btn_position' => [ 'id' => 'loop_btn_position', 'type' => 'select', 'value' => 'custom', 'label' => esc_html__( 'Shop Page Button Position', 'shopbuilder' ), 'help' => esc_html__( 'You can manage wishlist button position in product list page.', 'shopbuilder' ), 'options' => [ 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ), 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ), 'top_thumbnail' => esc_html__( 'Top On Image', 'shopbuilder' ), 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ), 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ), ], 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'loop_btn_position_shortcode' => [ 'type' => 'raw', 'label' => ' ', 'html' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Choose where to show button in WooCommerce product\'s loop. Copy this shortcode %1$s and paste it where you want to show the button.', 'shopbuilder' ), '[rtsb_compare_button]' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.compare.loop_btn_position', 'value' => 'shortcode', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'loop_custom_hook_name' => [ 'id' => 'product_custom_hook_name', 'type' => 'text', 'label' => esc_html__( 'Product Hook Name', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.compare.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'loop_custom_hook_priority' => [ 'id' => 'product_custom_hook_priority', 'type' => 'number', 'value' => 10, 'size' => 'small', 'min' => 0, 'max' => 999, 'label' => esc_html__( 'Product Hook Priority', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_on_loop', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.compare.loop_btn_position', 'value' => 'custom', 'operator' => '==', ], ], 'relation' => 'and', ], ], 'show_btn_product_page' => [ 'id' => 'show_btn_product_page', 'type' => 'switch', 'value' => 'on', 'label' => esc_html__( 'Show Button in Single Product Page', 'shopbuilder' ), 'tab' => 'button', ], 'product_btn_position' => [ 'id' => 'product_btn_position', 'label' => esc_html__( 'Product Page Button Position', 'shopbuilder' ), 'help' => esc_html__( 'You can manage compare button position in single product page.', 'shopbuilder' ), 'type' => 'select', 'value' => 'custom', 'options' => [ 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ), 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ), 'after_thumbnail' => esc_html__( 'After Image', 'shopbuilder' ), 'after_summary' => esc_html__( 'After Summary', 'shopbuilder' ), 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ), 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ), ], 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'product_btn_position_shortcode' => [ 'type' => 'raw', 'label' => ' ', 'html' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Choose where to show button on the product page. Copy this shortcode %1$s and paste it where you want to show the button.', 'shopbuilder' ), '[rtsb_wishlist_button] ' ), 'dependency' => [ 'rules' => [ [ 'item' => 'modules.wishlist.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.wishlist.product_btn_position', 'value' => 'shortcode', 'operator' => '==', ], ], ], 'tab' => 'button', ], 'product_custom_hook_name' => [ 'id' => 'product_custom_hook_name', 'type' => 'text', 'label' => esc_html__( 'Product Hook Name', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.compare.product_btn_position', 'value' => 'custom', 'operator' => '==', ], ], ], ], 'product_custom_hook_priority' => [ 'id' => 'product_custom_hook_priority', 'type' => 'number', 'value' => 10, 'size' => 'small', 'min' => 0, 'max' => 999, 'label' => esc_html__( 'Product Hook Priority', 'shopbuilder' ), 'tab' => 'button', 'dependency' => [ 'rules' => [ [ 'item' => 'modules.compare.show_btn_product_page', 'value' => 'on', 'operator' => '==', ], [ 'item' => 'modules.compare.product_btn_position', 'value' => 'custom', 'operator' => '==', ], ], 'relation' => 'and', ], ], 'button_text' => [ 'id' => 'button_text', 'label' => esc_html__( 'Button Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter your compare button text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Compare', 'placeholder' => 'Compare', 'tab' => 'button', ], 'notice_added_text' => [ 'id' => 'notice_added_text', 'label' => esc_html__( 'Product Added Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter the product added text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Product added!', 'placeholder' => 'Product added!', 'tab' => 'button', ], 'browse_list_text' => [ 'id' => 'browse_list_text', 'label' => esc_html__( 'Browse Compare Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter a text for the "Browse compare" link on the compare page', 'shopbuilder' ), 'type' => 'text', 'value' => 'Browse compare', 'placeholder' => 'Browse compare', 'tab' => 'button', ], 'notice_removed_text' => [ 'id' => 'notice_removed_text', 'label' => esc_html__( 'Product Removed Text', 'shopbuilder' ), 'help' => esc_html__( 'Enter the product removed text.', 'shopbuilder' ), 'type' => 'text', 'value' => 'Product removed!', 'placeholder' => 'Product removed!', 'tab' => 'button', ], 'page' => [ 'id' => 'page', 'type' => 'select', 'help' => sprintf( /* translators: 1: The shortcode.*/ esc_html__( 'Select a page for compare page and make sure you add the shortcode %1$s into the page content', 'shopbuilder' ), '[rtsb_compare_list]' ), 'label' => esc_html__( 'Compare Page', 'shopbuilder' ), 'options' => Fns::get_pages(), 'empty' => esc_html__( 'Select a page', 'shopbuilder' ), 'searchable' => true, 'tab' => 'page', ], 'max_limit' => [ 'id' => 'page', 'type' => 'number', 'sanitize_fn' => 'absint', 'value' => 10, 'help' => esc_html__( 'You can manage your maximum compare quantity from here.', 'shopbuilder' ), 'label' => esc_html__( 'Max Limit', 'shopbuilder' ), 'tab' => 'page', ], 'page_show_fields' => [ 'value' => CompareFns::get_list_field_ids(), 'id' => 'page_show_fields', 'multiple' => true, 'checkbox' => true, 'type' => 'sortable', 'options' => CompareFns::get_available_list_fields(), 'label' => esc_html__( 'Show Fields in List', 'shopbuilder' ), 'tab' => 'page', ], ] ), 'tabs' => [ 'button' => [ 'title' => esc_html__( 'Button', 'shopbuilder' ), ], 'page' => [ 'title' => esc_html__( 'Page', 'shopbuilder' ), ], ], ] ), 'variation_gallery' => apply_filters( 'rtsb/module/variation_gallery/options', [ 'id' => 'variation_gallery', 'external' => true, 'category' => 'general', 'title' => esc_html__( 'Variation Gallery', 'shopbuilder' ), 'pluginSlug' => 'woo-product-variation-gallery', 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ), 'pluginActiveUrl' => add_query_arg( [ '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-gallery/woo-product-variation-gallery.php' ), 'action' => 'activate', 'plugin' => 'woo-product-variation-gallery/woo-product-variation-gallery.php', ], admin_url( 'plugins.php' ) ), 'help' => esc_html__( 'This module requires: Variation Images Gallery for WooCommerce Plugin', 'shopbuilder' ), 'package' => 'free', 'active_field' => [ 'disable' => false, ], 'fields' => [], ] ), 'variation_swatches' => apply_filters( 'rtsb/module/variation_swatches/options', [ 'id' => 'variation_swatches', 'external' => true, 'category' => 'general', 'title' => esc_html__( 'Variation Swatches', 'shopbuilder' ), 'pluginSlug' => 'woo-product-variation-swatches', 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ), 'pluginActiveUrl' => add_query_arg( [ '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-swatches/woo-product-variation-swatches.php' ), 'action' => 'activate', 'plugin' => 'woo-product-variation-swatches/woo-product-variation-swatches.php', ], admin_url( 'plugins.php' ) ), 'help' => esc_html__( 'This module requires: Variation Swatches for WooCommerce Plugin.', 'shopbuilder' ), 'package' => 'free', 'active_field' => [ 'disable' => false, ], 'fields' => [], ] ), 'quick_checkout' => apply_filters( 'rtsb/module/quick_checkout/options', [ 'id' => 'quick_checkout', 'base_class' => QuickCheckout::class, 'category' => 'pro', 'title' => esc_html__( 'Quick Checkout', 'shopbuilder' ), 'package' => 'pro-disabled', 'active_field' => [ 'label' => esc_html__( 'Enable Quick Checkout?', 'shopbuilder' ), 'help' => esc_html__( 'Switch on to enable quick checkout module.', 'shopbuilder' ), ], 'fields' => [], ] ), 'mini_cart' => apply_filters( 'rtsb/module/mini_cart/options', [ 'id' => 'mini_cart', 'base_class' => MiniCart::class, 'category' => 'pro', 'title' => esc_html__( 'Mini Cart', 'shopbuilder' ), 'package' => 'pro-disabled', 'active_field' => [ 'label' => esc_html__( 'Enable Mini Cart?', 'shopbuilder' ), 'help' => esc_html__( 'Switch on to enable mini cart module.', 'shopbuilder' ), ], 'fields' => [], ] ), ]; return apply_filters( 'rtsb/core/modules/raw_list', $list ); } }