-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Adding GraphQL CMS and Theme Attributes to storeConfig #3803
Conversation
`cms_no_route` | String | Identifies a specific CMS page that you want to appear when a 404 “Page Not Found” error occurs | ||
`front` | String | Indicates the landing page that is associated with the base URL | ||
`no_route` | String | Contains the URL of the default page that you want to appear when if a 404 “Page not Found” error occurs | ||
`show_cms_breadcrumbs` | Int | Determines if a breadcrumb trail appears on all CMS pages in the catalog. Options: Yes / No |
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.
The value can't be Yes/No when the value is an Int
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.
fixed
--- | ||
|
||
The `storeConfig` endpoint returns information about a store's configuration, including its locale, currency codes, and the secure and unsecure URLs. | ||
The `Store` endpoint defines information about a store's configuration. |
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.
Add a link to https://devdocs.magento.com/guides/v2.3/graphql/send-request.html with an explanation that the Store header allows you to query a non-default store.
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.
fixed
|
||
### Supported theme attributes | ||
|
||
Use the `theme` attributes to retrieve information about the store's thematic elements; such as, footer and header information, copyright text, and logo information. |
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.
Mention these attributes are defined in the ThemeGraphQl module.
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.
fixed
`default_description` | String | The description that provides a summary of your site for search engine listings and should not be more than 160 characters in length | ||
`default_keywords` | String | A series of keywords that describe your store, each separated by a comma | ||
`default_title` | String | The title that appears at the title bar of each page when viewed in a browser | ||
`demonotice` | Int | Controls the display of the demo store notice at the top of the page. Options include: Yes / No |
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.
The value can't be Yes/No when the value is an Int
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.
fixed
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`absolute_footer` | String | Contains scripts that must be included in the HTML before the closing <body> tag |
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.
`absolute_footer` | String | Contains scripts that must be included in the HTML before the closing <body> tag | |
`absolute_footer` | String | Contains scripts that must be included in the HTML before the closing `<body>` tag |
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.
You don't need to escape the less/greater than signs.
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.
fixed
`default_keywords` | String | A series of keywords that describe your store, each separated by a comma | ||
`default_title` | String | The title that appears at the title bar of each page when viewed in a browser | ||
`demonotice` | Int | Controls the display of the demo store notice at the top of the page. Options include: Yes / No | ||
`head_includes` | String | Contains scripts that must be included in the HTML before the closing <head> tag |
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.
`head_includes` | String | Contains scripts that must be included in the HTML before the closing <head> tag | |
`head_includes` | String | Contains scripts that must be included in the HTML before the closing `<head>` tag |
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.
fixed
{:style="table-layout:auto;"} | ||
|
||
### Supported CMS attributes | ||
|
||
Use the `cms` attributes to retrieve information about the store's default pages. |
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.
Mention these attributes are defined in the CmsGraphQl
module
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.
fixed
running tests |
Hi @erikmarr, thank you for your contribution! |
This PR is a:
Summary
When this pull request is merged, it will fix #3342
Additional information
List all affected URLs