mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
236 lines
7 KiB
YAML
236 lines
7 KiB
YAML
Sylius\Component\Core\Model\Product:
|
|
product_mug:
|
|
code: 'MUG'
|
|
enabled: true
|
|
options: ['@product_option_color']
|
|
mainTaxon: '@taxon_mugs'
|
|
channels: ['@channel_web']
|
|
currentLocale: 'en_US'
|
|
attributes:
|
|
- '@product_attribute_value_material_en_US'
|
|
- '@product_attribute_value_material_pl_PL'
|
|
product_cap:
|
|
code: 'CAP'
|
|
channels: ['@channel_web']
|
|
currentLocale: 'en_US'
|
|
options: ['@product_option_color']
|
|
product_socks:
|
|
code: 'SOCKS'
|
|
channels: ['@channel_web']
|
|
currentLocale: 'en_US'
|
|
options: ['@product_option_color']
|
|
|
|
Sylius\Component\Core\Model\ProductTranslation:
|
|
product_translation_mug_en_US:
|
|
locale: 'en_US'
|
|
translatable: '@product_mug'
|
|
slug: 'mug'
|
|
name: 'Mug'
|
|
description: 'This is a mug'
|
|
shortDescription: 'Short mug description'
|
|
metaKeywords: 'mug'
|
|
metaDescription: 'Mug description'
|
|
product_translation_mug_pl_PL:
|
|
locale: 'pl_PL'
|
|
translatable: '@product_mug'
|
|
slug: 'kubek'
|
|
name: 'Kubek'
|
|
description: 'To jest kubek'
|
|
shortDescription: 'Krótki opis kubka'
|
|
metaKeywords: 'kubek'
|
|
metaDescription: 'Opis kubka'
|
|
product_translation_cap_en_US:
|
|
locale: 'en_US'
|
|
translatable: '@product_cap'
|
|
slug: 'cap'
|
|
name: 'Cap'
|
|
product_translation_socks_en_US:
|
|
locale: 'en_US'
|
|
translatable: '@product_socks'
|
|
slug: 'socks'
|
|
name: 'Socks'
|
|
|
|
Sylius\Component\Core\Model\ProductVariant:
|
|
product_variant_mug_blue:
|
|
code: 'MUG_BLUE'
|
|
product: '@product_mug'
|
|
currentLocale: 'en_US'
|
|
optionValues: ['@product_option_value_color_blue']
|
|
channelPricings:
|
|
WEB: '@channel_pricing_mug_blue_web'
|
|
MOBILE: '@channel_pricing_mug_blue_mobile'
|
|
product_variant_mug_red:
|
|
code: 'MUG_RED'
|
|
product: '@product_mug'
|
|
currentLocale: 'en_US'
|
|
optionValues: ['@product_option_value_color_red']
|
|
channelPricings:
|
|
WEB: '@channel_pricing_mug_red_web'
|
|
MOBILE: '@channel_pricing_mug_red_mobile'
|
|
product_variant_cap_red:
|
|
code: 'CAP_RED'
|
|
product: '@product_cap'
|
|
currentLocale: 'en_US'
|
|
optionValues: ['@product_option_value_color_red']
|
|
channelPricings:
|
|
WEB: '@channel_pricing_cap_red_web'
|
|
|
|
Sylius\Component\Product\Model\ProductVariantTranslation:
|
|
product_variant_translation_mug_blue:
|
|
locale: 'en_US'
|
|
name: 'Blue Mug'
|
|
translatable: '@product_variant_mug_blue'
|
|
product_variant_translation_mug_red:
|
|
locale: 'en_US'
|
|
name: 'Red Mug'
|
|
translatable: '@product_variant_mug_red'
|
|
|
|
Sylius\Component\Core\Model\ChannelPricing:
|
|
channel_pricing_mug_blue_web:
|
|
channelCode: 'WEB'
|
|
price: 2000
|
|
originalPrice: 3000
|
|
channel_pricing_mug_red_web:
|
|
channelCode: 'WEB'
|
|
price: 2000
|
|
channel_pricing_mug_blue_mobile:
|
|
channelCode: 'MOBILE'
|
|
price: 2500
|
|
originalPrice: 3500
|
|
channel_pricing_mug_red_mobile:
|
|
channelCode: 'MOBILE'
|
|
price: 2500
|
|
channel_pricing_cap_red_web:
|
|
channelCode: 'WEB'
|
|
price: 2000
|
|
|
|
Sylius\Component\Product\Model\ProductOption:
|
|
product_option_color:
|
|
code: 'COLOR'
|
|
|
|
Sylius\Component\Product\Model\ProductOptionValue:
|
|
product_option_value_color_blue:
|
|
code: 'COLOR_BLUE'
|
|
currentLocale: 'en_US'
|
|
fallbackLocale: 'en_US'
|
|
option: '@product_option_color'
|
|
product_option_value_color_red:
|
|
code: 'COLOR_RED'
|
|
currentLocale: 'en_US'
|
|
fallbackLocale: 'en_US'
|
|
option: '@product_option_color'
|
|
|
|
Sylius\Component\Product\Model\ProductOptionValueTranslation:
|
|
product_option_value_translation_blue:
|
|
locale: 'en_US'
|
|
value: 'Blue'
|
|
translatable: '@product_option_value_color_blue'
|
|
product_option_value_translation_red:
|
|
locale: 'en_US'
|
|
value: 'Red'
|
|
translatable: '@product_option_value_color_red'
|
|
|
|
Sylius\Component\Core\Model\Taxon:
|
|
taxon_mugs:
|
|
code: 'MUGS'
|
|
taxon_caps:
|
|
code: 'CAPS'
|
|
|
|
Sylius\Component\Core\Model\ProductTaxon:
|
|
product_taxon:
|
|
product: '@product_mug'
|
|
taxon: '@taxon_mugs'
|
|
position: 0
|
|
|
|
Sylius\Component\Core\Model\ProductReview:
|
|
product_review_1:
|
|
title: 'The best mug'
|
|
rating: 5
|
|
comment: 'The best mug'
|
|
author: '@customer'
|
|
status: 'new'
|
|
reviewSubject: '@product_mug'
|
|
product_review_2:
|
|
title: 'Good mug'
|
|
rating: 4
|
|
comment: 'Good mug'
|
|
author: '@customer'
|
|
status: 'accepted'
|
|
reviewSubject: '@product_mug'
|
|
product_review_3:
|
|
title: 'Bad mug'
|
|
rating: 1
|
|
comment: 'Bad mug'
|
|
author: '@customer'
|
|
status: 'rejected'
|
|
reviewSubject: '@product_mug'
|
|
|
|
Sylius\Component\Core\Model\Customer:
|
|
customer:
|
|
firstName: 'John'
|
|
lastName: 'Doe'
|
|
email: 'john.doe@example.com'
|
|
emailCanonical: 'john.doe@example.com'
|
|
|
|
Sylius\Component\Product\Model\ProductAttribute:
|
|
product_attribute_material:
|
|
translatable: true
|
|
fallbackLocale: 'en_US'
|
|
currentLocale: 'en_US'
|
|
code: 'MATERIAL'
|
|
type: 'text'
|
|
storageType: 'text'
|
|
|
|
Sylius\Component\Product\Model\ProductAttributeValue:
|
|
product_attribute_value_material_en_US:
|
|
localeCode: 'en_US'
|
|
product: '@product_mug'
|
|
attribute: '@product_attribute_material'
|
|
value: 'Ceramic'
|
|
product_attribute_value_material_pl_PL:
|
|
localeCode: 'pl_PL'
|
|
product: '@product_mug'
|
|
attribute: '@product_attribute_material'
|
|
value: 'Ceramika'
|
|
|
|
Sylius\Component\Product\Model\ProductAttributeTranslation:
|
|
product_attribute_translation_material_en_US:
|
|
locale: 'en_US'
|
|
name: 'Mug material'
|
|
translatable: '@product_attribute_material'
|
|
|
|
Sylius\Component\Core\Model\ProductImage:
|
|
product_mug_thumbnail:
|
|
type: 'thumbnail'
|
|
path: 'product.jpg'
|
|
owner: '@product_mug'
|
|
|
|
Sylius\Component\Core\Model\Order:
|
|
cart_with_items:
|
|
channel: '@channel_web'
|
|
items: ['@order_item']
|
|
currencyCode: 'USD'
|
|
localeCode: 'en_US'
|
|
customer: '@customer'
|
|
state: 'cart'
|
|
|
|
Sylius\Component\Core\Model\OrderItem:
|
|
order_item:
|
|
variant: '@product_variant_cap_red'
|
|
order: '@cart_with_items'
|
|
|
|
Sylius\Component\Product\Model\ProductAssociation:
|
|
product_association:
|
|
type: '@product_association_type'
|
|
owner: '@product_mug'
|
|
associatedProducts: ['@product_cap']
|
|
|
|
Sylius\Component\Product\Model\ProductAssociationType:
|
|
product_association_type:
|
|
code: 'similar_products'
|
|
|
|
Sylius\Component\Product\Model\ProductAssociationTypeTranslation:
|
|
product_association_type_translation:
|
|
name: 'Similar products'
|
|
locale: 'en_US'
|
|
translatable: '@product_association_type'
|