mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Composer] Bump doctrine/collections dependency (#17284)
| Q | A |-----------------|----- | Branch? | 2.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | continuation of #17277 | License | MIT <!-- - Bug fixes must be submitted against the 1.13 branch - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html -->
This commit is contained in:
commit
ee56e8bd6b
23 changed files with 107 additions and 221 deletions
|
|
@ -33,7 +33,7 @@
|
|||
"api-platform/core": "^3.4.2",
|
||||
"babdev/pagerfanta-bundle": "^4.4",
|
||||
"behat/transliterator": "^1.5",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"doctrine/common": "^3.2",
|
||||
"doctrine/dbal": "^3.9",
|
||||
"doctrine/doctrine-bundle": "^2.13",
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"knplabs/knp-menu": "^3.5",
|
||||
"knplabs/knp-menu-bundle": "^3.4",
|
||||
"laminas/laminas-stdlib": "^3.19",
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"sylius/registry": "^1.6",
|
||||
"sylius/resource": "^1.12",
|
||||
"symfony/validator": "^6.4 || ^7.1"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"sylius/resource": "^1.12"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"sylius/registry": "^1.6",
|
||||
"sylius/resource": "^1.12"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"sylius/resource": "^1.12"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"doctrine/collections": "^1.8",
|
||||
"doctrine/collections": "^2.2",
|
||||
"sylius/resource": "^1.12",
|
||||
"symfony/polyfill-mbstring": "^1.31",
|
||||
"symfony/security-core": "^6.4 || ^7.1"
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'MUG'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug'
|
||||
options: ['@product_option_color']
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
|
|
@ -27,8 +25,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_blue'
|
||||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_blue_web'
|
||||
|
|
@ -41,8 +37,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
optionValues: ['@product_option_value_color_blue']
|
||||
product: '@product_mug'
|
||||
shippingRequired: false
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_nft'
|
||||
product_variant_free_mug_nft:
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_free_mug_nft_web'
|
||||
|
|
@ -51,8 +45,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
optionValues: ['@product_option_value_color_blue']
|
||||
product: '@product_mug'
|
||||
shippingRequired: false
|
||||
translations:
|
||||
en_US: '@product_variant_translation_free_mug_nft'
|
||||
|
||||
Sylius\Component\Product\Model\ProductVariantTranslation:
|
||||
product_variant_translation_mug_blue:
|
||||
|
|
@ -92,8 +84,6 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ Sylius\Component\Core\Model\Promotion:
|
|||
usageLimit: 1
|
||||
used: 0
|
||||
couponBased: false
|
||||
translations:
|
||||
- '@promotion_50_off_en'
|
||||
actions:
|
||||
- '@action_percentage_discount_50'
|
||||
rules:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ Sylius\Component\Core\Model\CatalogPromotion:
|
|||
name: 'Mugs discount'
|
||||
code: 'mugs_discount'
|
||||
channels: ['@channel_web']
|
||||
translations: ['@catalog_promotion_translation']
|
||||
enabled: true
|
||||
exclusive: false
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,20 @@
|
|||
Sylius\Component\Payment\Model\PaymentMethodTranslation:
|
||||
payment_method_cash_on_delivery_translation:
|
||||
name: 'Cash on delivery'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@payment_method_cash_on_delivery'
|
||||
payment_method_bank_transfer_translation:
|
||||
name: 'Bank transfer'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@payment_method_bank_transfer'
|
||||
disabled_payment_method_translation:
|
||||
name: 'Disabled payment method'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@disabled_payment_method'
|
||||
|
||||
Sylius\Component\Core\Model\PaymentMethod:
|
||||
payment_method_cash_on_delivery:
|
||||
code: 'CASH_ON_DELIVERY'
|
||||
|
|
@ -27,20 +44,3 @@ Sylius\Bundle\PayumBundle\Model\GatewayConfig:
|
|||
gatewayName: 'Offline'
|
||||
factoryName: 'offline'
|
||||
config: []
|
||||
|
||||
Sylius\Component\Payment\Model\PaymentMethodTranslation:
|
||||
payment_method_cash_on_delivery_translation:
|
||||
name: 'Cash on delivery'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@payment_method_cash_on_delivery'
|
||||
payment_method_bank_transfer_translation:
|
||||
name: 'Bank transfer'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@payment_method_bank_transfer'
|
||||
disabled_payment_method_translation:
|
||||
name: 'Disabled payment method'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@disabled_payment_method'
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@ Sylius\Component\Core\Model\Product:
|
|||
mainTaxon: '@taxon_mugs'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug_en_US'
|
||||
pl_PL: '@product_translation_mug_pl_PL'
|
||||
attributes:
|
||||
- '@product_attribute_value_material_en_US'
|
||||
- '@product_attribute_value_material_pl_PL'
|
||||
|
|
@ -16,15 +13,11 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'CAP'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_cap_en_US'
|
||||
options: ['@product_option_color']
|
||||
product_socks:
|
||||
code: 'SOCKS'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_socks_en_US'
|
||||
options: ['@product_option_color']
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
|
|
@ -62,8 +55,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_blue'
|
||||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_mug_blue_web'
|
||||
|
|
@ -72,8 +63,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_RED'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_red'
|
||||
optionValues: ['@product_option_value_color_red']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_mug_red_web'
|
||||
|
|
@ -125,15 +114,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
@ -195,8 +180,6 @@ Sylius\Component\Product\Model\ProductAttribute:
|
|||
code: 'MATERIAL'
|
||||
type: 'text'
|
||||
storageType: 'text'
|
||||
translations:
|
||||
- '@product_attribute_translation_material_en_US'
|
||||
|
||||
Sylius\Component\Product\Model\ProductAttributeValue:
|
||||
product_attribute_value_material_en_US:
|
||||
|
|
@ -245,8 +228,6 @@ Sylius\Component\Product\Model\ProductAssociation:
|
|||
Sylius\Component\Product\Model\ProductAssociationType:
|
||||
product_association_type:
|
||||
code: 'similar_products'
|
||||
translations:
|
||||
en_US: '@product_association_type_translation'
|
||||
|
||||
Sylius\Component\Product\Model\ProductAssociationTypeTranslation:
|
||||
product_association_type_translation:
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
Sylius\Component\Product\Model\ProductOption:
|
||||
product_option_color:
|
||||
code: 'COLOR'
|
||||
translations:
|
||||
- '@product_option_translation_color'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionTranslation:
|
||||
product_option_translation_color:
|
||||
|
|
@ -16,15 +14,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
|
|||
|
|
@ -4,16 +4,6 @@ Sylius\Component\Core\Model\Product:
|
|||
currentLocale: en
|
||||
code: 'MUG_SW'
|
||||
|
||||
Sylius\Component\Product\Model\ProductVariantTranslation:
|
||||
product_variant_translation:
|
||||
name: 'Mug'
|
||||
locale: en_US
|
||||
translatable: '@product_variant'
|
||||
product_variant_2_translation:
|
||||
name: 'Mug 2'
|
||||
locale: en_US
|
||||
translatable: '@product_variant_2'
|
||||
|
||||
Sylius\Component\Core\Model\ProductVariant:
|
||||
product_variant:
|
||||
code: 'MUG'
|
||||
|
|
@ -25,8 +15,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
channel_web: '@product_variant_channel_web_pricing'
|
||||
translations:
|
||||
- '@product_variant_translation'
|
||||
enabled: true
|
||||
tracked: true
|
||||
onHold: 0
|
||||
|
|
@ -46,8 +34,16 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
position: 2
|
||||
channelPricings:
|
||||
channel_web: '@product_variant_2_channel_web_pricing'
|
||||
translations:
|
||||
- '@product_variant_2_translation'
|
||||
|
||||
Sylius\Component\Product\Model\ProductVariantTranslation:
|
||||
product_variant_translation:
|
||||
name: 'Mug'
|
||||
locale: en_US
|
||||
translatable: '@product_variant'
|
||||
product_variant_2_translation:
|
||||
name: 'Mug 2'
|
||||
locale: en_US
|
||||
translatable: '@product_variant_2'
|
||||
|
||||
Sylius\Component\Core\Model\ChannelPricing:
|
||||
product_variant_channel_web_pricing:
|
||||
|
|
@ -61,8 +57,6 @@ Sylius\Component\Product\Model\ProductOption:
|
|||
product_option_color:
|
||||
code: 'COLOR'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
- '@product_option_translation_en_EN'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionTranslation:
|
||||
product_option_translation_en_EN:
|
||||
|
|
@ -76,15 +70,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'MUG'
|
||||
channels: ['@channel_home', '@channel_fashion']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug'
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
product_translation_mug:
|
||||
|
|
@ -55,8 +53,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_blue'
|
||||
channelPricings:
|
||||
HOME: '@channel_pricing_product_variant_mug_blue_home'
|
||||
FASHION: '@channel_pricing_product_variant_mug_blue_fashion'
|
||||
|
|
@ -65,8 +61,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_RED'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_red'
|
||||
channelPricings:
|
||||
HOME: '@channel_pricing_product_variant_mug_red_home'
|
||||
FASHION: '@channel_pricing_product_variant_mug_red_fashion'
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'MUG'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug'
|
||||
options: ['@product_option_color']
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
|
|
@ -45,18 +43,13 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_blue'
|
||||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_blue_web'
|
||||
|
||||
product_variant_mug_red:
|
||||
code: 'MUG_RED'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_translation_mug_red'
|
||||
optionValues: ['@product_option_value_color_red']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_red_web'
|
||||
|
|
@ -90,15 +83,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
|
|||
|
|
@ -28,17 +28,11 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'MUG'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug_en_US'
|
||||
pl_PL: '@product_translation_mug_pl_PL'
|
||||
de_DE: '@product_translation_mug_de_DE'
|
||||
options: ['@product_option_color']
|
||||
product_cup:
|
||||
code: 'CUP'
|
||||
channels: [ '@channel_web' ]
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_cup_en_US'
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
product_translation_mug_en_US:
|
||||
|
|
@ -75,9 +69,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_mug_blue_translation_en_EN'
|
||||
pl_PL: '@product_variant_mug_blue_translation_pl_PL'
|
||||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_blue_web'
|
||||
|
|
@ -86,9 +77,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_RED'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_mug_red_translation_en_EN'
|
||||
pl_PL: '@product_variant_mug_red_translation_pl_PL'
|
||||
optionValues: ['@product_option_value_color_red']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_red_web'
|
||||
|
|
@ -124,8 +112,6 @@ Sylius\Component\Product\Model\ProductOption:
|
|||
product_option_color:
|
||||
code: 'COLOR'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
- '@product_option_translation_en_EN'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionTranslation:
|
||||
product_option_translation_en_EN:
|
||||
|
|
@ -139,15 +125,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
@ -168,8 +150,6 @@ Sylius\Component\Product\Model\ProductAssociation:
|
|||
Sylius\Component\Product\Model\ProductAssociationType:
|
||||
product_association_type:
|
||||
code: 'similar_products'
|
||||
translations:
|
||||
en_US: '@product_association_type_translation'
|
||||
|
||||
Sylius\Component\Product\Model\ProductAssociationTypeTranslation:
|
||||
product_association_type_translation:
|
||||
|
|
|
|||
|
|
@ -24,27 +24,19 @@ Sylius\Component\Core\Model\Product:
|
|||
code: 'MUG'
|
||||
channels: ['@channel_web']
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_mug_en_US'
|
||||
options: ['@product_option_color']
|
||||
product_cup:
|
||||
code: 'CUP'
|
||||
channels: [ '@channel_web' ]
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_cup_en_US'
|
||||
product_tankard:
|
||||
code: 'TANKARD'
|
||||
channels: [ '@channel_web' ]
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_tankard_en_US'
|
||||
product_hat:
|
||||
code: 'HAT'
|
||||
channels: [ '@channel_web' ]
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_translation_hat_en_US'
|
||||
enabled: false
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
|
|
@ -82,8 +74,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_BLUE'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_mug_blue_translation_en_EN'
|
||||
optionValues: ['@product_option_value_color_blue']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_blue_web'
|
||||
|
|
@ -92,8 +82,6 @@ Sylius\Component\Core\Model\ProductVariant:
|
|||
code: 'MUG_RED'
|
||||
product: '@product_mug'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
en_US: '@product_variant_mug_red_translation_en_EN'
|
||||
optionValues: ['@product_option_value_color_red']
|
||||
channelPricings:
|
||||
WEB: '@channel_pricing_product_variant_mug_red_web'
|
||||
|
|
@ -121,8 +109,6 @@ Sylius\Component\Product\Model\ProductOption:
|
|||
product_option_color:
|
||||
code: 'COLOR'
|
||||
currentLocale: 'en_US'
|
||||
translations:
|
||||
- '@product_option_translation_en_EN'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionTranslation:
|
||||
product_option_translation_en_EN:
|
||||
|
|
@ -136,15 +122,11 @@ Sylius\Component\Product\Model\ProductOptionValue:
|
|||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_blue'
|
||||
product_option_value_color_red:
|
||||
code: 'COLOR_RED'
|
||||
currentLocale: 'en_US'
|
||||
fallbackLocale: 'en_US'
|
||||
option: '@product_option_color'
|
||||
translations:
|
||||
- '@product_option_value_translation_red'
|
||||
|
||||
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
||||
product_option_value_translation_blue:
|
||||
|
|
@ -169,12 +151,8 @@ Sylius\Component\Product\Model\ProductAssociation:
|
|||
Sylius\Component\Product\Model\ProductAssociationType:
|
||||
product_association_type:
|
||||
code: 'similar_products'
|
||||
translations:
|
||||
en_US: '@product_association_type_translation'
|
||||
another_product_association_type:
|
||||
code: 'another_similar_products'
|
||||
translations:
|
||||
en_US: '@another_product_association_type_translation'
|
||||
|
||||
Sylius\Component\Product\Model\ProductAssociationTypeTranslation:
|
||||
product_association_type_translation:
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ Sylius\Component\Core\Model\Promotion:
|
|||
usageLimit: 1
|
||||
used: 0
|
||||
couponBased: false
|
||||
translations:
|
||||
- '@promotion_50_off_en'
|
||||
promotion_1_off:
|
||||
code: 'dollar_off'
|
||||
name: '1 dollar off each item'
|
||||
|
|
@ -21,8 +19,6 @@ Sylius\Component\Core\Model\Promotion:
|
|||
exclusive: false
|
||||
appliesToDiscounted: true
|
||||
couponBased: true
|
||||
translations:
|
||||
- '@promotion_1_off_en'
|
||||
promotion_back_to_school:
|
||||
code: 'back_to_school'
|
||||
name: 'Back to school'
|
||||
|
|
@ -33,8 +29,6 @@ Sylius\Component\Core\Model\Promotion:
|
|||
appliesToDiscounted: true
|
||||
couponBased: false
|
||||
archivedAt: <dateTimeBetween('-1 month', 'now')>
|
||||
translations:
|
||||
- '@promotion_back_to_school_en'
|
||||
|
||||
Sylius\Component\Promotion\Model\PromotionTranslation:
|
||||
promotion_50_off_en:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,20 @@
|
|||
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'
|
||||
shipping_method_translation_fedex:
|
||||
name: 'FedEx'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@shipping_method_fedex'
|
||||
|
||||
Sylius\Component\Core\Model\ShippingMethod:
|
||||
shipping_method_ups:
|
||||
code: 'UPS'
|
||||
|
|
@ -39,23 +56,6 @@ Sylius\Component\Core\Model\ShippingMethod:
|
|||
translations: ["@shipping_method_translation_fedex"]
|
||||
channels: ["@channel_mobile"]
|
||||
|
||||
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'
|
||||
shipping_method_translation_fedex:
|
||||
name: 'FedEx'
|
||||
locale: 'en_US'
|
||||
description: '<paragraph(2)>'
|
||||
translatable: '@shipping_method_fedex'
|
||||
|
||||
Sylius\Component\Addressing\Model\ZoneMember:
|
||||
zone_member_{US, FR, DE}:
|
||||
code: '<current()>'
|
||||
|
|
|
|||
|
|
@ -2,14 +2,13 @@ Sylius\Component\Core\Model\Product:
|
|||
product:
|
||||
code: 'PRODUCT'
|
||||
channels: ['@channel_web']
|
||||
translations:
|
||||
en_US: '@product_translation'
|
||||
|
||||
Sylius\Component\Core\Model\ProductTranslation:
|
||||
product_translation:
|
||||
slug: 'product'
|
||||
locale: 'en_US'
|
||||
name: 'Product'
|
||||
translatable: '@product'
|
||||
|
||||
Sylius\Component\Core\Model\ProductVariant:
|
||||
product_variant_that_costs_1000:
|
||||
|
|
|
|||
|
|
@ -33,53 +33,6 @@ Sylius\Component\Locale\Model\Locale:
|
|||
locale_pl_pl:
|
||||
code: pl_PL
|
||||
|
||||
Sylius\Component\Core\Model\Taxon:
|
||||
category_taxon:
|
||||
code: "CATEGORY"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_category_translation"]
|
||||
images: ["@category_taxon_thumbnail"]
|
||||
children: ["@mug_taxon", "@hat_taxon", "@t_shirt_taxon"]
|
||||
mug_taxon:
|
||||
code: "MUG"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_mug_taxon_translation", "@de_de_mug_taxon_translation"]
|
||||
parent: "@category_taxon"
|
||||
position: 0
|
||||
hat_taxon:
|
||||
code: "HAT"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_hat_translation", "@de_de_hat_translation"]
|
||||
parent: "@category_taxon"
|
||||
position: 1
|
||||
t_shirt_taxon:
|
||||
code: "T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_t_shirt_taxon_translation", "@de_de_t_shirt_taxon_translation"]
|
||||
images: ["@t_shirt_taxon_thumbnail"]
|
||||
children: ["@men_t_shirt_taxon", "@women_t_shirt_taxon"]
|
||||
parent: "@category_taxon"
|
||||
position: 2
|
||||
men_t_shirt_taxon:
|
||||
code: "MEN_T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_men_t_shirt_translation", "@de_de_men_t_shirt_translation"]
|
||||
parent: "@t_shirt_taxon"
|
||||
women_t_shirt_taxon:
|
||||
code: "WOMEN_T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_women_t_shirt_translation", "@de_de_women_t_shirt_translation"]
|
||||
parent: "@t_shirt_taxon"
|
||||
enabled: false
|
||||
brand_taxon:
|
||||
code: "BRAND"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_brand_translation", "@de_de_brand_translation"]
|
||||
yet_another_taxon:
|
||||
code: "de?lol=xd#boom"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_yet_another_taxon_translation"]
|
||||
|
||||
Sylius\Component\Taxonomy\Model\TaxonTranslation:
|
||||
en_us_category_translation:
|
||||
slug: "categories"
|
||||
|
|
@ -164,6 +117,53 @@ Sylius\Component\Taxonomy\Model\TaxonTranslation:
|
|||
description: "Einige Beschreibung Lorem ipsum dolor sit amet."
|
||||
translatable: "@brand_taxon"
|
||||
|
||||
Sylius\Component\Core\Model\Taxon:
|
||||
category_taxon:
|
||||
code: "CATEGORY"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_category_translation"]
|
||||
images: ["@category_taxon_thumbnail"]
|
||||
children: ["@mug_taxon", "@hat_taxon", "@t_shirt_taxon"]
|
||||
mug_taxon:
|
||||
code: "MUG"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_mug_taxon_translation", "@de_de_mug_taxon_translation"]
|
||||
parent: "@category_taxon"
|
||||
position: 0
|
||||
hat_taxon:
|
||||
code: "HAT"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_hat_translation", "@de_de_hat_translation"]
|
||||
parent: "@category_taxon"
|
||||
position: 1
|
||||
t_shirt_taxon:
|
||||
code: "T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_t_shirt_taxon_translation", "@de_de_t_shirt_taxon_translation"]
|
||||
images: ["@t_shirt_taxon_thumbnail"]
|
||||
children: ["@men_t_shirt_taxon", "@women_t_shirt_taxon"]
|
||||
parent: "@category_taxon"
|
||||
position: 2
|
||||
men_t_shirt_taxon:
|
||||
code: "MEN_T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_men_t_shirt_translation", "@de_de_men_t_shirt_translation"]
|
||||
parent: "@t_shirt_taxon"
|
||||
women_t_shirt_taxon:
|
||||
code: "WOMEN_T_SHIRTS"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_women_t_shirt_translation", "@de_de_women_t_shirt_translation"]
|
||||
parent: "@t_shirt_taxon"
|
||||
enabled: false
|
||||
brand_taxon:
|
||||
code: "BRAND"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_brand_translation", "@de_de_brand_translation"]
|
||||
yet_another_taxon:
|
||||
code: "de?lol=xd#boom"
|
||||
currentLocale: "en_US"
|
||||
translations: ["@en_us_yet_another_taxon_translation"]
|
||||
|
||||
Sylius\Component\Core\Model\TaxonImage:
|
||||
category_taxon_thumbnail:
|
||||
type: "thumbnail"
|
||||
|
|
|
|||
|
|
@ -11,14 +11,6 @@
|
|||
"originalPrice": null,
|
||||
"loggedAt": "@date@"
|
||||
},
|
||||
{
|
||||
"@id": "\/api\/v2\/admin\/channel-pricing-log-entries\/@integer@",
|
||||
"@type": "ChannelPricingLogEntry",
|
||||
"channelPricing": "\/api\/v2\/admin\/product-variants\/@string@\/channel-pricings\/@string@",
|
||||
"price": 1000,
|
||||
"originalPrice": 2000,
|
||||
"loggedAt": "@date@"
|
||||
},
|
||||
{
|
||||
"@id": "\/api\/v2\/admin\/channel-pricing-log-entries\/@integer@",
|
||||
"@type": "ChannelPricingLogEntry",
|
||||
|
|
@ -34,6 +26,14 @@
|
|||
"price": 2000,
|
||||
"originalPrice": null,
|
||||
"loggedAt": "@date@"
|
||||
},
|
||||
{
|
||||
"@id": "\/api\/v2\/admin\/channel-pricing-log-entries\/@integer@",
|
||||
"@type": "ChannelPricingLogEntry",
|
||||
"channelPricing": "\/api\/v2\/admin\/product-variants\/@string@\/channel-pricings\/@string@",
|
||||
"price": 1000,
|
||||
"originalPrice": 2000,
|
||||
"loggedAt": "@date@"
|
||||
}
|
||||
],
|
||||
"hydra:totalItems": 4,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue