Skip to main content

CollectionTranslatableContent

Represents collection's original translatable fields and related translations.

type CollectionTranslatableContent implements Node {
id: ID!
collectionId: ID!
seoTitle: String
seoDescription: String
name: String!
description: JSONString
descriptionJson: JSONString @deprecated
translation(languageCode: LanguageCodeEnum!): CollectionTranslation
collection: Collection @deprecated
}

Fields

CollectionTranslatableContent.id ● ID! non-null scalar miscellaneous

The ID of the collection translatable content.

CollectionTranslatableContent.collectionId ● ID! non-null scalar miscellaneous

The ID of the collection to translate.

Added in Saleor 3.14

CollectionTranslatableContent.seoTitle ● String scalar miscellaneous

SEO title to translate.

CollectionTranslatableContent.seoDescription ● String scalar miscellaneous

SEO description to translate.

CollectionTranslatableContent.name ● String! non-null scalar miscellaneous

Collection's name to translate.

CollectionTranslatableContent.description ● JSONString scalar miscellaneous

Collection's description to translate.

Rich text format. For reference see https://editorjs.io/

CollectionTranslatableContent.descriptionJson ● JSONString deprecated scalar miscellaneous

DEPRECATED

This field will be removed in Saleor 4.0. Use the description field instead.

Description of the collection.

Rich text format. For reference see https://editorjs.io/

CollectionTranslatableContent.translation ● CollectionTranslation object products

Returns translated collection fields for the given language code.

CollectionTranslatableContent.translation.languageCode ● LanguageCodeEnum! non-null enum miscellaneous

A language code to return the translation for collection.

CollectionTranslatableContent.collection ● Collection deprecated object products

DEPRECATED

This field will be removed in Saleor 4.0. Get model fields from the root level queries.

Represents a collection of products.

Interfaces

Node interface miscellaneous

An object with an ID

Member Of

CollectionTranslation object

Implemented By

TranslatableItem union