| @@ -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', |
| @@ -115,8 +120,13 @@ | ||
| 115 | 120 | 'active_field' => [ |
| 116 | 121 | 'disable' => true, |
| 117 | 122 | ], |
| 118 | 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 | + ], | |
| 119 | 129 | 'share_platforms' => [ |
| 120 | 130 | 'id' => 'share_platforms', |
| 121 | 131 | 'label' => esc_html__( 'Select Social Sharing Platforms', 'shopbuilder' ), |
| 122 | 132 | 'type' => 'checkbox', |
| @@ -167,8 +177,20 @@ | ||
| 167 | 177 | ], |
| 168 | 178 | ], |
| 169 | 179 | ], |
| 170 | 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 | + ), | |
| 171 | 193 | 'tooltip' => apply_filters( |
| 172 | 194 | 'rtsb/settings/tooltip/options', |
| 173 | 195 | [ |
| 174 | 196 | 'id' => 'tooltip', |
| @@ -187,17 +209,22 @@ | ||
| 187 | 209 | 'category' => 'checkout', |
| 188 | 210 | 'title' => esc_html__( 'Billing Form Settings', 'shopbuilder' ), |
| 189 | 211 | 'package' => 'free', |
| 190 | 212 | 'active_field' => [ |
| 191 | - 'label' => esc_html__( 'Enable Billing form settings?', 'shopbuilder' ), | |
| 192 | - 'help' => esc_html__( 'Switch on to Billing form settings.', 'shopbuilder' ), | |
| 213 | + 'label' => esc_html__( 'Customize Billing Form Fields?', 'shopbuilder' ), | |
| 214 | + 'help' => esc_html__( 'Switch on to customize billing form fields.', 'shopbuilder' ), | |
| 193 | 215 | ], |
| 194 | 216 | 'fields' => [ |
| 217 | + 'checkout_billing_info' => [ | |
| 218 | + 'id' => 'checkout_billing_info', | |
| 219 | + 'type' => 'title', | |
| 220 | + 'label' => __( 'The below form fields customization will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is activated.', 'shopbuilder' ), | |
| 221 | + 'customClass' => 'checkout-notice', | |
| 222 | + ], | |
| 195 | 223 | 'billing_first_name_heading' => [ |
| 196 | 224 | 'id' => 'billing_first_name_heading', |
| 197 | 225 | 'type' => 'title', |
| 198 | 226 | 'label' => esc_html__( 'First Name', 'shopbuilder' ), |
| 199 | - // 'tab' => 'name', | |
| 200 | 227 | ], |
| 201 | 228 | 'billing_first_name' => [ |
| 202 | 229 | 'id' => 'billing_first_name', |
| 203 | 230 | 'label' => esc_html__( 'First name', 'shopbuilder' ), |
| @@ -213,9 +240,8 @@ | ||
| 213 | 240 | 'value' => 'required', |
| 214 | 241 | 'label' => 'Required Field', |
| 215 | 242 | ], |
| 216 | 243 | ], |
| 217 | - // 'tab' => 'name', | |
| 218 | 244 | ], |
| 219 | 245 | 'billing_first_name_label' => [ |
| 220 | 246 | 'id' => 'billing_first_name_label', |
| 221 | 247 | 'label' => esc_html__( 'First name Label', 'shopbuilder' ), |
| @@ -220,15 +246,14 @@ | ||
| 220 | 246 | 'id' => 'billing_first_name_label', |
| 221 | 247 | 'label' => esc_html__( 'First name Label', 'shopbuilder' ), |
| 222 | 248 | 'type' => 'text', |
| 223 | 249 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 224 | - // 'tab' => 'name', | |
| 225 | 250 | 'dependency' => [ |
| 226 | 251 | 'rules' => [ |
| 227 | 252 | [ |
| 228 | 253 | 'item' => 'general.billing_form.billing_first_name', |
| 229 | 254 | 'value' => 'show', |
| 230 | - 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value // | |
| 255 | + 'operator' => '==', | |
| 231 | 256 | ], |
| 232 | 257 | ], |
| 233 | 258 | ], |
| 234 | 259 | ], |
| @@ -236,15 +261,14 @@ | ||
| 236 | 261 | 'id' => 'billing_first_name_placeholder', |
| 237 | 262 | 'label' => esc_html__( 'First name Placeholder', 'shopbuilder' ), |
| 238 | 263 | 'type' => 'text', |
| 239 | 264 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 240 | - // 'tab' => 'name', | |
| 241 | 265 | 'dependency' => [ |
| 242 | 266 | 'rules' => [ |
| 243 | 267 | [ |
| 244 | 268 | 'item' => 'general.billing_form.billing_first_name', |
| 245 | 269 | 'value' => 'show', |
| 246 | - 'operator' => '==', // 'operator' => 'any','in', !in' only valid for multiple value // | |
| 270 | + 'operator' => '==', | |
| 247 | 271 | ], |
| 248 | 272 | ], |
| 249 | 273 | ], |
| 250 | 274 | ], |
| @@ -252,9 +276,8 @@ | ||
| 252 | 276 | 'billing_last_name_heading' => [ |
| 253 | 277 | 'id' => 'billing_last_name_heading', |
| 254 | 278 | 'type' => 'title', |
| 255 | 279 | 'label' => esc_html__( 'Last Name', 'shopbuilder' ), |
| 256 | - // 'tab' => 'name', | |
| 257 | 280 | ], |
| 258 | 281 | 'billing_last_name' => [ |
| 259 | 282 | 'id' => 'billing_last_name', |
| 260 | 283 | 'label' => esc_html__( 'Last name', 'shopbuilder' ), |
| @@ -270,9 +293,8 @@ | ||
| 270 | 293 | 'value' => 'required', |
| 271 | 294 | 'label' => 'Required Field', |
| 272 | 295 | ], |
| 273 | 296 | ], |
| 274 | - // 'tab' => 'name', | |
| 275 | 297 | ], |
| 276 | 298 | |
| 277 | 299 | 'billing_last_name_label' => [ |
| 278 | 300 | 'id' => 'billing_last_name_label', |
| @@ -278,9 +300,8 @@ | ||
| 278 | 300 | 'id' => 'billing_last_name_label', |
| 279 | 301 | 'label' => esc_html__( 'Last name label', 'shopbuilder' ), |
| 280 | 302 | 'type' => 'text', |
| 281 | 303 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 282 | - // 'tab' => 'name', | |
| 283 | 304 | 'dependency' => [ |
| 284 | 305 | 'rules' => [ |
| 285 | 306 | [ |
| 286 | 307 | 'item' => 'general.billing_form.billing_last_name', |
| @@ -294,9 +315,8 @@ | ||
| 294 | 315 | 'id' => 'billing_last_name_placeholder', |
| 295 | 316 | 'label' => esc_html__( 'Last name Placeholder', 'shopbuilder' ), |
| 296 | 317 | 'type' => 'text', |
| 297 | 318 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 298 | - // 'tab' => 'name', | |
| 299 | 319 | 'dependency' => [ |
| 300 | 320 | 'rules' => [ |
| 301 | 321 | [ |
| 302 | 322 | 'item' => 'general.billing_form.billing_last_name', |
| @@ -310,9 +330,8 @@ | ||
| 310 | 330 | 'billing_company_heading' => [ |
| 311 | 331 | 'id' => 'billing_company_heading', |
| 312 | 332 | 'type' => 'title', |
| 313 | 333 | 'label' => esc_html__( 'Company', 'shopbuilder' ), |
| 314 | - // 'tab' => 'company', | |
| 315 | 334 | ], |
| 316 | 335 | 'billing_company' => [ |
| 317 | 336 | 'id' => 'billing_company', |
| 318 | 337 | 'label' => esc_html__( 'Company name', 'shopbuilder' ), |
| @@ -331,9 +350,8 @@ | ||
| 331 | 350 | 'value' => 'required', |
| 332 | 351 | 'label' => 'Required Field', |
| 333 | 352 | ], |
| 334 | 353 | ], |
| 335 | - // 'tab' => 'company', | |
| 336 | 354 | ], |
| 337 | 355 | |
| 338 | 356 | 'billing_company_label' => [ |
| 339 | 357 | 'id' => 'billing_company_label', |
| @@ -339,9 +357,8 @@ | ||
| 339 | 357 | 'id' => 'billing_company_label', |
| 340 | 358 | 'label' => esc_html__( 'Company label', 'shopbuilder' ), |
| 341 | 359 | 'type' => 'text', |
| 342 | 360 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 343 | - // 'tab' => 'company', | |
| 344 | 361 | 'dependency' => [ |
| 345 | 362 | 'rules' => [ |
| 346 | 363 | [ |
| 347 | 364 | 'item' => 'general.billing_form.billing_company', |
| @@ -355,9 +372,8 @@ | ||
| 355 | 372 | 'id' => 'billing_company_placeholder', |
| 356 | 373 | 'label' => esc_html__( 'Company Placeholder', 'shopbuilder' ), |
| 357 | 374 | 'type' => 'text', |
| 358 | 375 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 359 | - // 'tab' => 'company', | |
| 360 | 376 | 'dependency' => [ |
| 361 | 377 | 'rules' => [ |
| 362 | 378 | [ |
| 363 | 379 | 'item' => 'general.billing_form.billing_company', |
| @@ -371,9 +387,8 @@ | ||
| 371 | 387 | 'billing_country_heading' => [ |
| 372 | 388 | 'id' => 'billing_country_heading', |
| 373 | 389 | 'type' => 'title', |
| 374 | 390 | 'label' => esc_html__( 'Country', 'shopbuilder' ), |
| 375 | - // 'tab' => 'country', | |
| 376 | 391 | ], |
| 377 | 392 | 'billing_country' => [ |
| 378 | 393 | 'id' => 'billing_country', |
| 379 | 394 | 'label' => esc_html__( 'Country', 'shopbuilder' ), |
| @@ -392,9 +407,8 @@ | ||
| 392 | 407 | 'label' => 'Required Field', |
| 393 | 408 | // 'disabled' => true, |
| 394 | 409 | ], |
| 395 | 410 | ], |
| 396 | - // 'tab' => 'country', | |
| 397 | 411 | ], |
| 398 | 412 | |
| 399 | 413 | 'billing_country_label' => [ |
| 400 | 414 | 'id' => 'billing_country_label', |
| @@ -400,9 +414,8 @@ | ||
| 400 | 414 | 'id' => 'billing_country_label', |
| 401 | 415 | 'label' => esc_html__( 'Country label', 'shopbuilder' ), |
| 402 | 416 | 'type' => 'text', |
| 403 | 417 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 404 | - // 'tab' => 'country', | |
| 405 | 418 | 'dependency' => [ |
| 406 | 419 | 'rules' => [ |
| 407 | 420 | [ |
| 408 | 421 | 'item' => 'general.billing_form.billing_country', |
| @@ -415,9 +428,8 @@ | ||
| 415 | 428 | 'billing_address_1_heading' => [ |
| 416 | 429 | 'id' => 'billing_address_1_heading', |
| 417 | 430 | 'type' => 'title', |
| 418 | 431 | 'label' => esc_html__( 'Address 1', 'shopbuilder' ), |
| 419 | - // 'tab' => 'address', | |
| 420 | 432 | ], |
| 421 | 433 | 'billing_address_1' => [ |
| 422 | 434 | 'id' => 'billing_address_1', |
| 423 | 435 | 'label' => esc_html__( 'Address 1', 'shopbuilder' ), |
| @@ -433,9 +445,8 @@ | ||
| 433 | 445 | 'value' => 'required', |
| 434 | 446 | 'label' => 'Required Field', |
| 435 | 447 | ], |
| 436 | 448 | ], |
| 437 | - // 'tab' => 'address', | |
| 438 | 449 | ], |
| 439 | 450 | |
| 440 | 451 | 'billing_address_1_label' => [ |
| 441 | 452 | 'id' => 'billing_address_1_label', |
| @@ -441,9 +452,8 @@ | ||
| 441 | 452 | 'id' => 'billing_address_1_label', |
| 442 | 453 | 'label' => esc_html__( 'Address 1 label', 'shopbuilder' ), |
| 443 | 454 | 'type' => 'text', |
| 444 | 455 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 445 | - // 'tab' => 'address', | |
| 446 | 456 | 'dependency' => [ |
| 447 | 457 | 'rules' => [ |
| 448 | 458 | [ |
| 449 | 459 | 'item' => 'general.billing_form.billing_address_1', |
| @@ -457,9 +467,8 @@ | ||
| 457 | 467 | 'id' => 'billing_address_1_placeholder', |
| 458 | 468 | 'label' => esc_html__( 'Address 1 Placeholder', 'shopbuilder' ), |
| 459 | 469 | 'type' => 'text', |
| 460 | 470 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 461 | - // 'tab' => 'address', | |
| 462 | 471 | 'dependency' => [ |
| 463 | 472 | 'rules' => [ |
| 464 | 473 | [ |
| 465 | 474 | 'item' => 'general.billing_form.billing_address_1', |
| @@ -472,9 +481,8 @@ | ||
| 472 | 481 | 'billing_address_2_heading' => [ |
| 473 | 482 | 'id' => 'billing_address_2_heading', |
| 474 | 483 | 'type' => 'title', |
| 475 | 484 | 'label' => esc_html__( 'Address 2', 'shopbuilder' ), |
| 476 | - // 'tab' => 'address', | |
| 477 | 485 | 'dependency' => [ |
| 478 | 486 | 'rules' => [ |
| 479 | 487 | [ |
| 480 | 488 | 'item' => 'general.billing_form.billing_address_1', |
| @@ -488,9 +496,8 @@ | ||
| 488 | 496 | 'id' => 'billing_address_2', |
| 489 | 497 | 'label' => esc_html__( 'Address 2', 'shopbuilder' ), |
| 490 | 498 | 'type' => 'checkbox', |
| 491 | 499 | 'orientation' => 'vertical', |
| 492 | - // 'tab' => 'address', | |
| 493 | 500 | 'value' => [ |
| 494 | 501 | 'show', |
| 495 | 502 | 'required' === get_option( 'woocommerce_checkout_address_2_field', 'optional' ) ? 'required' : 'optional', |
| 496 | 503 | ], |
| @@ -516,9 +523,8 @@ | ||
| 516 | 523 | 'id' => 'billing_address_2_label', |
| 517 | 524 | 'label' => esc_html__( 'Address 2 label', 'shopbuilder' ), |
| 518 | 525 | 'type' => 'text', |
| 519 | 526 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 520 | - // 'tab' => 'address', | |
| 521 | 527 | 'dependency' => [ |
| 522 | 528 | 'rules' => [ |
| 523 | 529 | [ |
| 524 | 530 | 'item' => 'general.billing_form.billing_address_1', |
| @@ -537,9 +543,8 @@ | ||
| 537 | 543 | 'id' => 'billing_address_2_placeholder', |
| 538 | 544 | 'label' => esc_html__( 'Address 2 Placeholder', 'shopbuilder' ), |
| 539 | 545 | 'type' => 'text', |
| 540 | 546 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 541 | - // 'tab' => 'address', | |
| 542 | 547 | 'dependency' => [ |
| 543 | 548 | 'rules' => [ |
| 544 | 549 | [ |
| 545 | 550 | 'item' => 'general.billing_form.billing_address_1', |
| @@ -557,9 +562,8 @@ | ||
| 557 | 562 | 'billing_city_heading' => [ |
| 558 | 563 | 'id' => 'billing_city_heading', |
| 559 | 564 | 'type' => 'title', |
| 560 | 565 | 'label' => esc_html__( 'Town / City', 'shopbuilder' ), |
| 561 | - // 'tab' => 'city', | |
| 562 | 566 | ], |
| 563 | 567 | 'billing_city' => [ |
| 564 | 568 | 'id' => 'billing_city', |
| 565 | 569 | 'label' => esc_html__( 'Town / City', 'shopbuilder' ), |
| @@ -565,9 +569,8 @@ | ||
| 565 | 569 | 'label' => esc_html__( 'Town / City', 'shopbuilder' ), |
| 566 | 570 | 'type' => 'checkbox', |
| 567 | 571 | 'orientation' => 'vertical', |
| 568 | 572 | 'value' => [ 'show', 'required' ], |
| 569 | - // 'tab' => 'city', | |
| 570 | 573 | 'options' => [ |
| 571 | 574 | [ |
| 572 | 575 | 'value' => 'show', |
| 573 | 576 | 'label' => 'Show Town / City?', |
| @@ -583,9 +586,8 @@ | ||
| 583 | 586 | 'id' => 'billing_city_label', |
| 584 | 587 | 'label' => esc_html__( 'Town / City label', 'shopbuilder' ), |
| 585 | 588 | 'type' => 'text', |
| 586 | 589 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 587 | - // 'tab' => 'city', | |
| 588 | 590 | 'dependency' => [ |
| 589 | 591 | 'rules' => [ |
| 590 | 592 | [ |
| 591 | 593 | 'item' => 'general.billing_form.billing_city', |
| @@ -599,9 +601,8 @@ | ||
| 599 | 601 | 'id' => 'billing_city_placeholder', |
| 600 | 602 | 'label' => esc_html__( 'City placeholder', 'shopbuilder' ), |
| 601 | 603 | 'type' => 'text', |
| 602 | 604 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 603 | - // 'tab' => 'city', | |
| 604 | 605 | 'dependency' => [ |
| 605 | 606 | 'rules' => [ |
| 606 | 607 | [ |
| 607 | 608 | 'item' => 'general.billing_form.billing_city', |
| @@ -614,9 +615,8 @@ | ||
| 614 | 615 | 'billing_state_heading' => [ |
| 615 | 616 | 'id' => 'billing_city_heading', |
| 616 | 617 | 'type' => 'title', |
| 617 | 618 | 'label' => esc_html__( 'State', 'shopbuilder' ), |
| 618 | - // 'tab' => 'state', | |
| 619 | 619 | ], |
| 620 | 620 | 'billing_state' => [ |
| 621 | 621 | 'id' => 'billing_state', |
| 622 | 622 | 'label' => esc_html__( 'State', 'shopbuilder' ), |
| @@ -632,9 +632,8 @@ | ||
| 632 | 632 | 'value' => 'required', |
| 633 | 633 | 'label' => 'Required Field', |
| 634 | 634 | ], |
| 635 | 635 | ], |
| 636 | - // 'tab' => 'state', | |
| 637 | 636 | ], |
| 638 | 637 | |
| 639 | 638 | 'billing_state_label' => [ |
| 640 | 639 | 'id' => 'billing_state_label', |
| @@ -641,9 +640,8 @@ | ||
| 641 | 640 | 'label' => esc_html__( 'State label', 'shopbuilder' ), |
| 642 | 641 | 'type' => 'text', |
| 643 | 642 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 644 | 643 | // 'help' => esc_html__( 'Leave empty to set default. If the Shipping Form is enabled, the State field is mandatory.', 'shopbuilder' ), |
| 645 | - // 'tab' => 'state', | |
| 646 | 644 | 'dependency' => [ |
| 647 | 645 | 'rules' => [ |
| 648 | 646 | [ |
| 649 | 647 | 'item' => 'general.billing_form.billing_state', |
| @@ -656,9 +654,8 @@ | ||
| 656 | 654 | 'billing_postcode_heading' => [ |
| 657 | 655 | 'id' => 'billing_postcode_heading', |
| 658 | 656 | 'type' => 'title', |
| 659 | 657 | 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ), |
| 660 | - // 'tab' => 'postcode', | |
| 661 | 658 | ], |
| 662 | 659 | 'billing_postcode' => [ |
| 663 | 660 | 'id' => 'billing_postcode', |
| 664 | 661 | 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ), |
| @@ -674,9 +671,8 @@ | ||
| 674 | 671 | 'value' => 'required', |
| 675 | 672 | 'label' => 'Required Field', |
| 676 | 673 | ], |
| 677 | 674 | ], |
| 678 | - // 'tab' => 'postcode', | |
| 679 | 675 | ], |
| 680 | 676 | 'billing_postcode_label' => [ |
| 681 | 677 | 'id' => 'billing_postcode_label', |
| 682 | 678 | 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ), |
| @@ -681,9 +677,8 @@ | ||
| 681 | 677 | 'id' => 'billing_postcode_label', |
| 682 | 678 | 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ), |
| 683 | 679 | 'type' => 'text', |
| 684 | 680 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 685 | - // 'tab' => 'postcode', | |
| 686 | 681 | 'dependency' => [ |
| 687 | 682 | 'rules' => [ |
| 688 | 683 | [ |
| 689 | 684 | 'item' => 'general.billing_form.billing_postcode', |
| @@ -697,9 +692,8 @@ | ||
| 697 | 692 | 'id' => 'billing_postcode_placeholder', |
| 698 | 693 | 'label' => esc_html__( 'Postcode / ZIP placeholder', 'shopbuilder' ), |
| 699 | 694 | 'type' => 'text', |
| 700 | 695 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 701 | - // 'tab' => 'postcode', | |
| 702 | 696 | 'dependency' => [ |
| 703 | 697 | 'rules' => [ |
| 704 | 698 | [ |
| 705 | 699 | 'item' => 'general.billing_form.billing_postcode', |
| @@ -712,9 +706,8 @@ | ||
| 712 | 706 | 'billing_phone_heading' => [ |
| 713 | 707 | 'id' => 'billing_phone_heading', |
| 714 | 708 | 'type' => 'title', |
| 715 | 709 | 'label' => esc_html__( 'Phone', 'shopbuilder' ), |
| 716 | - // 'tab' => 'phone', | |
| 717 | 710 | ], |
| 718 | 711 | 'billing_phone' => [ |
| 719 | 712 | 'id' => 'billing_phone', |
| 720 | 713 | 'label' => esc_html__( 'Phone', 'shopbuilder' ), |
| @@ -719,9 +712,8 @@ | ||
| 719 | 712 | 'id' => 'billing_phone', |
| 720 | 713 | 'label' => esc_html__( 'Phone', 'shopbuilder' ), |
| 721 | 714 | 'type' => 'checkbox', |
| 722 | 715 | 'orientation' => 'vertical', |
| 723 | - // 'tab' => 'phone', | |
| 724 | 716 | 'value' => [ |
| 725 | 717 | 'show', |
| 726 | 718 | 'required' === get_option( 'woocommerce_checkout_phone_field', 'required' ) ? 'required' : 'optional', |
| 727 | 719 | ], |
| @@ -741,9 +733,8 @@ | ||
| 741 | 733 | 'id' => 'billing_phone_label', |
| 742 | 734 | 'label' => esc_html__( 'Phone field label', 'shopbuilder' ), |
| 743 | 735 | 'type' => 'text', |
| 744 | 736 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 745 | - // 'tab' => 'phone', | |
| 746 | 737 | 'dependency' => [ |
| 747 | 738 | 'rules' => [ |
| 748 | 739 | [ |
| 749 | 740 | 'item' => 'general.billing_form.billing_phone', |
| @@ -757,9 +748,8 @@ | ||
| 757 | 748 | 'id' => 'billing_phone_placeholder', |
| 758 | 749 | 'label' => esc_html__( 'Phone field placeholder', 'shopbuilder' ), |
| 759 | 750 | 'type' => 'text', |
| 760 | 751 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 761 | - // 'tab' => 'phone', | |
| 762 | 752 | 'dependency' => [ |
| 763 | 753 | 'rules' => [ |
| 764 | 754 | [ |
| 765 | 755 | 'item' => 'general.billing_form.billing_phone', |
| @@ -772,9 +762,8 @@ | ||
| 772 | 762 | 'billing_email_heading' => [ |
| 773 | 763 | 'id' => 'billing_email_heading', |
| 774 | 764 | 'type' => 'title', |
| 775 | 765 | 'label' => esc_html__( 'Email', 'shopbuilder' ), |
| 776 | - // 'tab' => 'email', | |
| 777 | 766 | ], |
| 778 | 767 | 'billing_email' => [ |
| 779 | 768 | 'id' => 'billing_email', |
| 780 | 769 | 'label' => esc_html__( 'Email address', 'shopbuilder' ), |
| @@ -779,9 +768,8 @@ | ||
| 779 | 768 | 'id' => 'billing_email', |
| 780 | 769 | 'label' => esc_html__( 'Email address', 'shopbuilder' ), |
| 781 | 770 | 'type' => 'checkbox', |
| 782 | 771 | 'orientation' => 'vertical', |
| 783 | - // 'tab' => 'email', | |
| 784 | 772 | 'value' => [ 'show', 'required' ], |
| 785 | 773 | 'options' => [ |
| 786 | 774 | [ |
| 787 | 775 | 'value' => 'show', |
| @@ -797,9 +785,8 @@ | ||
| 797 | 785 | 'id' => 'billing_email_label', |
| 798 | 786 | 'label' => esc_html__( 'Email address field label', 'shopbuilder' ), |
| 799 | 787 | 'type' => 'text', |
| 800 | 788 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 801 | - // 'tab' => 'email', | |
| 802 | 789 | 'dependency' => [ |
| 803 | 790 | 'rules' => [ |
| 804 | 791 | [ |
| 805 | 792 | 'item' => 'general.billing_form.billing_email', |
| @@ -813,9 +800,8 @@ | ||
| 813 | 800 | 'id' => 'billing_email_placeholder', |
| 814 | 801 | 'label' => esc_html__( 'Email address field placeholder', 'shopbuilder' ), |
| 815 | 802 | 'type' => 'text', |
| 816 | 803 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 817 | - // 'tab' => 'email', | |
| 818 | 804 | 'dependency' => [ |
| 819 | 805 | 'rules' => [ |
| 820 | 806 | [ |
| 821 | 807 | 'item' => 'general.billing_form.billing_email', |
| @@ -836,17 +822,22 @@ | ||
| 836 | 822 | 'category' => 'checkout', |
| 837 | 823 | 'title' => esc_html__( 'Shipping Form Settings', 'shopbuilder' ), |
| 838 | 824 | 'package' => 'free', |
| 839 | 825 | 'active_field' => [ |
| 840 | - 'label' => esc_html__( 'Enable Shipping form settings?', 'shopbuilder' ), | |
| 841 | - 'help' => esc_html__( 'Switch on to Shipping form settings.', 'shopbuilder' ), | |
| 826 | + 'label' => esc_html__( 'Customize Shipping form Fields?', 'shopbuilder' ), | |
| 827 | + 'help' => esc_html__( 'Switch on to customize shipping form fields.', 'shopbuilder' ), | |
| 842 | 828 | ], |
| 843 | 829 | 'fields' => [ |
| 830 | + 'checkout_shipping_info' => [ | |
| 831 | + 'id' => 'checkout_shipping_info', | |
| 832 | + 'type' => 'title', | |
| 833 | + 'label' => __( 'The below form fields customization will be disabled when the <strong><u>Checkout Fields Editor</u></strong> module is activated.', 'shopbuilder' ), | |
| 834 | + 'customClass' => 'checkout-notice', | |
| 835 | + ], | |
| 844 | 836 | 'shipping_first_name_heading' => [ |
| 845 | 837 | 'id' => 'shipping_first_name_heading', |
| 846 | 838 | 'type' => 'title', |
| 847 | 839 | 'label' => esc_html__( 'First Name', 'shopbuilder' ), |
| 848 | - // 'tab' => 'name', | |
| 849 | 840 | ], |
| 850 | 841 | 'shipping_first_name' => [ |
| 851 | 842 | 'id' => 'shipping_first_name', |
| 852 | 843 | 'label' => esc_html__( 'First name', 'shopbuilder' ), |
| @@ -862,9 +853,8 @@ | ||
| 862 | 853 | 'value' => 'required', |
| 863 | 854 | 'label' => 'Required Field', |
| 864 | 855 | ], |
| 865 | 856 | ], |
| 866 | - // 'tab' => 'name', | |
| 867 | 857 | ], |
| 868 | 858 | 'shipping_first_name_label' => [ |
| 869 | 859 | 'id' => 'shipping_first_name_label', |
| 870 | 860 | 'label' => esc_html__( 'First name Label', 'shopbuilder' ), |
| @@ -869,9 +859,8 @@ | ||
| 869 | 859 | 'id' => 'shipping_first_name_label', |
| 870 | 860 | 'label' => esc_html__( 'First name Label', 'shopbuilder' ), |
| 871 | 861 | 'type' => 'text', |
| 872 | 862 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 873 | - // 'tab' => 'name', | |
| 874 | 863 | 'dependency' => [ |
| 875 | 864 | 'rules' => [ |
| 876 | 865 | [ |
| 877 | 866 | 'item' => 'general.shipping_form.shipping_first_name', |
| @@ -885,9 +874,8 @@ | ||
| 885 | 874 | 'id' => 'shipping_first_name_placeholder', |
| 886 | 875 | 'label' => esc_html__( 'First name Placeholder', 'shopbuilder' ), |
| 887 | 876 | 'type' => 'text', |
| 888 | 877 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 889 | - // 'tab' => 'country', | |
| 890 | 878 | 'dependency' => [ |
| 891 | 879 | 'rules' => [ |
| 892 | 880 | [ |
| 893 | 881 | 'item' => 'general.shipping_form.shipping_first_name', |
| @@ -900,9 +888,8 @@ | ||
| 900 | 888 | 'shipping_first_last_heading' => [ |
| 901 | 889 | 'id' => 'shipping_first_last_heading', |
| 902 | 890 | 'type' => 'title', |
| 903 | 891 | 'label' => esc_html__( 'Last Name', 'shopbuilder' ), |
| 904 | - // 'tab' => 'name', | |
| 905 | 892 | ], |
| 906 | 893 | 'shipping_last_name' => [ |
| 907 | 894 | 'id' => 'shipping_last_name', |
| 908 | 895 | 'label' => esc_html__( 'Last name', 'shopbuilder' ), |
| @@ -918,9 +905,8 @@ | ||
| 918 | 905 | 'value' => 'required', |
| 919 | 906 | 'label' => 'Required Field', |
| 920 | 907 | ], |
| 921 | 908 | ], |
| 922 | - // 'tab' => 'name', | |
| 923 | 909 | ], |
| 924 | 910 | |
| 925 | 911 | 'shipping_last_name_label' => [ |
| 926 | 912 | 'id' => 'shipping_last_name_label', |
| @@ -926,9 +912,8 @@ | ||
| 926 | 912 | 'id' => 'shipping_last_name_label', |
| 927 | 913 | 'label' => esc_html__( 'Last name label', 'shopbuilder' ), |
| 928 | 914 | 'type' => 'text', |
| 929 | 915 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 930 | - // 'tab' => 'name', | |
| 931 | 916 | 'dependency' => [ |
| 932 | 917 | 'rules' => [ |
| 933 | 918 | [ |
| 934 | 919 | 'item' => 'general.shipping_form.shipping_last_name', |
| @@ -942,9 +927,8 @@ | ||
| 942 | 927 | 'id' => 'shipping_last_name_placeholder', |
| 943 | 928 | 'label' => esc_html__( 'Last name Placeholder', 'shopbuilder' ), |
| 944 | 929 | 'type' => 'text', |
| 945 | 930 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 946 | - // 'tab' => 'country', | |
| 947 | 931 | 'dependency' => [ |
| 948 | 932 | 'rules' => [ |
| 949 | 933 | [ |
| 950 | 934 | 'item' => 'general.shipping_form.shipping_last_name', |
| @@ -957,9 +941,8 @@ | ||
| 957 | 941 | 'shipping_company_heading' => [ |
| 958 | 942 | 'id' => 'shipping_company_heading', |
| 959 | 943 | 'type' => 'title', |
| 960 | 944 | 'label' => esc_html__( 'Company', 'shopbuilder' ), |
| 961 | - // 'tab' => 'name', | |
| 962 | 945 | ], |
| 963 | 946 | 'shipping_company' => [ |
| 964 | 947 | 'id' => 'shipping_company', |
| 965 | 948 | 'label' => esc_html__( 'Company name', 'shopbuilder' ), |
| @@ -975,9 +958,8 @@ | ||
| 975 | 958 | 'value' => 'required', |
| 976 | 959 | 'label' => 'Required Field', |
| 977 | 960 | ], |
| 978 | 961 | ], |
| 979 | - // 'tab' => 'company', | |
| 980 | 962 | ], |
| 981 | 963 | |
| 982 | 964 | 'shipping_company_label' => [ |
| 983 | 965 | 'id' => 'shipping_company_label', |
| @@ -983,9 +965,8 @@ | ||
| 983 | 965 | 'id' => 'shipping_company_label', |
| 984 | 966 | 'label' => esc_html__( 'Company label', 'shopbuilder' ), |
| 985 | 967 | 'type' => 'text', |
| 986 | 968 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 987 | - // 'tab' => 'company', | |
| 988 | 969 | 'dependency' => [ |
| 989 | 970 | 'rules' => [ |
| 990 | 971 | [ |
| 991 | 972 | 'item' => 'general.shipping_form.shipping_company', |
| @@ -999,9 +980,8 @@ | ||
| 999 | 980 | 'id' => 'shipping_company_placeholder', |
| 1000 | 981 | 'label' => esc_html__( 'Shipping company Placeholder', 'shopbuilder' ), |
| 1001 | 982 | 'type' => 'text', |
| 1002 | 983 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1003 | - // 'tab' => 'country', | |
| 1004 | 984 | 'dependency' => [ |
| 1005 | 985 | 'rules' => [ |
| 1006 | 986 | [ |
| 1007 | 987 | 'item' => 'general.shipping_form.shipping_company', |
| @@ -1014,9 +994,8 @@ | ||
| 1014 | 994 | 'shipping_country_heading' => [ |
| 1015 | 995 | 'id' => 'shipping_country_heading', |
| 1016 | 996 | 'type' => 'title', |
| 1017 | 997 | 'label' => esc_html__( 'Country', 'shopbuilder' ), |
| 1018 | - // 'tab' => 'name', | |
| 1019 | 998 | ], |
| 1020 | 999 | 'shipping_country' => [ |
| 1021 | 1000 | 'id' => 'shipping_country', |
| 1022 | 1001 | 'label' => esc_html__( 'Country', 'shopbuilder' ), |
| @@ -1034,9 +1013,8 @@ | ||
| 1034 | 1013 | 'label' => 'Required Field', |
| 1035 | 1014 | // 'disabled' => true, |
| 1036 | 1015 | ], |
| 1037 | 1016 | ], |
| 1038 | - // 'tab' => 'country', | |
| 1039 | 1017 | ], |
| 1040 | 1018 | |
| 1041 | 1019 | 'shipping_country_label' => [ |
| 1042 | 1020 | 'id' => 'shipping_country_label', |
| @@ -1056,9 +1034,8 @@ | ||
| 1056 | 1034 | 'shipping_address_1_heading' => [ |
| 1057 | 1035 | 'id' => 'shipping_address_1_heading', |
| 1058 | 1036 | 'type' => 'title', |
| 1059 | 1037 | 'label' => esc_html__( 'Address 1', 'shopbuilder' ), |
| 1060 | - // 'tab' => 'name', | |
| 1061 | 1038 | ], |
| 1062 | 1039 | 'shipping_address_1' => [ |
| 1063 | 1040 | 'id' => 'shipping_address_1', |
| 1064 | 1041 | 'label' => esc_html__( 'Address 1', 'shopbuilder' ), |
| @@ -1074,9 +1051,8 @@ | ||
| 1074 | 1051 | 'value' => 'required', |
| 1075 | 1052 | 'label' => 'Required Field', |
| 1076 | 1053 | ], |
| 1077 | 1054 | ], |
| 1078 | - // 'tab' => 'country', | |
| 1079 | 1055 | ], |
| 1080 | 1056 | |
| 1081 | 1057 | 'shipping_address_1_label' => [ |
| 1082 | 1058 | 'id' => 'shipping_address_1_label', |
| @@ -1082,9 +1058,8 @@ | ||
| 1082 | 1058 | 'id' => 'shipping_address_1_label', |
| 1083 | 1059 | 'label' => esc_html__( 'Address 1 label', 'shopbuilder' ), |
| 1084 | 1060 | 'type' => 'text', |
| 1085 | 1061 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1086 | - // 'tab' => 'country', | |
| 1087 | 1062 | 'dependency' => [ |
| 1088 | 1063 | 'rules' => [ |
| 1089 | 1064 | [ |
| 1090 | 1065 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1098,9 +1073,8 @@ | ||
| 1098 | 1073 | 'id' => 'shipping_address_1_placeholder', |
| 1099 | 1074 | 'label' => esc_html__( 'Address 1 Placeholder', 'shopbuilder' ), |
| 1100 | 1075 | 'type' => 'text', |
| 1101 | 1076 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1102 | - // 'tab' => 'country', | |
| 1103 | 1077 | 'dependency' => [ |
| 1104 | 1078 | 'rules' => [ |
| 1105 | 1079 | [ |
| 1106 | 1080 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1113,9 +1087,8 @@ | ||
| 1113 | 1087 | 'shipping_address_2_heading' => [ |
| 1114 | 1088 | 'id' => 'shipping_address_2_heading', |
| 1115 | 1089 | 'type' => 'title', |
| 1116 | 1090 | 'label' => esc_html__( 'Address 2', 'shopbuilder' ), |
| 1117 | - // 'tab' => 'name', | |
| 1118 | 1091 | 'dependency' => [ |
| 1119 | 1092 | 'rules' => [ |
| 1120 | 1093 | [ |
| 1121 | 1094 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1137,9 +1110,8 @@ | ||
| 1137 | 1110 | 'label' => 'Show Address field?', |
| 1138 | 1111 | ], |
| 1139 | 1112 | ], |
| 1140 | 1113 | 'help' => esc_html__( 'if "Address 1" is hidden then this field also hides.', 'shopbuilder' ), |
| 1141 | - // 'tab' => 'country', | |
| 1142 | 1114 | 'dependency' => [ |
| 1143 | 1115 | 'rules' => [ |
| 1144 | 1116 | [ |
| 1145 | 1117 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1154,9 +1126,8 @@ | ||
| 1154 | 1126 | 'id' => 'shipping_address_2_label', |
| 1155 | 1127 | 'label' => esc_html__( 'Address 2 label', 'shopbuilder' ), |
| 1156 | 1128 | 'type' => 'text', |
| 1157 | 1129 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1158 | - // 'tab' => 'country', | |
| 1159 | 1130 | 'dependency' => [ |
| 1160 | 1131 | 'rules' => [ |
| 1161 | 1132 | [ |
| 1162 | 1133 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1175,9 +1146,8 @@ | ||
| 1175 | 1146 | 'id' => 'shipping_address_2_placeholder', |
| 1176 | 1147 | 'label' => esc_html__( 'Address 2 Placeholder', 'shopbuilder' ), |
| 1177 | 1148 | 'type' => 'text', |
| 1178 | 1149 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1179 | - // 'tab' => 'country', | |
| 1180 | 1150 | 'dependency' => [ |
| 1181 | 1151 | 'rules' => [ |
| 1182 | 1152 | [ |
| 1183 | 1153 | 'item' => 'general.shipping_form.shipping_address_1', |
| @@ -1195,9 +1165,8 @@ | ||
| 1195 | 1165 | 'shipping_city_heading' => [ |
| 1196 | 1166 | 'id' => 'shipping_city_heading', |
| 1197 | 1167 | 'type' => 'title', |
| 1198 | 1168 | 'label' => esc_html__( 'Town / City', 'shopbuilder' ), |
| 1199 | - // 'tab' => 'name', | |
| 1200 | 1169 | ], |
| 1201 | 1170 | 'shipping_city' => [ |
| 1202 | 1171 | 'id' => 'shipping_city', |
| 1203 | 1172 | 'label' => esc_html__( 'Town / City', 'shopbuilder' ), |
| @@ -1213,9 +1182,8 @@ | ||
| 1213 | 1182 | 'value' => 'required', |
| 1214 | 1183 | 'label' => 'Required Field', |
| 1215 | 1184 | ], |
| 1216 | 1185 | ], |
| 1217 | - // 'tab' => 'country', | |
| 1218 | 1186 | ], |
| 1219 | 1187 | 'shipping_city_label' => [ |
| 1220 | 1188 | 'id' => 'shipping_city_label', |
| 1221 | 1189 | 'label' => esc_html__( 'Town / City label', 'shopbuilder' ), |
| @@ -1220,9 +1188,8 @@ | ||
| 1220 | 1188 | 'id' => 'shipping_city_label', |
| 1221 | 1189 | 'label' => esc_html__( 'Town / City label', 'shopbuilder' ), |
| 1222 | 1190 | 'type' => 'text', |
| 1223 | 1191 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1224 | - // 'tab' => 'country', | |
| 1225 | 1192 | 'dependency' => [ |
| 1226 | 1193 | 'rules' => [ |
| 1227 | 1194 | [ |
| 1228 | 1195 | 'item' => 'general.shipping_form.shipping_city', |
| @@ -1236,9 +1203,8 @@ | ||
| 1236 | 1203 | 'id' => 'shipping_city_placeholder', |
| 1237 | 1204 | 'label' => esc_html__( 'Shipping city placeholder', 'shopbuilder' ), |
| 1238 | 1205 | 'type' => 'text', |
| 1239 | 1206 | 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1240 | - // 'tab' => 'country', | |
| 1241 | 1207 | 'dependency' => [ |
| 1242 | 1208 | 'rules' => [ |
| 1243 | 1209 | [ |
| 1244 | 1210 | 'item' => 'general.shipping_form.shipping_city', |
| @@ -1251,9 +1217,8 @@ | ||
| 1251 | 1217 | 'shipping_state_heading' => [ |
| 1252 | 1218 | 'id' => 'shipping_state_heading', |
| 1253 | 1219 | 'type' => 'title', |
| 1254 | 1220 | 'label' => esc_html__( 'Others', 'shopbuilder' ), |
| 1255 | - // 'tab' => 'name', | |
| 1256 | 1221 | ], |
| 1257 | 1222 | 'shipping_state' => [ |
| 1258 | 1223 | 'id' => 'shipping_state', |
| 1259 | 1224 | 'label' => esc_html__( 'State', 'shopbuilder' ), |
| @@ -1269,9 +1234,8 @@ | ||
| 1269 | 1234 | 'value' => 'required', |
| 1270 | 1235 | 'label' => 'Required Field', |
| 1271 | 1236 | ], |
| 1272 | 1237 | ], |
| 1273 | - // 'tab' => 'country', | |
| 1274 | 1238 | ], |
| 1275 | 1239 | // |
| 1276 | 1240 | // 'shipping_state_label' => [ |
| 1277 | 1241 | // 'id' => 'shipping_state_label', |
| @@ -1277,9 +1241,8 @@ | ||
| 1277 | 1241 | // 'id' => 'shipping_state_label', |
| 1278 | 1242 | // 'label' => esc_html__( 'State label', 'shopbuilder' ), |
| 1279 | 1243 | // 'type' => 'text', |
| 1280 | 1244 | // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1281 | - // 'tab' => 'country', | |
| 1282 | 1245 | // 'dependency' => [ |
| 1283 | 1246 | // 'rules' => [ |
| 1284 | 1247 | // [ |
| 1285 | 1248 | // 'item' => 'general.shipping_form.shipping_state', |
| @@ -1292,9 +1255,8 @@ | ||
| 1292 | 1255 | // 'shipping_postcode_heading' => [ |
| 1293 | 1256 | // 'id' => 'shipping_postcode_heading', |
| 1294 | 1257 | // 'type' => 'title', |
| 1295 | 1258 | // 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ), |
| 1296 | - // 'tab' => 'name', | |
| 1297 | 1259 | // ], |
| 1298 | 1260 | 'shipping_postcode' => [ |
| 1299 | 1261 | 'id' => 'shipping_postcode', |
| 1300 | 1262 | 'label' => esc_html__( 'Postcode / ZIP', 'shopbuilder' ), |
| @@ -1306,9 +1268,8 @@ | ||
| 1306 | 1268 | 'value' => 'show', |
| 1307 | 1269 | 'label' => 'Show Postcode / ZIP?', |
| 1308 | 1270 | ], |
| 1309 | 1271 | ], |
| 1310 | - // 'tab' => 'country', | |
| 1311 | 1272 | ], |
| 1312 | 1273 | // 'shipping_postcode_label' => [ |
| 1313 | 1274 | // 'id' => 'shipping_postcode_label', |
| 1314 | 1275 | // 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ), |
| @@ -1313,9 +1274,8 @@ | ||
| 1313 | 1274 | // 'id' => 'shipping_postcode_label', |
| 1314 | 1275 | // 'label' => esc_html__( 'Postcode / ZIP label', 'shopbuilder' ), |
| 1315 | 1276 | // 'type' => 'text', |
| 1316 | 1277 | // 'help' => esc_html__( 'Leave empty to set default. ', 'shopbuilder' ), |
| 1317 | - // 'tab' => 'country', | |
| 1318 | 1278 | // 'dependency' => [ |
| 1319 | 1279 | // 'rules' => [ |
| 1320 | 1280 | // [ |
| 1321 | 1281 | // 'item' => 'general.shipping_form.shipping_postcode', |
| @@ -1329,9 +1289,8 @@ | ||
| 1329 | 1289 | // 'id' => 'shipping_postcode_placeholder', |
| 1330 | 1290 | // 'label' => esc_html__( 'Postcode / ZIP placeholder', 'shopbuilder' ), |
| 1331 | 1291 | // 'type' => 'text', |
| 1332 | 1292 | // 'help' => esc_html__( 'Leave empty to set default.', 'shopbuilder' ), |
| 1333 | - // 'tab' => 'country', | |
| 1334 | 1293 | // 'dependency' => [ |
| 1335 | 1294 | // 'rules' => [ |
| 1336 | 1295 | // [ |
| 1337 | 1296 | // 'item' => 'general.shipping_form.shipping_postcode', |