Skip to main content

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

id ● ID!

The ID of the product translatable content.

productId ● ID!

The ID of the product to translate.

seoTitle ● String

SEO title to translate.

seoDescription ● String

SEO description to translate.

slug ● String

Slug to translate.

Added in Saleor 3.21

name ● String!

Product's name to translate.

description ● JSONString

Product's description to translate.

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

translation ● ProductTranslation

Returns translated product fields for the given language code.

languageCode ● LanguageCodeEnum!

A language code to return the translation for product.

attributeValues ● [AttributeValueTranslatableContent!]!

List of product attribute values that can be translated.

Show deprecatedHide deprecated

descriptionJson ● JSONString

DEPRECATED

Use the description field instead.

Description of the product.

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

product ● Product

DEPRECATED

Get model fields from the root level queries.

Represents an individual item for sale in the storefront.

Interfaces

Node

An object with an ID

Member Of

ProductTranslation object

Implemented By

TranslatableItem union