Skip to content

BlogTag

The BlogTag object represents a single blog tag for blog article in the storefront.

classDiagram
  direction LR
  BlogTag --> BlogTagUrl
  class BlogTagUrl{
  }
  class BlogTag{
    int id
    string name
    string slug
    BlogTagUrl url
  }

Properties

Attribute name Type Description
id int The unique identifier of the blog tag.
name string Name of the blog tag.
slug string Slug of the blog tag.
url BlogTagUrl The BlogTagUrl object that represents the url to the blog tag.

Examples

id property

{{ blogTag.id }}
1

name property

{{ blogTag.name }}
example name

slug property

{{ blogTag.slug }}
example-slug-name

url property

{{ blogTag.url }}
/en/n/tag/fresh-new