<?xml version="1.0"?>
<!--
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
-->

<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="attributes" translate="label comment" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0">
        <label>Set default product data</label>
        <frontend_model>WriteTextAI\WriteTextAI\Block\Adminhtml\System\Config\Form\Fieldset</frontend_model>
        <comment>Choose the default product data that will be considered in generating your product text. This includes Attributes, Thumbnail, and optional Product Research. Make sure your selected image accurately represents the product (not a placeholder or generic shop image). While product data helps guide the AI, there is no guarantee that every detail will appear in the final text. Each product can use up to 50 product data fields at no extra cost, with 1 credit added per product for every 100 additional fields. Empty or unused fields are ignored.</comment>
        <field id="attributes" translate="label" type="multiselect" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
            <label>Product attributes</label>
            <source_model>WriteTextAI\WriteTextAI\Model\Config\Source\ProductAttributes</source_model>
            <can_be_empty>1</can_be_empty>
        </field>
    </group>
</include>
    