getConfigPageByUrl
Getting settings for the page by url.
Pages?.getConfigPageByUrl( url? );
Minimal example
const value = await Pages.getConfigPageByUrl('shop')
Schema
url(required): string
Page URL
example: "about"
This method retrieves the settings for a specific page based on its URL (url). It returns a Promise that resolves to a object with page display settings.
Example response
{
"rowsPerPage": 1,
"productsPerRow": 1
}
Schema
rowsPerPage: number | null
Number of lines per page.
example: 1
productsPerRow: number | null
Number of products per page.
example: 1