Theme Shop Collection Archive Block
amerta / payload-types / ThemeShopCollectionArchiveBlock
Interface: ThemeShopCollectionArchiveBlock
Defined in: payload-types.ts:1876
This interface was referenced by Config's JSON-Schema
via the definition "ThemeShopCollectionArchiveBlock".
Properties
blockName?
optionalblockName:string|null
Defined in: payload-types.ts:1951
blockType
blockType:
"themeShopCollectionArchive"
Defined in: payload-types.ts:1952
buttonPrimary?
optionalbuttonPrimary: {appearance?:"default"|"link"|"outline"|"destructive"|"ghost"|"secondary"|null;label?:string|null;newTab?:boolean|null;reference?: {relationTo:"pages";value:string|Page; } | {relationTo:"posts";value:string|Post; } | {relationTo:"categories";value:string|Category; } | {relationTo:"products";value:string|Product; } | {relationTo:"collections";value:string|Collection; } | {relationTo:"product-brands";value:string|ProductBrand; } |null;size?:"default"|"sm"|"lg"|"xs"|null;type?:"custom"|"reference"|null;url?:string|null; }
Defined in: payload-types.ts:1885
appearance?
optionalappearance:"default"|"link"|"outline"|"destructive"|"ghost"|"secondary"|null
Choose how the link should be rendered.
label?
optionallabel:string|null
newTab?
optionalnewTab:boolean|null
reference?
optionalreference: {relationTo:"pages";value:string|Page; } | {relationTo:"posts";value:string|Post; } | {relationTo:"categories";value:string|Category; } | {relationTo:"products";value:string|Product; } | {relationTo:"collections";value:string|Collection; } | {relationTo:"product-brands";value:string|ProductBrand; } |null
size?
optionalsize:"default"|"sm"|"lg"|"xs"|null
Choose how the link size.
type?
optionaltype:"custom"|"reference"|null
url?
optionalurl:string|null
use {locale} to insert the current locale code into the URL
collectionObj?
optionalcollectionObj:string|Collection|null
Defined in: payload-types.ts:1884
Select the collection to display products from
description?
optionaldescription:string|null
Defined in: payload-types.ts:1945
hideOnFrontend?
optionalhideOnFrontend:boolean|null
Defined in: payload-types.ts:1880
Toggle to hide this section from the live website.
id?
optionalid:string|null
Defined in: payload-types.ts:1950
limit?
optionallimit:number|null
Defined in: payload-types.ts:1949
Number of products to show
title?
optionaltitle: {[k:string]:unknown;root: {children: {[k:string]:unknown;type:any;version:number; }[];direction:"rtl"|"ltr"|null;format:""|"center"|"left"|"start"|"right"|"end"|"justify";indent:number;type:string;version:number; }; } |null
Defined in: payload-types.ts:1930
Use Bold for 'Dimmed' text and Italic for 'Serif' text.