mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
Sylius\Component\Core\Model\ShippingMethod:
|
|
shipping_method_ups:
|
|
code: 'UPS'
|
|
enabled: true
|
|
calculator: 'flat_rate'
|
|
configuration:
|
|
WEB:
|
|
amount: 500
|
|
MOBILE:
|
|
amount: 1000
|
|
zone: '@zone_world'
|
|
currentLocale: 'en_US'
|
|
translations: ["@shipping_method_translation_ups"]
|
|
channels: ["@channel_web"]
|
|
shipping_method_dhl:
|
|
code: 'DHL'
|
|
enabled: true
|
|
calculator: 'flat_rate'
|
|
configuration:
|
|
WEB:
|
|
amount: 1000
|
|
MOBILE:
|
|
amount: 2000
|
|
zone: '@zone_world'
|
|
currentLocale: 'en_US'
|
|
translations: ["@shipping_method_translation_dhl"]
|
|
channels: ["@channel_web"]
|
|
|
|
Sylius\Component\Shipping\Model\ShippingMethodTranslation:
|
|
shipping_method_translation_ups:
|
|
name: 'UPS'
|
|
locale: 'en_US'
|
|
description: '<paragraph(2)>'
|
|
translatable: '@shipping_method_ups'
|
|
shipping_method_translation_dhl:
|
|
name: 'DHL'
|
|
locale: 'en_US'
|
|
description: '<paragraph(2)>'
|
|
translatable: '@shipping_method_dhl'
|
|
|
|
Sylius\Component\Addressing\Model\ZoneMember:
|
|
zone_member_{US, FR, DE}:
|
|
code: '<current()>'
|
|
|
|
Sylius\Component\Addressing\Model\Zone:
|
|
zone_world:
|
|
code: 'WORLD'
|
|
name: 'World'
|
|
type: 'country'
|
|
members: ['@zone_member_US', '@zone_member_FR', '@zone_member_DE']
|