PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.2
ShopBuilder – WooCommerce Builder For Elementor v2.0.2
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Models/ModuleList.php +56 -205 2.1.132.0.2 View file →
@@ -1,41 +1,25 @@
1 1 <?php
2 -/**
3 - * ShopBuilder Module List.
4 - *
5 - * @package RadiusTheme\SB
6 - */
7 2
8 3 namespace RadiusTheme\SB\Models;
9 4
10 5 use RadiusTheme\SB\Helpers\Fns;
11 6 use RadiusTheme\SB\Models\Base\ListModel;
12 -use RadiusTheme\SB\Traits\SingletonTrait;
13 7 use RadiusTheme\SB\Modules\Compare\Compare;
14 -use RadiusTheme\SB\Modules\WishList\Wishlist;
15 8 use RadiusTheme\SB\Modules\Compare\CompareFns;
16 9 use RadiusTheme\SB\Modules\QuickView\QuickView;
10 +use RadiusTheme\SB\Modules\WishList\Wishlist;
17 11 use RadiusTheme\SB\Modules\WishList\WishlistFns;
12 +use RadiusTheme\SB\Traits\SingletonTrait;
18 13
19 14 defined( 'ABSPATH' ) || exit;
20 15
21 -/**
22 - * ShopBuilder Module List.
23 - */
24 16 class ModuleList extends ListModel {
25 17
26 18 use SingletonTrait;
27 19
28 - /**
29 - * List ID.
30 - *
31 - * @var string
32 - */
33 20 protected $list_id = 'modules';
34 21
35 - /**
36 - * Class constructor.
37 - */
38 22 public function __construct() {
39 23 parent::__construct();
40 24 $this->title = esc_html__( 'Modules', 'shopbuilder' );
41 25 $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' );
@@ -40,13 +24,8 @@
40 24 $this->title = esc_html__( 'Modules', 'shopbuilder' );
41 25 $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' );
42 26 }
43 27
44 - /**
45 - * Module list.
46 - *
47 - * @return mixed|null
48 - */
49 28 protected function raw_list() {
50 29 $list = [
51 30 'quick_view' => apply_filters(
52 31 'rtsb/module/quick_view/options',
@@ -60,16 +39,8 @@
60 39 'active_field' => [
61 40 'label' => esc_html__( 'Enable Quick View?', 'shopbuilder' ),
62 41 'help' => esc_html__( 'Switch on to enable quick view module.', 'shopbuilder' ),
63 42 ],
64 - 'tabs' => [
65 - 'general' => [
66 - 'title' => esc_html__( 'General', 'shopbuilder' ),
67 - ],
68 - 'style' => [
69 - 'title' => esc_html__( 'Style', 'shopbuilder' ),
70 - ],
71 - ],
72 43 'fields' => apply_filters(
73 44 'rtsb/module/quick_view/fields',
74 45 [
75 46 'loop_btn_position' => [
@@ -77,9 +48,8 @@
77 48 'type' => 'select',
78 49 'value' => 'custom',
79 50 'label' => esc_html__( 'Shop Page Button Position', 'shopbuilder' ),
80 51 'help' => esc_html__( 'You can manage quick view button position in shop page.', 'shopbuilder' ),
81 - 'tab' => 'general',
82 52 'options' => [
83 53 'before_add_to_cart' => esc_html__( 'Before Add To Cart', 'shopbuilder' ),
84 54 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ),
85 55 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ),
@@ -84,9 +54,8 @@
84 54 'after_add_to_cart' => esc_html__( 'After Add To Cart', 'shopbuilder' ),
85 55 'shortcode' => esc_html__( 'Use Shortcode', 'shopbuilder' ),
86 56 'custom' => esc_html__( 'Custom Position', 'shopbuilder' ),
87 57 ],
88 -
89 58 ],
90 59 'loop_btn_position_shortcode' => [
91 60 'type' => 'raw',
92 61 'label' => ' ',
@@ -94,9 +63,8 @@
94 63 /* translators: 1: The shortcode.*/
95 64 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' ),
96 65 '<code>[rtsb_quick_view_button]</code>'
97 66 ),
98 - 'tab' => 'general',
99 67 'dependency' => [
100 68 'rules' => [
101 69 [
102 70 'item' => 'modules.quick_view.loop_btn_position',
@@ -112,11 +80,10 @@
112 80 'label' => esc_html__( 'Enter Hook Name', 'shopbuilder' ),
113 81 'help' => sprintf(
114 82 /* translators: 1: The shortcode.*/
115 83 esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ),
116 - "<br /><code>&lt;?php do_action( 'rtsb/modules/quick_view/frontend/display' ); ?&gt;</code><br />"
84 + "<code>&lt;?php do_action( 'rtsb/modules/quick_view/frontend/display' ); ?&gt;</code>"
117 85 ),
118 - 'tab' => 'general',
119 86 'dependency' => [
120 87 'rules' => [
121 88 [
122 89 'item' => 'modules.quick_view.loop_btn_position',
@@ -133,9 +100,8 @@
133 100 'size' => 'small',
134 101 'min' => 0,
135 102 'max' => 999,
136 103 'label' => esc_html__( 'Hook Priority', 'shopbuilder' ),
137 - 'tab' => 'general',
138 104 'dependency' => [
139 105 'rules' => [
140 106 [
141 107 'item' => 'modules.quick_view.loop_btn_position',
@@ -151,64 +117,9 @@
151 117 'help' => esc_html__( 'Enter your quick view button text.', 'shopbuilder' ),
152 118 'type' => 'text',
153 119 'value' => 'Quick View',
154 120 'placeholder' => 'Quick View',
155 - 'tab' => 'general',
156 121 ],
157 -
158 - // Module Style.
159 - 'modal_width' => [
160 - 'id' => 'modal_width',
161 - 'label' => esc_html__( 'Modal Width (in px)', 'shopbuilder' ),
162 - 'help' => esc_html__( 'Quick view button modal width. Example: 950', 'shopbuilder' ),
163 - 'type' => 'number',
164 - 'value' => '',
165 - 'tab' => 'style',
166 - ],
167 -
168 - 'modal_height' => [
169 - 'id' => 'modal_height',
170 - 'label' => esc_html__( 'Modal Height', 'shopbuilder' ),
171 - 'help' => esc_html__( 'Quick view button modal height. Example: 450px', 'shopbuilder' ),
172 - 'type' => 'text',
173 - 'value' => '',
174 - 'tab' => 'style',
175 - ],
176 -
177 - 'modal_wrapper_padding' => [
178 - 'id' => 'modal_wrapper_padding',
179 - 'label' => esc_html__( 'Modal Wrapper Padding', 'shopbuilder' ),
180 - 'help' => esc_html__( 'Quick view modal wrapper padding. Example 1: 20px, Example 2: 20px 20px 20px 20px', 'shopbuilder' ),
181 - 'type' => 'text',
182 - 'value' => '',
183 - 'tab' => 'style',
184 - ],
185 - 'modal_bg_color' => [
186 - 'id' => 'modal_bg_color',
187 - 'label' => esc_html__( 'Modal Backgroud Color', 'shopbuilder' ),
188 - 'help' => esc_html__( 'Quick view modal background color. Example: #fff', 'shopbuilder' ),
189 - 'type' => 'color',
190 - 'value' => '',
191 - 'tab' => 'style',
192 - ],
193 - 'modal_box_shadow_color' => [
194 - 'id' => 'modal_box_shadow_color',
195 - 'label' => esc_html__( 'Modal Box Shadow Color', 'shopbuilder' ),
196 - 'help' => esc_html__( 'Quick view modal box shadow. Example: #000', 'shopbuilder' ),
197 - 'type' => 'color',
198 - 'value' => '',
199 - 'tab' => 'style',
200 - ],
201 -
202 - 'modal_overly_color' => [
203 - 'id' => 'modal_overly_color',
204 - 'label' => esc_html__( 'Modal Overly Color', 'shopbuilder' ),
205 - 'help' => esc_html__( 'Quick view modal overly. Example: #000', 'shopbuilder' ),
206 - 'type' => 'color',
207 - 'value' => '',
208 - 'tab' => 'style',
209 - ],
210 -
211 122 ]
212 123 ),
213 124 ]
214 125 ),
@@ -234,28 +145,12 @@
234 145 'label' => esc_html__( 'Limit Wishlist Use', 'shopbuilder' ),
235 146 'help' => esc_html__( 'Enable this option to allow only the logged-in users to use the Wishlist feature.', 'shopbuilder' ),
236 147 'tab' => 'general',
237 148 ],
238 - 'hide_wishlist_non_logged_in' => [
239 - 'id' => 'hide_wishlist_non_logged_in',
240 - 'type' => 'switch',
241 - 'label' => esc_html__( 'Hide Wishlist Button', 'shopbuilder' ),
242 - 'help' => esc_html__( 'Hide Wishlist Button For non logged-in users (guest users).', 'shopbuilder' ),
243 - 'dependency' => [
244 - 'rules' => [
245 - [
246 - 'item' => 'modules.wishlist.enable_login_limit',
247 - 'value' => 'on',
248 - 'operator' => '==',
249 - ],
250 - ],
251 - ],
252 - 'tab' => 'general',
253 - ],
254 149 'wishlist_shop_wrapper_heading' => [
255 150 'id' => 'wishlist_shop_wrapper_heading',
256 151 'type' => 'title',
257 - 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder' ),
152 + 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder-pro' ),
258 153 'tab' => 'button',
259 154 ],
260 155 'show_btn_on_loop' => [
261 156 'id' => 'show_btn_on_loop',
@@ -318,9 +213,9 @@
318 213 'tab' => 'button',
319 214 'help' => sprintf(
320 215 /* translators: 1: The shortcode.*/
321 216 esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ),
322 - "<br /><code>&lt;?php do_action('rtsb/modules/wishlist/frontend/display' ); ?&gt;</code><br />"
217 + "<code>&lt;?php do_action('rtsb/modules/wishlist/frontend/display' ); ?&gt;</code>"
323 218 ),
324 219 'dependency' => [
325 220 'rules' => [
326 221 [
@@ -363,9 +258,9 @@
363 258 ],
364 259 'wishlist_single_wrapper_heading' => [
365 260 'id' => 'wishlist_single_wrapper_heading',
366 261 'type' => 'title',
367 - 'label' => esc_html__( 'Product Page Settings', 'shopbuilder' ),
262 + 'label' => esc_html__( 'Product Page Settings', 'shopbuilder-pro' ),
368 263 'tab' => 'button',
369 264 ],
370 265 'show_btn_product_page' => [
371 266 'id' => 'show_btn_product_page',
@@ -430,9 +325,9 @@
430 325 'tab' => 'button',
431 326 'help' => sprintf(
432 327 /* translators: 1: The shortcode.*/
433 328 esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ),
434 - "<br /><code>&lt;?php do_action('rtsb/modules/wishlist/frontend/display' ); ?&gt;</code><br />"
329 + "<code>&lt;?php do_action('rtsb/modules/wishlist/frontend/display' ); ?&gt;</code>"
435 330 ),
436 331 'dependency' => [
437 332 'rules' => [
438 333 [
@@ -526,8 +421,9 @@
526 421 'label' => esc_html__( 'Remove if Added to Cart', 'shopbuilder' ),
527 422 'tab' => 'page',
528 423 ),
529 424 */
425 +
530 426 'page' => [
531 427 'id' => 'page',
532 428 'type' => 'select',
533 429 'label' => esc_html__( 'Select Wishlist Page', 'shopbuilder' ),
@@ -535,12 +431,13 @@
535 431 /* translators: 1: The shortcode.*/
536 432 esc_html__( 'Select a page for wishlist page and make sure you add the shortcode %1$s into the page content', 'shopbuilder' ),
537 433 '<code>[rtsb_wishlist]</code>'
538 434 ),
539 - 'options' => Fns::get_pages(),
435 + 'options' => Fns::get_pages(),
540 436 'tab' => 'page',
541 437 ],
542 - 'page_show_fields' => [
438 +
439 + 'page_show_fields' => [
543 440 'value' => WishlistFns::instance()->get_field_ids(),
544 441 'id' => 'page_show_fields',
545 442 'multiple' => true,
546 443 'checkbox' => true,
@@ -584,9 +481,9 @@
584 481 [
585 482 'compare_shop_wrapper_heading' => [
586 483 'id' => 'compare_shop_wrapper_heading',
587 484 'type' => 'title',
588 - 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder' ),
485 + 'label' => esc_html__( 'Shop Page Settings', 'shopbuilder-pro' ),
589 486 'tab' => 'button',
590 487 ],
591 488 'show_btn_on_loop' => [
592 489 'id' => 'show_btn_on_loop',
@@ -649,9 +546,9 @@
649 546 'tab' => 'button',
650 547 'help' => sprintf(
651 548 /* translators: 1: The shortcode.*/
652 549 esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ),
653 - "<br /><code>&lt;?php do_action('rtsb/modules/compare/frontend/display' ); ?&gt;</code><br />"
550 + "<code>&lt;?php do_action('rtsb/modules/compare/frontend/display' ); ?&gt;</code>"
654 551 ),
655 552 'dependency' => [
656 553 'rules' => [
657 554 [
@@ -694,9 +591,9 @@
694 591 ],
695 592 'compare_single_wrapper_heading' => [
696 593 'id' => 'compare_single_wrapper_heading',
697 594 'type' => 'title',
698 - 'label' => esc_html__( 'Product Page Settings', 'shopbuilder' ),
595 + 'label' => esc_html__( 'Product Page Settings', 'shopbuilder-pro' ),
699 596 'tab' => 'button',
700 597 ],
701 598 'show_btn_product_page' => [
702 599 'id' => 'show_btn_product_page',
@@ -761,9 +658,9 @@
761 658 'tab' => 'button',
762 659 'help' => sprintf(
763 660 /* translators: 1: The shortcode.*/
764 661 esc_html__( 'Or Copy the php code %1$s and paste it in your product query where you want to show the button.', 'shopbuilder' ),
765 - "<br /><code>&lt;?php do_action('rtsb/modules/compare/frontend/display' ); ?&gt;</code><br />"
662 + "<code>&lt;?php do_action('rtsb/modules/compare/frontend/display' ); ?&gt;</code>"
766 663 ),
767 664 'dependency' => [
768 665 'rules' => [
769 666 [
@@ -889,27 +786,27 @@
889 786
890 787 ],
891 788 ]
892 789 ),
893 - 'variation_swatches' => apply_filters(
894 - 'rtsb/module/variation_swatches/options',
790 + 'variation_gallery' => apply_filters(
791 + 'rtsb/module/variation_gallery/options',
895 792 [
896 - 'id' => 'variation_swatches',
793 + 'id' => 'variation_gallery',
897 794 'external' => true,
898 795 'category' => 'general',
899 - 'title' => esc_html__( 'Variation Swatches', 'shopbuilder' ),
900 - 'pluginSlug' => 'woo-product-variation-swatches',
901 - 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ),
902 - 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ),
796 + 'title' => esc_html__( 'Variation Gallery', 'shopbuilder' ),
797 + 'pluginSlug' => 'woo-product-variation-gallery',
798 + 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ),
799 + 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ),
903 800 'pluginActiveUrl' => add_query_arg(
904 801 [
905 - '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-swatches/woo-product-variation-swatches.php' ),
802 + '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-gallery/woo-product-variation-gallery.php' ),
906 803 'action' => 'activate',
907 - 'plugin' => 'woo-product-variation-swatches/woo-product-variation-swatches.php',
804 + 'plugin' => 'woo-product-variation-gallery/woo-product-variation-gallery.php',
908 805 ],
909 806 admin_url( 'plugins.php' )
910 807 ),
911 - 'help' => esc_html__( 'This module requires: Variation Swatches for WooCommerce Plugin.', 'shopbuilder' ),
808 + 'help' => esc_html__( 'This module requires: Variation Images Gallery for WooCommerce Plugin', 'shopbuilder' ),
912 809 'package' => 'free',
913 810 'active_field' => [
914 811 'disable' => false,
915 812 ],
@@ -915,27 +812,27 @@
915 812 ],
916 813 'fields' => [],
917 814 ]
918 815 ),
919 - 'variation_gallery' => apply_filters(
920 - 'rtsb/module/variation_gallery/options',
816 + 'variation_swatches' => apply_filters(
817 + 'rtsb/module/variation_swatches/options',
921 818 [
922 - 'id' => 'variation_gallery',
819 + 'id' => 'variation_swatches',
923 820 'external' => true,
924 821 'category' => 'general',
925 - 'title' => esc_html__( 'Variation Gallery', 'shopbuilder' ),
926 - 'pluginSlug' => 'woo-product-variation-gallery',
927 - 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ),
928 - 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-gallery/woo-product-variation-gallery.php' ),
822 + 'title' => esc_html__( 'Variation Swatches', 'shopbuilder' ),
823 + 'pluginSlug' => 'woo-product-variation-swatches',
824 + 'pluginIsInstalled' => Fns::check_plugin_installed( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ),
825 + 'pluginIsActive' => Fns::check_plugin_active( 'woo-product-variation-swatches/woo-product-variation-swatches.php' ),
929 826 'pluginActiveUrl' => add_query_arg(
930 827 [
931 - '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-gallery/woo-product-variation-gallery.php' ),
828 + '_wpnonce' => wp_create_nonce( 'activate-plugin_woo-product-variation-swatches/woo-product-variation-swatches.php' ),
932 829 'action' => 'activate',
933 - 'plugin' => 'woo-product-variation-gallery/woo-product-variation-gallery.php',
830 + 'plugin' => 'woo-product-variation-swatches/woo-product-variation-swatches.php',
934 831 ],
935 832 admin_url( 'plugins.php' )
936 833 ),
937 - 'help' => esc_html__( 'This module requires: Variation Images Gallery for WooCommerce Plugin', 'shopbuilder' ),
834 + 'help' => esc_html__( 'This module requires: Variation Swatches for WooCommerce Plugin.', 'shopbuilder' ),
938 835 'package' => 'free',
939 836 'active_field' => [
940 837 'disable' => false,
941 838 ],
@@ -941,69 +838,8 @@
941 838 ],
942 839 'fields' => [],
943 840 ]
944 841 ),
945 - 'mini_cart' => apply_filters(
946 - 'rtsb/module/mini_cart/options',
947 - [
948 - 'id' => 'mini_cart',
949 - 'active' => '',
950 - 'title' => esc_html__( 'Mini Cart', 'shopbuilder' ),
951 - 'package' => $this->pro_package(),
952 - 'active_field' => [
953 - 'label' => esc_html__( 'Enable Mini Cart?', 'shopbuilder' ),
954 - 'help' => esc_html__( 'Switch on to enable mini cart module.', 'shopbuilder' ),
955 - ],
956 - 'is_active' => true,
957 - 'fields' => [],
958 - ]
959 - ),
960 - 'product_size_chart' => apply_filters(
961 - 'rtsb/module/product_size_chart/options',
962 - [
963 - 'id' => 'product_size_chart',
964 - 'active' => '',
965 - 'title' => esc_html__( 'Product Size Chart', 'shopbuilder' ),
966 - 'package' => $this->pro_package(),
967 - 'active_field' => [
968 - 'label' => esc_html__( 'Enable Product Size Chart?', 'shopbuilder' ),
969 - 'help' => esc_html__( 'Switch on to enable Product Size Chart module.', 'shopbuilder' ),
970 - ],
971 - 'fields' => [],
972 - ]
973 - ),
974 - 'product_badges' => apply_filters(
975 - 'rtsb/module/product_badges/options',
976 - [
977 - 'id' => 'product_badges',
978 - 'active' => '',
979 - 'title' => esc_html__( 'Product Badges', 'shopbuilder' ),
980 - 'package' => $this->pro_package(),
981 - 'active_field' => [
982 - 'label' => esc_html__( 'Enable Product Badges?', 'shopbuilder' ),
983 - 'help' => esc_html__( 'Switch on to enable product badges module.', 'shopbuilder' ),
984 - ],
985 - 'fields' => [],
986 - ]
987 - ),
988 - 'customize_my_account' => apply_filters(
989 - 'rtsb/module/customize_my_account/options',
990 - [
991 - 'id' => 'customize_my_account',
992 - 'active' => '',
993 - 'title' => esc_html__( 'Customize My Account', 'shopbuilder' ),
994 - 'package' => $this->pro_package(),
995 - 'active_field' => [
996 - 'label' => esc_html__( 'Enable Customize My Account?', 'shopbuilder' ),
997 - 'help' => esc_html__( 'Switch on to enable customize my account module.', 'shopbuilder' ),
998 - ],
999 - 'fields' => [],
1000 - ]
1001 - ),
1002 - // Pre-Order.
1003 - // Currency Switcher.
1004 - // Product Addons.
1005 - // Checkout Fields Manager.
1006 842 'sales_notification' => apply_filters(
1007 843 'rtsb/module/sales_notification/options',
1008 844 [
1009 845 'id' => 'sales_notification',
@@ -1030,8 +866,23 @@
1030 866 ],
1031 867 'fields' => [],
1032 868 ]
1033 869 ),
870 + 'mini_cart' => apply_filters(
871 + 'rtsb/module/mini_cart/options',
872 + [
873 + 'id' => 'mini_cart',
874 + 'active' => '',
875 + 'title' => esc_html__( 'Mini Cart', 'shopbuilder' ),
876 + 'package' => $this->pro_package(),
877 + 'active_field' => [
878 + 'label' => esc_html__( 'Enable Mini Cart?', 'shopbuilder' ),
879 + 'help' => esc_html__( 'Switch on to enable mini cart module.', 'shopbuilder' ),
880 + ],
881 + 'is_active' => true,
882 + 'fields' => [],
883 + ]
884 + ),
1034 885 'quick_checkout' => apply_filters(
1035 886 'rtsb/module/quick_checkout/options',
1036 887 [
1037 888 'id' => 'quick_checkout',
@@ -1058,18 +909,18 @@
1058 909 ],
1059 910 'fields' => [],
1060 911 ]
1061 912 ),
1062 - 'back_order' => apply_filters(
1063 - 'rtsb/module/back_order/options',
913 + 'product_size_chart' => apply_filters(
914 + 'rtsb/module/product_size_chart/options',
1064 915 [
1065 - 'id' => 'back_order',
916 + 'id' => 'product_size_chart',
1066 917 'active' => '',
1067 - 'title' => esc_html__( 'Back-Order', 'shopbuilder' ),
918 + 'title' => esc_html__( 'Product Size Chart', 'shopbuilder' ),
1068 919 'package' => $this->pro_package(),
1069 920 'active_field' => [
1070 - 'label' => esc_html__( 'Enable Back-Order?', 'shopbuilder' ),
1071 - 'help' => esc_html__( 'Switch on to enable back-order module.', 'shopbuilder' ),
921 + 'label' => esc_html__( 'Enable Product Size Chart?', 'shopbuilder' ),
922 + 'help' => esc_html__( 'Switch on to enable Product Size Chart module.', 'shopbuilder' ),
1072 923 ],
1073 924 'fields' => [],
1074 925 ]
1075 926 ),