-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from vtex/fix/loc/10269
updated and added files according to task LOC-10269.
- Loading branch information
Showing
3 changed files
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
--- | ||
title: "New property for creating a single page of a content type" | ||
description: "Create a single page for a content type with the new `isSingleton` property, ensuring consistency and preventing duplication of layout updates." | ||
description: "Headless CMS now has the isSingleton property for creating single content pages, avoiding duplicates, and keeping layout consistent across requests." | ||
tags: [cms] | ||
--- | ||
|
||
The `isSingleton` property is now available for merchants to create a single page of a content type in the Headless CMS. The property prevents the creation of multiple pages of the same content type, which ensures that any updates made to the content type's layout are consistent across all requests. | ||
The `isSingleton` property is now available for merchants to create a single page of a content type in the Headless CMS. This property prevents the creation of multiple pages of the same content type, ensuring that any updates made to the content type layout are consistent across all requests. | ||
|
||
 | ||
 | ||
|
||
## What has changed? | ||
|
||
Previously, when creating or editing a content type without the `isSingleton` property, the content type page could be duplicated in multiple versions. This could cause issues when trying to update the correct version or could result in multiple content types with the same name but different content, leading to confusion during content management. | ||
Previously, when creating or editing a content type without the `isSingleton` property, the content type page could be duplicated in multiple versions. This could cause issues when trying to update the correct version or result in multiple content types with the same name but different content, leading to confusion during content management. | ||
|
||
With the introduction of the `isSingleton` property, your store's content types can maintain consistency by preventing the creation of multiple pages of the same content type. This ensures that any updates to the page's layout are reflected in all requests, streamlining your content management process. | ||
With the `isSingleton` property, you can keep consistency across the content types in your store by preventing the creation of multiple pages with the same content type. This ensures that any updates to the page layout are reflected in all requests, streamlining your content management process. | ||
|
||
|
||
## Why are we making this change? | ||
The change enables consistency in a content type’s content. The `isSingleton` property prevents the creation of multiple pages of the same content type and ensures updates to the page's layout are reflected in all requests. | ||
The change enables consistency in the content of a page. The `isSingleton` property prevents the creation of multiple pages of the same content type and ensures updates to the page layout are reflected in all requests. | ||
|
||
## What needs to be done? | ||
Refer to the [Using `isSingleton` property in a content type](https://www.faststore.dev/how-to-guides/cms/vtex-headless-cms/Using%20isSingleton%20property%20in%20a%20contenty%20type) documentation for more information. | ||
|
||
For more information, please refer to the [Using `isSingleton` property in a content type](https://www.faststore.dev/how-to-guides/cms/vtex-headless-cms/Using%20isSingleton%20property%20in%20a%20contenty%20type) documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d3d5193
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
faststore – ./
faststore.dev
faststore-faststore.vercel.app
faststore-git-main-faststore.vercel.app
faststore-docs.vercel.app
www.faststore.dev