|
413 | 413 | </depends>
|
414 | 414 | </field>
|
415 | 415 | </group>
|
| 416 | + <group id="settings_paylater_paymentpage" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="40"> |
| 417 | + <label>Checkout Page</label> |
| 418 | + <depends> |
| 419 | + <field id="paylater_enabled">1</field> |
| 420 | + </depends> |
| 421 | + <field id="paylater_paymentpage_display" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="10"> |
| 422 | + <label>Display</label> |
| 423 | + <config_path>payment/paypal_paylater/paymentpage_display</config_path> |
| 424 | + <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
| 425 | + <attribute type="shared">1</attribute> |
| 426 | + </field> |
| 427 | + <field id="paylater_paymentpage_position" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="20"> |
| 428 | + <label>Position</label> |
| 429 | + <config_path>payment/paypal_paylater/paymentpage_position</config_path> |
| 430 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\Position::getPositionsCheckout</source_model> |
| 431 | + <attribute type="shared">1</attribute> |
| 432 | + <depends> |
| 433 | + <field id="paylater_paymentpage_display">1</field> |
| 434 | + </depends> |
| 435 | + </field> |
| 436 | + <field id="paylater_paymentpage_stylelayout" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="30"> |
| 437 | + <label>Style Layout</label> |
| 438 | + <config_path>payment/paypal_paylater/paymentpage_stylelayout</config_path> |
| 439 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\StyleLayout</source_model> |
| 440 | + <attribute type="shared">1</attribute> |
| 441 | + <depends> |
| 442 | + <field id="paylater_paymentpage_display">1</field> |
| 443 | + </depends> |
| 444 | + </field> |
| 445 | + <field id="paylater_paymentpage_logotype" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="40"> |
| 446 | + <label>Logo Type</label> |
| 447 | + <config_path>payment/paypal_paylater/paymentpage_logotype</config_path> |
| 448 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\LogoType</source_model> |
| 449 | + <attribute type="shared">1</attribute> |
| 450 | + <depends> |
| 451 | + <field id="paylater_paymentpage_display">1</field> |
| 452 | + <field id="paylater_paymentpage_stylelayout">text</field> |
| 453 | + </depends> |
| 454 | + </field> |
| 455 | + <field id="paylater_paymentpage_logoposition" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="50"> |
| 456 | + <label>Logo Position</label> |
| 457 | + <config_path>payment/paypal_paylater/paymentpage_logoposition</config_path> |
| 458 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\LogoPosition</source_model> |
| 459 | + <attribute type="shared">1</attribute> |
| 460 | + <depends> |
| 461 | + <field id="paylater_paymentpage_display">1</field> |
| 462 | + <field id="paylater_paymentpage_stylelayout">text</field> |
| 463 | + <field id="paylater_paymentpage_logotype" separator=",">primary,alternative</field> |
| 464 | + </depends> |
| 465 | + </field> |
| 466 | + <field id="paylater_paymentpage_textcolor" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="60"> |
| 467 | + <label>Text Color</label> |
| 468 | + <config_path>payment/paypal_paylater/paymentpage_textcolor</config_path> |
| 469 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\TextColor</source_model> |
| 470 | + <attribute type="shared">1</attribute> |
| 471 | + <depends> |
| 472 | + <field id="paylater_paymentpage_display">1</field> |
| 473 | + <field id="paylater_paymentpage_stylelayout">text</field> |
| 474 | + </depends> |
| 475 | + </field> |
| 476 | + <field id="paylater_paymentpage_textsize" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="70"> |
| 477 | + <label>Text Size</label> |
| 478 | + <config_path>payment/paypal_paylater/paymentpage_textsize</config_path> |
| 479 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\TextSize</source_model> |
| 480 | + <attribute type="shared">1</attribute> |
| 481 | + <depends> |
| 482 | + <field id="paylater_paymentpage_display">1</field> |
| 483 | + <field id="paylater_paymentpage_stylelayout">text</field> |
| 484 | + </depends> |
| 485 | + </field> |
| 486 | + <field id="paylater_paymentpage_ratio" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="80"> |
| 487 | + <label>Ratio</label> |
| 488 | + <config_path>payment/paypal_paylater/paymentpage_ratio</config_path> |
| 489 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\Ratio</source_model> |
| 490 | + <attribute type="shared">1</attribute> |
| 491 | + <depends> |
| 492 | + <field id="paylater_paymentpage_display">1</field> |
| 493 | + <field id="paylater_paymentpage_stylelayout">flex</field> |
| 494 | + </depends> |
| 495 | + </field> |
| 496 | + <field id="paylater_paymentpage_color" translate="label" type="select" showInDefault="1" showInWebsite="1" sortOrder="90"> |
| 497 | + <label>Color</label> |
| 498 | + <config_path>payment/paypal_paylater/paymentpage_color</config_path> |
| 499 | + <source_model>Magento\Paypal\Model\System\Config\Source\PayLater\Color</source_model> |
| 500 | + <attribute type="shared">1</attribute> |
| 501 | + <depends> |
| 502 | + <field id="paylater_paymentpage_display">1</field> |
| 503 | + <field id="paylater_paymentpage_stylelayout">flex</field> |
| 504 | + </depends> |
| 505 | + </field> |
| 506 | + </group> |
416 | 507 | </group>
|
417 | 508 | </group>
|
418 | 509 | <group id="settings_ec" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
|
|
0 commit comments