<?xml version="1.0" ?>
<!--
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes 2022-present. All rights reserved.
 * This product is licensed per Magento install
 * See https://hyva.io/license
 */
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd"
>
    <group id="experimental"
           showInDefault="1"
           showInStore="1"
           showInWebsite="1"
           sortOrder="100"
           translate="label"
    >
        <label>Experimental</label>

        <field id="enable_first_payment_method_available"
               translate="label comment"
               type="select"
               sortOrder="10"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Enable first available payment method automatically</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Automatically selects and enables the first available payment method as the default during checkout. Note: If the first payment method is initialized via JavaScript, this may cause errors in the payment process. If such errors occur, please disable this setting.</comment>
        </field>

        <field id="enable_first_shipping_method_available"
               translate="label comment"
               type="select"
               sortOrder="20"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Enable first available shipping method automatically</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Automatically selects and enables the first available shipping method as the default during checkout. Note: If the first shipping method is initialized via JavaScript, this may cause errors in the shipping process. If such errors occur, please disable this setting.</comment>
        </field>

        <field id="disable_main_evaluation_result_merge"
               translate="label comment"
               type="select"
               sortOrder="30"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Disable Main Evaluation Result Merge</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Enabling this config will disable the results from all nested components, including its own, being merged into the Main component.</comment>
        </field>

        <field id="enable_pre_populate_checkout_name_fields"
               translate="label comment"
               type="select"
               sortOrder="40"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Enable Pre-Populate Checkout Name Fields for Logged In Customers</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <comment>Enabling this config will automatically pre-populate the checkout first and last name fields for logged in customers using their account details.</comment>
        </field>
    </group>
</include>

