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