How to add and manage static pages in PrestaShop 1.5-1.6
You can use static pages to add and display on the frontend of your site any information that you want to be accessible to customers (e.g. About us page, terms of service, etc.). In PrestaShop these pages are also referred to as CMS pages. You can also create CMS categories and sub-categories which you can use to organize these pages.
In this article we'll briefly discuss how to manage CMS pages and categories. For more details and screenshots check out the tutorial on how to manage CMS pages in PrestaShop 1.5-1.6.
Create CMS Categories
To add a new CMS category, go to Preferences menu>CMS sub-menu and on the page that opens click on the button Add new CMS category. In PrestaShop 1.5 the button is labeled Add new and it's above the table listing the existing sub-categories.
This will open the form for adding CMS categories. Type a name for the category in the respective field and from the Displayed option select whether the category should be enabled or not. From the option Parent CMS Category you can select the parent category of the one that you're about to create. PrestaShop comes preconfigured with one top-level category called Home. All categories that you create will be sub-categories of Home. If you have created other sub-categories, you can select one of them to be the parent category, and so make the one that you're creating a sub-category of a sub-category.
The settings Meta title, Meta description and Meta keywords are optional. If you want to, you can respectively type a title for the category, a short description and some keywords related to the category. These are used by search engines; the title and the description are shown on the result pages displayed by search engines, and the title is shown in the tabs of web-browsers.
In the field for Friendly URL type the part of the URL that corresponds to the CMS category. It will be automatically added to the rest of the URL to form the full URL address of the category. You can use the name of the category as a base, but in the friendly URL use lowercase letters and separate words with hyphens (e.g. example-cms-category).
After you're done with the options click on the Save button.
Manage CMS Categories
To edit and delete CMS categories, go to Preferences menu>CMS sub-menu. The top table on the page that opens shows the sub-categories (if any) of the main Home category. To view the pages and sub-categories associated with a category, click either on the row of that category in the table or on its View button. This will open a new page with two tables that list respectively the sub-categories and pages associated with the selected category. In PrestaShop 1.5 the View button is an icon that looks like a magnifying glass.
To edit the options of a CMS category, in the table that lists the categories click on the arrow next to its View button and from the drop-down menu select Edit (in PrestaShop 1.5 the button is an icon that looks like a pencil). The options that you can edit are the same as on the form for adding new categories.
To delete a category, from the drop-down menu next to the View button select Delete (in PrestaShop 1.5 the button is a trash can icon). Note that deleting a category will also remove the pages and sub-categories associated with it.
You can use the Bulk actions drop-down menu below the table to delete and enable/disable more than one category at the same time.
Create CMS Pages
To add a new static page, go to Preferences menu>CMS sub-menu and on the page that opens click on the button Add new CMS page. In PrestaShop 1.5 the button is labeled Add new and it's above the table that lists the existing pages.
On the page that opens type the name of the page in the field for Meta title. This is also the name that will be used by search engines. From the drop-down menu CMS Category select the category to which you want the page to belong. The settings Meta description and Meta keywords are optional. You can use them to type a short description and keywords to be used by search engines.
The field for Friendly URL is filled automatically when you type the name of the page in the Meta title field. Uppercase letters are automatically turned into lowercase ones and words are separated with hyphens (e.g. example-cms-page).
You can use the option Page content to type the content of the page. If you want the CMS page to be indexed by search engines, enable the option Indexation by search engines. If you enable the option Displayed, the page will be accessible on the frontend of your site; otherwise, if you disable it, customers will not be able to view it.
After you're ready with the options click on the Save button.
Manage CMS Pages
The bottom table that's shown when you go to Preferences menu>CMS sub-menu lists the pages in the default Home category. To view a list of the pages in a sub-category, select the category from the top table.
To edit the options of a page, click on its Edit button in the table (in PrestaShop 1.5 the button is a pencil icon). The options are the same as when adding a new page. To delete a page, click on the arrow next to its Edit button and from the drop-down menu select Delete (in PrestaShop 1.5 the button is a trash can icon).
For screenshots and more details check out the tutorial on how to manage CMS categories and pages in PrestaShop 1.5-1.6.
Was this answer helpful?
- How to add and manage currencies and payment module restrictions in PrestaShop
- How to remove or change the PrestaShop header logo
- How to add and manage image maps in PrestaShop 1.5-1.6
- How to create virtual products in PrestaShop 1.5-1.6
- How to manage the preference options for SEO and URLs in PrestaShop 1.5-1.6