Sylius 添加新区域范围
Sylius add new zone scope
我正在使用 Sylius v1.4.7 框架,我想在区域形式的选择列表中添加一个新范围,但我不知道该怎么做。你能帮帮我吗?
我重写了这个 class ZoneChoiceType 但是没有用,我在范围 select input
中仍然有默认值
这是 form customization 的指南。
自定义的正确类型是 Sylius\Bundle\AddressingBundle\Form\Type\ZoneTypeChoiceType
或 Sylius\Bundle\AddressingBundle\Form\Type\ZoneType
您还可以use configuration添加新范围。
我正在使用 Sylius v1.4.7 框架,我想在区域形式的选择列表中添加一个新范围,但我不知道该怎么做。你能帮帮我吗?
我重写了这个 class ZoneChoiceType 但是没有用,我在范围 select input
中仍然有默认值这是 form customization 的指南。
自定义的正确类型是 Sylius\Bundle\AddressingBundle\Form\Type\ZoneTypeChoiceType
或 Sylius\Bundle\AddressingBundle\Form\Type\ZoneType
您还可以use configuration添加新范围。