Files
2026-09-15 10:26:34 +08:00

54 lines
3.2 KiB
XML

<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<section id="catalog" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
<group id="product_settings" translate="label" type="text" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1">
<label>产品设置</label>
<field id="not_for_sell" translate="label comment" type="textarea" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>询价产品SKU</label>
<comment>请输入主产品的sku,每个sku之间用英文逗号(,)隔开</comment>
</field>
<field id="no_price_sku" translate="label comment" type="textarea" sortOrder="11" showInDefault="1" showInWebsite="1" showInStore="1">
<label>无价格产品SKU</label>
<comment>请输入主产品的sku,每个sku之间用英文逗号(,)隔开</comment>
</field>
<field id="sample_pack_category_id" translate="label comment" type="text" sortOrder="11" showInDefault="1" showInWebsite="1" showInStore="1">
<label>试用装分类id</label>
</field>
<field id="show_search_category_id" translate="label comment" type="text" sortOrder="11" showInDefault="1" showInWebsite="1" showInStore="1">
<label>在分类页面内显示搜索的id</label>
<comment>每个id之间用英文逗号(,)隔开</comment>
</field>
</group>
</section>
<section id="stemcell_web" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
<class>separator-top</class>
<label>Web配置</label>
<tab>stemcell</tab>
<resource>Stemcell_Commerce::config</resource>
<group id="wenjuanxing" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>问卷星</label>
<field id="enquiry_url" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>询价跳转URL</label>
<comment>例如:https://www.wjx.cn/vm/Q0SVHCr.aspx,不包含URL中携带的参数</comment>
</field>
</group>
<group id="catalog" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>产品相关配置</label>
<field id="stock_check_group" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>只能查看库存的用户组</label>
<source_model>Magento\Customer\Model\Config\Source\Group</source_model>
</field>
</group>
</section>
</system>
</config>