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 -106 2.1.22.0.2 View file →
@@ -68,15 +68,17 @@
68 68 'value' => 'center-center',
69 69 'type' => 'select',
70 70 'label' => esc_html__( 'Notification Position', 'shopbuilder' ),
71 71 'options' => [
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-center' => esc_html__( 'Top center', 'shopbuilder' ),
78 - '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' ),
79 81 ],
80 82 ],
81 83 'notification_color' => [
82 84 'id' => 'notification_color',
@@ -95,14 +97,9 @@
95 97 'label' => esc_html__( 'Background Color', 'shopbuilder' ),
96 98 'type' => 'color',
97 99 'tab' => 'floating_button',
98 100 ],
99 - 'hide_notification' => [
100 - 'id' => 'hide_notification',
101 - 'type' => 'switch',
102 - 'label' => esc_html__( 'Hide Notifications', 'shopbuilder' ),
103 - 'help' => esc_html__( 'Enable this option if you don\'t want the notifications to show.', 'shopbuilder' ),
104 - ],
101 +
105 102 ],
106 103 ],
107 104 ),
108 105 'social_share' => apply_filters(
@@ -191,9 +188,9 @@
191 188 'label' => esc_html__( 'Enable Billing form settings?', 'shopbuilder' ),
192 189 'help' => esc_html__( 'Switch on to Billing form settings.', 'shopbuilder' ),
193 190 ],
194 191 'fields' => [
195 - 'billing_first_name_heading' => [
192 + 'billing_first_name_heading' => [
196 193 'id' => 'billing_first_name_heading',
197 194 'type' => 'title',
198 195 'label' => esc_html__( 'First Name', 'shopbuilder' ),
199 196 // 'tab' => 'name',
@@ -220,9 +217,9 @@
220 217 'id' => 'billing_first_name_label',
221 218 'label' => esc_html__( 'First name Label', 'shopbuilder' ),
222 219 'type' => 'text',
223 220 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
224 - // 'tab' => 'name',
221 + // 'tab' => 'name',
225 222 'dependency' => [
226 223 'rules' => [
227 224 [
228 225 'item' => 'general.billing_form.billing_first_name',
@@ -236,9 +233,9 @@
236 233 'id' => 'billing_first_name_placeholder',
237 234 'label' => esc_html__( 'First name Placeholder', 'shopbuilder' ),
238 235 'type' => 'text',
239 236 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
240 - // 'tab' => 'name',
237 + // 'tab' => 'name',
241 238 'dependency' => [
242 239 'rules' => [
243 240 [
244 241 'item' => 'general.billing_form.billing_first_name',
@@ -248,13 +245,13 @@
248 245 ],
249 246 ],
250 247 ],
251 248
252 - 'billing_last_name_heading' => [
249 + 'billing_last_name_heading' => [
253 250 'id' => 'billing_last_name_heading',
254 251 'type' => 'title',
255 252 'label' => esc_html__( 'Last Name', 'shopbuilder' ),
256 - // 'tab' => 'name',
253 + //'tab' => 'name',
257 254 ],
258 255 'billing_last_name' => [
259 256 'id' => 'billing_last_name',
260 257 'label' => esc_html__( 'Last name', 'shopbuilder' ),
@@ -306,13 +303,13 @@
306 303 ],
307 304 ],
308 305 ],
309 306
310 - 'billing_company_heading' => [
307 + 'billing_company_heading' => [
311 308 'id' => 'billing_company_heading',
312 309 'type' => 'title',
313 310 'label' => esc_html__( 'Company', 'shopbuilder' ),
314 - // 'tab' => 'company',
311 + //'tab' => 'company',
315 312 ],
316 313 'billing_company' => [
317 314 'id' => 'billing_company',
318 315 'label' => esc_html__( 'Company name', 'shopbuilder' ),
@@ -367,13 +364,13 @@
367 364 ],
368 365 ],
369 366 ],
370 367
371 - 'billing_country_heading' => [
368 + 'billing_country_heading' => [
372 369 'id' => 'billing_country_heading',
373 370 'type' => 'title',
374 371 'label' => esc_html__( 'Country', 'shopbuilder' ),
375 - // 'tab' => 'country',
372 + //'tab' => 'country',
376 373 ],
377 374 'billing_country' => [
378 375 'id' => 'billing_country',
379 376 'label' => esc_html__( 'Country', 'shopbuilder' ),
@@ -411,13 +408,13 @@
411 408 ],
412 409 ],
413 410 ],
414 411 ],
415 - 'billing_address_1_heading' => [
412 + 'billing_address_1_heading' => [
416 413 'id' => 'billing_address_1_heading',
417 414 'type' => 'title',
418 415 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
419 - // 'tab' => 'address',
416 + //'tab' => 'address',
420 417 ],
421 418 'billing_address_1' => [
422 419 'id' => 'billing_address_1',
423 420 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
@@ -468,14 +465,14 @@
468 465 ],
469 466 ],
470 467 ],
471 468 ],
472 - 'billing_address_2_heading' => [
473 - 'id' => 'billing_address_2_heading',
474 - 'type' => 'title',
475 - 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
476 - // 'tab' => 'address',
477 - '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' => [
478 475 'rules' => [
479 476 [
480 477 'item' => 'general.billing_form.billing_address_1',
481 478 'value' => 'show',
@@ -489,11 +486,10 @@
489 486 'label' => esc_html__( 'Address 2', 'shopbuilder' ),
490 487 'type' => 'checkbox',
491 488 'orientation' => 'vertical',
492 489 // 'tab' => 'address',
493 - 'value' => [
494 - 'show',
495 - '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',
496 492 ],
497 493 'options' => [
498 494 [
499 495 'value' => 'show',
@@ -553,9 +549,9 @@
553 549 ],
554 550 ],
555 551 ],
556 552 ],
557 - 'billing_city_heading' => [
553 + 'billing_city_heading' => [
558 554 'id' => 'billing_city_heading',
559 555 'type' => 'title',
560 556 'label' => esc_html__( 'Town / City', 'shopbuilder' ),
561 557 // 'tab' => 'city',
@@ -610,9 +606,9 @@
610 606 ],
611 607 ],
612 608 ],
613 609 ],
614 - 'billing_state_heading' => [
610 + 'billing_state_heading' => [
615 611 'id' => 'billing_city_heading',
616 612 'type' => 'title',
617 613 'label' => esc_html__( 'State', 'shopbuilder' ),
618 614 // 'tab' => 'state',
@@ -640,9 +636,9 @@
640 636 'id' => 'billing_state_label',
641 637 'label' => esc_html__( 'State label', 'shopbuilder' ),
642 638 'type' => 'text',
643 639 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
644 - // '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' ),
645 641 // 'tab' => 'state',
646 642 'dependency' => [
647 643 'rules' => [
648 644 [
@@ -652,9 +648,9 @@
652 648 ],
653 649 ],
654 650 ],
655 651 ],
656 - 'billing_postcode_heading' => [
652 + 'billing_postcode_heading' => [
657 653 'id' => 'billing_postcode_heading',
658 654 'type' => 'title',
659 655 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
660 656 // 'tab' => 'postcode',
@@ -708,9 +704,9 @@
708 704 ],
709 705 ],
710 706 ],
711 707 ],
712 - 'billing_phone_heading' => [
708 + 'billing_phone_heading' => [
713 709 'id' => 'billing_phone_heading',
714 710 'type' => 'title',
715 711 'label' => esc_html__( 'Phone', 'shopbuilder' ),
716 712 // 'tab' => 'phone',
@@ -768,9 +764,9 @@
768 764 ],
769 765 ],
770 766 ],
771 767 ],
772 - 'billing_email_heading' => [
768 + 'billing_email_heading' => [
773 769 'id' => 'billing_email_heading',
774 770 'type' => 'title',
775 771 'label' => esc_html__( 'Email', 'shopbuilder' ),
776 772 // 'tab' => 'email',
@@ -840,9 +836,9 @@
840 836 'label' => esc_html__( 'Enable Shipping form settings?', 'shopbuilder' ),
841 837 'help' => esc_html__( 'Switch on to Shipping form settings.', 'shopbuilder' ),
842 838 ],
843 839 'fields' => [
844 - 'shipping_first_name_heading' => [
840 + 'shipping_first_name_heading' => [
845 841 'id' => 'shipping_first_name_heading',
846 842 'type' => 'title',
847 843 'label' => esc_html__( 'First Name', 'shopbuilder' ),
848 844 // 'tab' => 'name',
@@ -896,9 +892,9 @@
896 892 ],
897 893 ],
898 894 ],
899 895 ],
900 - 'shipping_first_last_heading' => [
896 + 'shipping_first_last_heading' => [
901 897 'id' => 'shipping_first_last_heading',
902 898 'type' => 'title',
903 899 'label' => esc_html__( 'Last Name', 'shopbuilder' ),
904 900 // 'tab' => 'name',
@@ -953,9 +949,9 @@
953 949 ],
954 950 ],
955 951 ],
956 952 ],
957 - 'shipping_company_heading' => [
953 + 'shipping_company_heading' => [
958 954 'id' => 'shipping_company_heading',
959 955 'type' => 'title',
960 956 'label' => esc_html__( 'Company', 'shopbuilder' ),
961 957 // 'tab' => 'name',
@@ -1010,9 +1006,9 @@
1010 1006 ],
1011 1007 ],
1012 1008 ],
1013 1009 ],
1014 - 'shipping_country_heading' => [
1010 + 'shipping_country_heading' => [
1015 1011 'id' => 'shipping_country_heading',
1016 1012 'type' => 'title',
1017 1013 'label' => esc_html__( 'Country', 'shopbuilder' ),
1018 1014 // 'tab' => 'name',
@@ -1052,9 +1048,9 @@
1052 1048 ],
1053 1049 ],
1054 1050 ],
1055 1051 ],
1056 - 'shipping_address_1_heading' => [
1052 + 'shipping_address_1_heading' => [
1057 1053 'id' => 'shipping_address_1_heading',
1058 1054 'type' => 'title',
1059 1055 'label' => esc_html__( 'Address 1', 'shopbuilder' ),
1060 1056 // 'tab' => 'name',
@@ -1109,14 +1105,14 @@
1109 1105 ],
1110 1106 ],
1111 1107 ],
1112 1108 ],
1113 - 'shipping_address_2_heading' => [
1114 - 'id' => 'shipping_address_2_heading',
1115 - 'type' => 'title',
1116 - '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' ),
1117 1113 // 'tab' => 'name',
1118 - 'dependency' => [
1114 + 'dependency' => [
1119 1115 'rules' => [
1120 1116 [
1121 1117 'item' => 'general.shipping_form.shipping_address_1',
1122 1118 'value' => 'show',
@@ -1191,9 +1187,9 @@
1191 1187 ],
1192 1188 ],
1193 1189 ],
1194 1190 ],
1195 - 'shipping_city_heading' => [
1191 + 'shipping_city_heading' => [
1196 1192 'id' => 'shipping_city_heading',
1197 1193 'type' => 'title',
1198 1194 'label' => esc_html__( 'Town / City', 'shopbuilder' ),
1199 1195 // 'tab' => 'name',
@@ -1247,9 +1243,9 @@
1247 1243 ],
1248 1244 ],
1249 1245 ],
1250 1246 ],
1251 - 'shipping_state_heading' => [
1247 + 'shipping_state_heading' => [
1252 1248 'id' => 'shipping_state_heading',
1253 1249 'type' => 'title',
1254 1250 'label' => esc_html__( 'Others', 'shopbuilder' ),
1255 1251 // 'tab' => 'name',
@@ -1272,30 +1268,30 @@
1272 1268 ],
1273 1269 // 'tab' => 'country',
1274 1270 ],
1275 1271 //
1276 - // 'shipping_state_label' => [
1277 - // 'id' => 'shipping_state_label',
1278 - // 'label' => esc_html__( 'State label', 'shopbuilder' ),
1279 - // 'type' => 'text',
1280 - // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1281 - // 'tab' => 'country',
1282 - // 'dependency' => [
1283 - // 'rules' => [
1284 - // [
1285 - // 'item' => 'general.shipping_form.shipping_state',
1286 - // 'value' => 'show',
1287 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1288 - // ],
1289 - // ],
1290 - // ],
1291 - // ],
1292 - // 'shipping_postcode_heading' => [
1293 - // 'id' => 'shipping_postcode_heading',
1294 - // 'type' => 'title',
1295 - // 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
1296 - // 'tab' => 'name',
1297 - // ],
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 + //],
1298 1294 'shipping_postcode' => [
1299 1295 'id' => 'shipping_postcode',
1300 1296 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ),
1301 1297 'type' => 'checkbox',
@@ -1304,44 +1300,44 @@
1304 1300 'options' => [
1305 1301 [
1306 1302 'value' => 'show',
1307 1303 'label' => 'Show Postcode / ZIP?',
1308 - ],
1304 + ]
1309 1305 ],
1310 1306 // 'tab' => 'country',
1311 1307 ],
1312 - // 'shipping_postcode_label' => [
1313 - // 'id' => 'shipping_postcode_label',
1314 - // 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ),
1315 - // 'type' => 'text',
1316 - // 'help' => esc_html__( 'Leave empty to set default. ', 'shopbuilder' ),
1317 - // 'tab' => 'country',
1318 - // 'dependency' => [
1319 - // 'rules' => [
1320 - // [
1321 - // 'item' => 'general.shipping_form.shipping_postcode',
1322 - // 'value' => 'show',
1323 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1324 - // ],
1325 - // ],
1326 - // ],
1327 - // ],
1328 - // 'shipping_postcode_placeholder' => [
1329 - // 'id' => 'shipping_postcode_placeholder',
1330 - // 'label' => esc_html__( 'Postcode / ZIP placeholder', 'shopbuilder' ),
1331 - // 'type' => 'text',
1332 - // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ),
1333 - // 'tab' => 'country',
1334 - // 'dependency' => [
1335 - // 'rules' => [
1336 - // [
1337 - // 'item' => 'general.shipping_form.shipping_postcode',
1338 - // 'value' => 'show',
1339 - // 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value //
1340 - // ],
1341 - // ],
1342 - // ],
1343 - // ],
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 + // ],
1344 1340
1345 1341 ],
1346 1342 ]
1347 1343 ),