ProductTranslatableContent Object
Represents product's original translatable fields and related translations.
type ProductTranslatableContent implements Node {
id: ID!
productId: ID!
seoTitle: String
seoDescription: String
slug: String
name: String!
description: JSONString
descriptionJson: JSONString @deprecated
translation(languageCode: LanguageCodeEnum!): ProductTranslation
product: Product @deprecated
attributeValues: [AttributeValueTranslatableContent!]!
}
Fields
ProductTranslatableContent.id
● ID!
non-null scalar miscellaneous
The ID of the product translatable content.
ProductTranslatableContent.productId
● ID!
non-null scalar miscellaneous
The ID of the product to translate.
ProductTranslatableContent.seoTitle
● String
scalar miscellaneous
SEO title to translate.
ProductTranslatableContent.seoDescription
● String
scalar miscellaneous
SEO description to translate.
ProductTranslatableContent.slug
● String
scalar miscellaneous
Slug to translate.
Added in Saleor 3.21ProductTranslatableContent.name
● String!
non-null scalar miscellaneous
Product's name to translate.
ProductTranslatableContent.description
● JSONString
scalar miscellaneous
Product's description to translate.
Rich text format. For reference see https://editorjs.io/
ProductTranslatableContent.descriptionJson
● JSONString
deprecated scalar miscellaneous
This field will be removed in Saleor 4.0. Use the description
field instead.
Description of the product.
Rich text format. For reference see https://editorjs.io/
ProductTranslatableContent.translation
● ProductTranslation
object products
Returns translated product fields for the given language code.
ProductTranslatableContent.translation.languageCode
● LanguageCodeEnum!
non-null enum miscellaneous
A language code to return the translation for product.
ProductTranslatableContent.product
● Product
deprecated object products
This field will be removed in Saleor 4.0. Get model fields from the root level queries.
Represents an individual item for sale in the storefront.
ProductTranslatableContent.attributeValues
● [AttributeValueTranslatableContent!]!
non-null object attributes
List of product attribute values that can be translated.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
ProductTranslation
object
Implemented By
TranslatableItem
union