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/GeneralList.php +102 -128 2.1.112.0.2 View file →
@@ -62,13 +62,8 @@
62 62 'active_field' => [
63 63 'disable' => true,
64 64 ],
65 65 'fields' => [
66 - 'notification_intro' => [
67 - 'id' => 'notification_intro',
68 - 'type' => 'description',
69 - 'text' => esc_html__( 'Customize notifications for user actions such as adding items to cart, adding to wishlist, or comparing products.', 'shopbuilder' ),
70 - ],
71 66 'notification_position' => [
72 67 'id' => 'notification_position',
73 68 'value' => 'center-center',
74 69 'type' => 'select',
@@ -73,15 +68,17 @@
73 68 'value' => 'center-center',
74 69 'type' => 'select',
75 70 'label' => esc_html__( 'Notification Position', 'shopbuilder' ),
76 71 'options' => [
77 - 'center-center' => esc_html__( 'Center Center', 'shopbuilder' ),
78 - 'top-right' => esc_html__( 'Top Right', 'shopbuilder' ),
79 - 'bottom-right' => esc_html__( 'Bottom Right', 'shopbuilder' ),
80 - 'bottom-left' => esc_html__( 'Bottom Left', 'shopbuilder' ),
81 - 'top-left' => esc_html__( 'Top Left', 'shopbuilder' ),
82 - 'top-center' => esc_html__( 'Top center', 'shopbuilder' ),
83 - 'bottom-center' => esc_html__( 'Bottom center', 'shopbuilder' ),
72 + 'center-center' => esc_html__( 'Center Center', 'shopbuilder' ),
73 + 'top-right' => esc_html__( 'Top Right', 'shopbuilder' ),
74 + 'bottom-right' => esc_html__( 'Bottom Right', 'shopbuilder' ),
75 + 'bottom-left' => esc_html__( 'Bottom Left', 'shopbuilder' ),
76 + 'top-left' => esc_html__( 'Top Left', 'shopbuilder' ),
77 + //'top-full-width' => esc_html__( 'Top Full Width', 'shopbuilder' ),
78 + //'bottom-full-width' => esc_html__( 'Bottom Full Width', 'shopbuilder' ),
79 + 'top-center' => esc_html__( 'Top center', 'shopbuilder' ),
80 + 'bottom-center' => esc_html__( 'Bottom center', 'shopbuilder' ),
84 81 ],
85 82 ],
86 83 'notification_color' => [
87 84 'id' => 'notification_color',
@@ -100,14 +97,9 @@
100 97 'label' => esc_html__( 'Background Color', 'shopbuilder' ),
101 98 'type' => 'color',
102 99 'tab' => 'floating_button',
103 100 ],
104 - 'hide_notification' => [
105 - 'id' => 'hide_notification',
106 - 'type' => 'switch',
107 - 'label' => esc_html__( 'Hide Notifications', 'shopbuilder' ),
108 - 'help' => esc_html__( 'Enable this option if you don\'t want the notifications to show.', 'shopbuilder' ),
109 - ],
101 +
110 102 ],
111 103 ],
112 104 ),
113 105 'social_share' => apply_filters(
@@ -120,13 +112,8 @@
120 112 'active_field' => [
121 113 'disable' => true,
122 114 ],
123 115 'fields' => [
124 - 'social_share_intro' => [
125 - 'id' => 'social_share_intro',
126 - 'type' => 'description',
127 - 'text' => esc_html__( 'Configure social sharing platforms for products sharing.', 'shopbuilder' ),
128 - ],
129 116 'share_platforms' => [
130 117 'id' => 'share_platforms',
131 118 'label' => esc_html__( 'Select Social Sharing Platforms', 'shopbuilder' ),
132 119 'type' => 'checkbox',
@@ -177,20 +164,8 @@
177 164 ],
178 165 ],
179 166 ],
180 167 ),
181 - 'guest_user' => apply_filters(
182 - 'rtsb/settings/guest_user/options',
183 - [
184 - 'id' => 'guest_user',
185 - 'category' => 'general',
186 - 'title' => esc_html__( 'Guest User Controls', 'shopbuilder' ),
187 - 'package' => $this->pro_package(),
188 - 'active_field' => [
189 - 'disable' => true,
190 - ],
191 - ],
192 - ),
193 168 'tooltip' => apply_filters(
194 169 'rtsb/settings/tooltip/options',
195 170 [
196 171 'id' => 'tooltip',
@@ -213,9 +188,9 @@
213 188 'label' => esc_html__( 'Enable Billing form settings?', 'shopbuilder' ),
214 189 'help' => esc_html__( 'Switch on to Billing form settings.', 'shopbuilder' ),
215 190 ],
216 191 'fields' => [
217 - 'billing_first_name_heading' => [
192 + 'billing_first_name_heading' => [
218 193 'id' => 'billing_first_name_heading',
219 194 'type' => 'title',
220 195 'label' => esc_html__( 'First Name', 'shopbuilder' ),
221 196 // 'tab' => 'name',
@@ -242,9 +217,9 @@
242 217 'id' => 'billing_first_name_label',
243 218 'label' => esc_html__( 'First name Label', 'shopbuilder' ),
244 219 'type' => 'text',
245 220 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
246 - // 'tab' => 'name',
221 + // 'tab' => 'name',
247 222 'dependency' => [
248 223 'rules' => [
249 224 [
250 225 'item' => 'general.billing_form.billing_first_name',
@@ -258,9 +233,9 @@
258 233 'id' => 'billing_first_name_placeholder',
259 234 'label' => esc_html__( 'First name Placeholder', 'shopbuilder' ),
260 235 'type' => 'text',
261 236 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
262 - // 'tab' => 'name',
237 + // 'tab' => 'name',
263 238 'dependency' => [
264 239 'rules' => [
265 240 [
266 241 'item' => 'general.billing_form.billing_first_name',
@@ -270,13 +245,13 @@
270 245 ],
271 246 ],
272 247 ],
273 248
274 - 'billing_last_name_heading' => [
249 + 'billing_last_name_heading' => [
275 250 'id' => 'billing_last_name_heading',
276 251 'type' => 'title',
277 252 'label' => esc_html__( 'Last Name', 'shopbuilder' ),
278 - // 'tab' => 'name',
253 + //'tab' => 'name',
279 254 ],
280 255 'billing_last_name' => [
281 256 'id' => 'billing_last_name',
282 257 'label' => esc_html__( 'Last name', 'shopbuilder' ),
@@ -328,13 +303,13 @@
328 303 ],
329 304 ],
330 305 ],
331 306
332 - 'billing_company_heading' => [
307 + 'billing_company_heading' => [
333 308 'id' => 'billing_company_heading',
334 309 'type' => 'title',
335 310 'label' => esc_html__( 'Company', 'shopbuilder' ),
336 - // 'tab' => 'company',
311 + //'tab' => 'company',
337 312 ],
338 313 'billing_company' => [
339 314 'id' => 'billing_company',
340 315 'label' => esc_html__( 'Company name', 'shopbuilder' ),
@@ -389,13 +364,13 @@
389 364 ],
390 365 ],
391 366 ],
392 367
393 - 'billing_country_heading' => [
368 + 'billing_country_heading' => [
394 369 'id' => 'billing_country_heading',
395 370 'type' => 'title',
396 371 'label' => esc_html__( 'Country', 'shopbuilder' ),
397 - // 'tab' => 'country',
372 + //'tab' => 'country',
398 373 ],
399 374 'billing_country' => [
400 375 'id' => 'billing_country',
401 376 'label' => esc_html__( 'Country', 'shopbuilder' ),
@@ -433,13 +408,13 @@
433 408 ],
434 409 ],
435 410 ],
436 411 ],
437 - 'billing_address_1_heading' => [
412 + 'billing_address_1_heading' => [
438 413 'id' => 'billing_address_1_heading',
439 414 'type' => 'title',
440 415 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
441 - // 'tab' => 'address',
416 + //'tab' => 'address',
442 417 ],
443 418 'billing_address_1' => [
444 419 'id' => 'billing_address_1',
445 420 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
@@ -490,14 +465,14 @@
490 465 ],
491 466 ],
492 467 ],
493 468 ],
494 - 'billing_address_2_heading' => [
495 - 'id' => 'billing_address_2_heading',
496 - 'type' => 'title',
497 - 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
498 - // 'tab' => 'address',
499 - 'dependency' => [
469 + 'billing_address_2_heading' => [
470 + 'id' => 'billing_address_2_heading',
471 + 'type' => 'title',
472 + 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
473 + //'tab' => 'address',
474 + 'dependency' => [
500 475 'rules' => [
501 476 [
502 477 'item' => 'general.billing_form.billing_address_1',
503 478 'value' => 'show',
@@ -511,11 +486,10 @@
511 486 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
512 487 'type' => 'checkbox',
513 488 'orientation' => 'vertical',
514 489 // 'tab' => 'address',
515 - 'value' => [
516 - 'show',
517 - 'required' === get_option( 'woocommerce_checkout_address_2_field', 'optional' ) ? 'required' : 'optional',
490 + 'value' => [ 'show',
491 + 'required' === get_option( 'woocommerce_checkout_address_2_field', 'optional' ) ? 'required' : 'optional',
518 492 ],
519 493 'options' => [
520 494 [
521 495 'value' => 'show',
@@ -575,9 +549,9 @@
575 549 ],
576 550 ],
577 551 ],
578 552 ],
579 - 'billing_city_heading' => [
553 + 'billing_city_heading' => [
580 554 'id' => 'billing_city_heading',
581 555 'type' => 'title',
582 556 'label' => esc_html__( 'Town / City', 'shopbuilder' ),
583 557 // 'tab' => 'city',
@@ -632,9 +606,9 @@
632 606 ],
633 607 ],
634 608 ],
635 609 ],
636 - 'billing_state_heading' => [
610 + 'billing_state_heading' => [
637 611 'id' => 'billing_city_heading',
638 612 'type' => 'title',
639 613 'label' => esc_html__( 'State', 'shopbuilder' ),
640 614 // 'tab' => 'state',
@@ -662,9 +636,9 @@
662 636 'id' => 'billing_state_label',
663 637 'label' => esc_html__( 'State label', 'shopbuilder' ),
664 638 'type' => 'text',
665 639 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
666 - // 'help' => esc_html__( 'Leave empty to set default. If the Shipping Form is enabled, the State field is mandatory.', 'shopbuilder' ),
640 + //'help' => esc_html__( 'Leave empty to set default. If the Shipping Form is enabled, the State field is mandatory.', 'shopbuilder' ),
667 641 // 'tab' => 'state',
668 642 'dependency' => [
669 643 'rules' => [
670 644 [
@@ -674,9 +648,9 @@
674 648 ],
675 649 ],
676 650 ],
677 651 ],
678 - 'billing_postcode_heading' => [
652 + 'billing_postcode_heading' => [
679 653 'id' => 'billing_postcode_heading',
680 654 'type' => 'title',
681 655 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
682 656 // 'tab' => 'postcode',
@@ -730,9 +704,9 @@
730 704 ],
731 705 ],
732 706 ],
733 707 ],
734 - 'billing_phone_heading' => [
708 + 'billing_phone_heading' => [
735 709 'id' => 'billing_phone_heading',
736 710 'type' => 'title',
737 711 'label' => esc_html__( 'Phone', 'shopbuilder' ),
738 712 // 'tab' => 'phone',
@@ -790,9 +764,9 @@
790 764 ],
791 765 ],
792 766 ],
793 767 ],
794 - 'billing_email_heading' => [
768 + 'billing_email_heading' => [
795 769 'id' => 'billing_email_heading',
796 770 'type' => 'title',
797 771 'label' => esc_html__( 'Email', 'shopbuilder' ),
798 772 // 'tab' => 'email',
@@ -862,9 +836,9 @@
862 836 'label' => esc_html__( 'Enable Shipping form settings?', 'shopbuilder' ),
863 837 'help' => esc_html__( 'Switch on to Shipping form settings.', 'shopbuilder' ),
864 838 ],
865 839 'fields' => [
866 - 'shipping_first_name_heading' => [
840 + 'shipping_first_name_heading' => [
867 841 'id' => 'shipping_first_name_heading',
868 842 'type' => 'title',
869 843 'label' => esc_html__( 'First Name', 'shopbuilder' ),
870 844 // 'tab' => 'name',
@@ -918,9 +892,9 @@
918 892 ],
919 893 ],
920 894 ],
921 895 ],
922 - 'shipping_first_last_heading' => [
896 + 'shipping_first_last_heading' => [
923 897 'id' => 'shipping_first_last_heading',
924 898 'type' => 'title',
925 899 'label' => esc_html__( 'Last Name', 'shopbuilder' ),
926 900 // 'tab' => 'name',
@@ -975,9 +949,9 @@
975 949 ],
976 950 ],
977 951 ],
978 952 ],
979 - 'shipping_company_heading' => [
953 + 'shipping_company_heading' => [
980 954 'id' => 'shipping_company_heading',
981 955 'type' => 'title',
982 956 'label' => esc_html__( 'Company', 'shopbuilder' ),
983 957 // 'tab' => 'name',
@@ -1032,9 +1006,9 @@
1032 1006 ],
1033 1007 ],
1034 1008 ],
1035 1009 ],
1036 - 'shipping_country_heading' => [
1010 + 'shipping_country_heading' => [
1037 1011 'id' => 'shipping_country_heading',
1038 1012 'type' => 'title',
1039 1013 'label' => esc_html__( 'Country', 'shopbuilder' ),
1040 1014 // 'tab' => 'name',
@@ -1074,9 +1048,9 @@
1074 1048 ],
1075 1049 ],
1076 1050 ],
1077 1051 ],
1078 - 'shipping_address_1_heading' => [
1052 + 'shipping_address_1_heading' => [
1079 1053 'id' => 'shipping_address_1_heading',
1080 1054 'type' => 'title',
1081 1055 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
1082 1056 // 'tab' => 'name',
@@ -1131,14 +1105,14 @@
1131 1105 ],
1132 1106 ],
1133 1107 ],
1134 1108 ],
1135 - 'shipping_address_2_heading' => [
1136 - 'id' => 'shipping_address_2_heading',
1137 - 'type' => 'title',
1138 - 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
1109 + 'shipping_address_2_heading' => [
1110 + 'id' => 'shipping_address_2_heading',
1111 + 'type' => 'title',
1112 + 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
1139 1113 // 'tab' => 'name',
1140 - 'dependency' => [
1114 + 'dependency' => [
1141 1115 'rules' => [
1142 1116 [
1143 1117 'item' => 'general.shipping_form.shipping_address_1',
1144 1118 'value' => 'show',
@@ -1213,9 +1187,9 @@
1213 1187 ],
1214 1188 ],
1215 1189 ],
1216 1190 ],
1217 - 'shipping_city_heading' => [
1191 + 'shipping_city_heading' => [
1218 1192 'id' => 'shipping_city_heading',
1219 1193 'type' => 'title',
1220 1194 'label' => esc_html__( 'Town / City', 'shopbuilder' ),
1221 1195 // 'tab' => 'name',
@@ -1269,9 +1243,9 @@
1269 1243 ],
1270 1244 ],
1271 1245 ],
1272 1246 ],
1273 - 'shipping_state_heading' => [
1247 + 'shipping_state_heading' => [
1274 1248 'id' => 'shipping_state_heading',
1275 1249 'type' => 'title',
1276 1250 'label' => esc_html__( 'Others', 'shopbuilder' ),
1277 1251 // 'tab' => 'name',
@@ -1294,30 +1268,30 @@
1294 1268 ],
1295 1269 // 'tab' => 'country',
1296 1270 ],
1297 1271 //
1298 - // 'shipping_state_label' => [
1299 - // 'id' => 'shipping_state_label',
1300 - // 'label' => esc_html__( 'State label', 'shopbuilder' ),
1301 - // 'type' => 'text',
1302 - // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1303 - // 'tab' => 'country',
1304 - // 'dependency' => [
1305 - // 'rules' => [
1306 - // [
1307 - // 'item' => 'general.shipping_form.shipping_state',
1308 - // 'value' => 'show',
1309 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1310 - // ],
1311 - // ],
1312 - // ],
1313 - // ],
1314 - // 'shipping_postcode_heading' => [
1315 - // 'id' => 'shipping_postcode_heading',
1316 - // 'type' => 'title',
1317 - // 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
1318 - // 'tab' => 'name',
1319 - // ],
1272 + // 'shipping_state_label' => [
1273 + // 'id' => 'shipping_state_label',
1274 + // 'label' => esc_html__( 'State label', 'shopbuilder' ),
1275 + // 'type' => 'text',
1276 + // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1277 + // // 'tab' => 'country',
1278 + // 'dependency' => [
1279 + // 'rules' => [
1280 + // [
1281 + // 'item' => 'general.shipping_form.shipping_state',
1282 + // 'value' => 'show',
1283 + // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1284 + // ],
1285 + // ],
1286 + // ],
1287 + // ],
1288 + //'shipping_postcode_heading' => [
1289 + // 'id' => 'shipping_postcode_heading',
1290 + // 'type' => 'title',
1291 + // 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
1292 + // // 'tab' => 'name',
1293 + //],
1320 1294 'shipping_postcode' => [
1321 1295 'id' => 'shipping_postcode',
1322 1296 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
1323 1297 'type' => 'checkbox',
@@ -1326,44 +1300,44 @@
1326 1300 'options' => [
1327 1301 [
1328 1302 'value' => 'show',
1329 1303 'label' => 'Show Postcode / ZIP?',
1330 - ],
1304 + ]
1331 1305 ],
1332 1306 // 'tab' => 'country',
1333 1307 ],
1334 - // 'shipping_postcode_label' => [
1335 - // 'id' => 'shipping_postcode_label',
1336 - // 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ),
1337 - // 'type' => 'text',
1338 - // 'help' => esc_html__( 'Leave empty to set default. ', 'shopbuilder' ),
1339 - // 'tab' => 'country',
1340 - // 'dependency' => [
1341 - // 'rules' => [
1342 - // [
1343 - // 'item' => 'general.shipping_form.shipping_postcode',
1344 - // 'value' => 'show',
1345 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1346 - // ],
1347 - // ],
1348 - // ],
1349 - // ],
1350 - // 'shipping_postcode_placeholder' => [
1351 - // 'id' => 'shipping_postcode_placeholder',
1352 - // 'label' => esc_html__( 'Postcode / ZIP placeholder', 'shopbuilder' ),
1353 - // 'type' => 'text',
1354 - // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1355 - // 'tab' => 'country',
1356 - // 'dependency' => [
1357 - // 'rules' => [
1358 - // [
1359 - // 'item' => 'general.shipping_form.shipping_postcode',
1360 - // 'value' => 'show',
1361 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1362 - // ],
1363 - // ],
1364 - // ],
1365 - // ],
1308 + // 'shipping_postcode_label' => [
1309 + // 'id' => 'shipping_postcode_label',
1310 + // 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ),
1311 + // 'type' => 'text',
1312 + // 'help' => esc_html__( 'Leave empty to set default. ', 'shopbuilder' ),
1313 + // // 'tab' => 'country',
1314 + // 'dependency' => [
1315 + // 'rules' => [
1316 + // [
1317 + // 'item' => 'general.shipping_form.shipping_postcode',
1318 + // 'value' => 'show',
1319 + // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1320 + // ],
1321 + // ],
1322 + // ],
1323 + // ],
1324 + // 'shipping_postcode_placeholder' => [
1325 + // 'id' => 'shipping_postcode_placeholder',
1326 + // 'label' => esc_html__( 'Postcode / ZIP placeholder', 'shopbuilder' ),
1327 + // 'type' => 'text',
1328 + // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1329 + // // 'tab' => 'country',
1330 + // 'dependency' => [
1331 + // 'rules' => [
1332 + // [
1333 + // 'item' => 'general.shipping_form.shipping_postcode',
1334 + // 'value' => 'show',
1335 + // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1336 + // ],
1337 + // ],
1338 + // ],
1339 + // ],
1366 1340
1367 1341 ],
1368 1342 ]
1369 1343 ),