PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
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/GeneralList.php +9 -52 3.4.23.2.6 View file →
@@ -3,9 +3,8 @@
3 3 namespace RadiusTheme\SB\Models;
4 4
5 5 use RadiusTheme\SB\AI\AIFns;
6 6 use RadiusTheme\SB\Helpers\Fns;
7 -use RadiusTheme\SB\Helpers\SvgIcons;
8 7 use RadiusTheme\SB\Models\Base\ListModel;
9 8 use RadiusTheme\SB\Traits\SingletonTrait;
10 9
11 10 defined( 'ABSPATH' ) || exit;
@@ -55,17 +54,12 @@
55 54 'optimization' => apply_filters(
56 55 'rtsb/settings/optimization/options',
57 56 [
58 57 'id' => 'optimization',
59 - 'icon' => SvgIcons::get( 'optimization' ),
60 58 'category' => 'general',
61 59 'title' => esc_html__( 'Advanced Optimizations', 'shopbuilder' ),
62 60 'package' => $this->pro_version_checker(),
63 61 'badge' => 'new',
64 - 'links' => [
65 - 'doc' => '',
66 - 'video' => '',
67 - ],
68 62 'active_field' => [
69 63 'disable' => true,
70 64 ],
71 65 'fields' => [
@@ -71,9 +65,9 @@
71 65 'fields' => [
72 66 'optimization_intro' => [
73 67 'id' => 'optimization_intro',
74 68 'type' => 'description',
75 - 'text' => __( 'Optimize your website for maximum performance from these advanced options. <br /> <span style="color: #dc3545; display: block; margin-top: 10px;">⚠️ Note: After enabling or disabling any of these settings, clear the ShopBuilder cache to ensure changes are applied correctly.</span> <span style="color: #16a34a; display: block; margin-top: 10px;">✅ Recommended: Keep Asset Optimization enabled on live/production sites for faster loading. Turn it off only while troubleshooting or verifying a recent change.</span>', 'shopbuilder' ),
69 + 'text' => __( 'Optimize your website for maximum performance from these advanced options. <br /> <span style="color: #dc3545; display: block; margin-top: 10px;">⚠️ Note: After enabling or disabling any of these settings, clear the ShopBuilder cache to ensure changes are applied correctly.</span>', 'shopbuilder' ),
76 70 ],
77 71 'enable_optimization' => [
78 72 'id' => 'enable',
79 73 'type' => 'switch',
@@ -139,17 +133,12 @@
139 133 'ai_implementation' => apply_filters(
140 134 'rtsb/settings/ai_implementation/options',
141 135 [
142 136 'id' => 'ai_implementation',
143 - 'icon' => SvgIcons::get( 'ai_implementation' ),
144 137 'category' => 'general',
145 138 'title' => esc_html__( 'AI-implementation', 'shopbuilder' ),
146 139 'package' => 'free',
147 140 'badge' => 'beta',
148 - 'links' => [
149 - 'doc' => '',
150 - 'video' => '',
151 - ],
152 141 'active_field' => [
153 142 'disable' => true,
154 143 ],
155 144 'fields' => [
@@ -438,16 +427,11 @@
438 427 'notification' => apply_filters(
439 428 'rtsb/settings/notification/options',
440 429 [
441 430 'id' => 'notification',
442 - 'icon' => SvgIcons::get( 'notification' ),
443 431 'category' => 'general',
444 432 'title' => esc_html__( 'Notification Settings', 'shopbuilder' ),
445 433 'package' => 'free',
446 - 'links' => [
447 - 'doc' => '',
448 - 'video' => '',
449 - ],
450 434 'active_field' => [
451 435 'disable' => true,
452 436 ],
453 437 'fields' => [
@@ -514,16 +498,11 @@
514 498 'social_share' => apply_filters(
515 499 'rtsb/settings/social_share/options',
516 500 [
517 501 'id' => 'social_share',
518 - 'icon' => SvgIcons::get( 'social_share' ),
519 502 'category' => 'general',
520 503 'title' => esc_html__( 'Social Share Settings', 'shopbuilder' ),
521 504 'package' => 'free',
522 - 'links' => [
523 - 'doc' => '',
524 - 'video' => '',
525 - ],
526 505 'active_field' => [
527 506 'disable' => true,
528 507 ],
529 508 'fields' => [
@@ -570,16 +549,11 @@
570 549 'guest_user' => apply_filters(
571 550 'rtsb/settings/guest_user/options',
572 551 [
573 552 'id' => 'guest_user',
574 - 'icon' => SvgIcons::get( 'guest_user' ),
575 553 'category' => 'general',
576 554 'title' => esc_html__( 'Guest User Controls', 'shopbuilder' ),
577 555 'package' => $this->pro_package(),
578 - 'links' => [
579 - 'doc' => '',
580 - 'video' => '',
581 - ],
582 556 'active_field' => [
583 557 'disable' => true,
584 558 ],
585 559 ],
@@ -587,16 +561,11 @@
587 561 'tooltip' => apply_filters(
588 562 'rtsb/settings/tooltip/options',
589 563 [
590 564 'id' => 'tooltip',
591 - 'icon' => SvgIcons::get( 'tooltip' ),
592 565 'category' => 'general',
593 566 'title' => esc_html__( 'Tooltip Settings', 'shopbuilder' ),
594 567 'package' => $this->pro_package(),
595 - 'links' => [
596 - 'doc' => '',
597 - 'video' => '',
598 - ],
599 568 'active_field' => [
600 569 'disable' => true,
601 570 ],
602 571 ],
@@ -604,16 +573,11 @@
604 573 'billing_form' => apply_filters(
605 574 'rtsb/settings/billing_form/options',
606 575 [
607 576 'id' => 'billing_form',
608 - 'icon' => SvgIcons::get( 'billing_form' ),
609 577 'category' => 'checkout',
610 578 'title' => esc_html__( 'Billing Form Settings', 'shopbuilder' ),
611 579 'package' => 'free',
612 - 'links' => [
613 - 'doc' => '',
614 - 'video' => '',
615 - ],
616 580 'active_field' => [
617 581 'label' => esc_html__( 'Customize Billing Form Fields?', 'shopbuilder' ),
618 582 'help' => esc_html__( 'Switch on to customize billing form fields.', 'shopbuilder' ),
619 583 ],
@@ -618,13 +582,12 @@
618 582 'help' => esc_html__( 'Switch on to customize billing form fields.', 'shopbuilder' ),
619 583 ],
620 584 'fields' => [
621 585 'checkout_billing_info' => [
622 - 'id' => 'checkout_billing_info',
623 - 'type' => 'deprecated',
624 - 'label' => __( '<strong>Deprecated:</strong> Billing Form Settings is deprecated. Please use the <strong><u>Checkout Fields Editor</u></strong> module to customize checkout fields. These settings will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is active.', 'shopbuilder' ),
625 - 'customClass' => 'checkout-notice',
626 - 'before_active' => true,
586 + 'id' => 'checkout_billing_info',
587 + 'type' => 'title',
588 + 'label' => __( 'The below form fields customization will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is activated.', 'shopbuilder' ),
589 + 'customClass' => 'checkout-notice',
627 590 ],
628 591 'billing_first_name_heading' => [
629 592 'id' => 'billing_first_name_heading',
630 593 'type' => 'title',
@@ -1219,16 +1182,11 @@
1219 1182 'shipping_form' => apply_filters(
1220 1183 'rtsb/module/shipping_form/options',
1221 1184 [
1222 1185 'id' => 'shipping_form',
1223 - 'icon' => SvgIcons::get( 'shipping_form' ),
1224 1186 'category' => 'checkout',
1225 1187 'title' => esc_html__( 'Shipping Form Settings', 'shopbuilder' ),
1226 1188 'package' => 'free',
1227 - 'links' => [
1228 - 'doc' => '',
1229 - 'video' => '',
1230 - ],
1231 1189 'active_field' => [
1232 1190 'label' => esc_html__( 'Customize Shipping form Fields?', 'shopbuilder' ),
1233 1191 'help' => esc_html__( 'Switch on to customize shipping form fields.', 'shopbuilder' ),
1234 1192 ],
@@ -1233,13 +1191,12 @@
1233 1191 'help' => esc_html__( 'Switch on to customize shipping form fields.', 'shopbuilder' ),
1234 1192 ],
1235 1193 'fields' => [
1236 1194 'checkout_shipping_info' => [
1237 - 'id' => 'checkout_shipping_info',
1238 - 'type' => 'deprecated',
1239 - 'label' => __( '<strong>Deprecated:</strong> Shipping Form Settings is deprecated. Please use the <strong><u>Checkout Fields Editor</u></strong> module to customize checkout fields. These settings will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is active.', 'shopbuilder' ),
1240 - 'customClass' => 'checkout-notice',
1241 - 'before_active' => true,
1195 + 'id' => 'checkout_shipping_info',
1196 + 'type' => 'title',
1197 + 'label' => __( 'The below form fields customization will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is activated.', 'shopbuilder' ),
1198 + 'customClass' => 'checkout-notice',
1242 1199 ],
1243 1200 'shipping_first_name_heading' => [
1244 1201 'id' => 'shipping_first_name_heading',
1245 1202 'type' => 'title',