Magento 2 Administration Extensions

  1. Home
  2. Docs
  3. Magento 2 Administration Extensions
  4. Magento 2 Import Export CMS Page
  5. User Guide

User Guide

1. Overview

Magento 2 Import Export CMS Page extension allows administrators to import a lot of CMS pages at once via a CSV file. Admins just need to prepare a CSV file with all necessary information about CMS pages such as title, page layout, meta keywords, meta description, identifier, content, and so on. Then they make Import settings like the default function, validate the CSV file and start import CMS pages to websites. Besides, this extension also helps to export available CMS pages by stores and especially admins can select which data is excluded from exporting.

More Magento 2 Import Export extension from BSSCommerce are useful for your work:

2. How Does It Work?

2.1. Import CMS Page

You go to System ⇒ Data Transfer ⇒ Import CMS Page.

2.1.1. In Import Settings

You select CMS Page in the drop-down list of Entity Type.

import settings

2.1.2. In Import Behavior

  • Import Behavior: There are 3 options for you to select.

+ Add/Update: This option allows administrators to add new CMS Page of the website. In addition, it also updates CMS Pages if these pages already exist in the database and have the same URL keys (identifier) as data in the CSV file.

+ Replace: The module will delete old CMS pages and then add new ones.

+ Delete: This option allows the system to get CMS pages based on URL keys in the CSV file, then delete pages which are available in the database.

Next, you select one option from the drop-down list to determine how the system operates when there are errors in the import process.

+ Stop on Error: the system stops importing when there are errors.

+ Skip error entries: the system skips errors and continues to import.

  • Allowed Errors Count: This setting allows you to choose the allowed maximum number of errors when importing. If the number of errors happening in the import process exceeds the maximum number you fill in this field, the system will stop importing.

2.1.3. CSV File Preparation

Before you import CMS pages via a CSV file, you need to prepare the CSV file with enough necessary information. You can download this CSV sample file by clicking Download Sample File. Then you open this file and fill in fields:

csv file preparation

In the following image, you can know data fields in the CSV file and also their meanings.

CSV file preparation

2.1.4. In File to Import

After you have finished the CSV file, tab Choose File button to select the file to import.

2.1.5. Check Data and Import

After you select the CSV file, you need to click Check Data button to validate data before importing.

  • If your CSV file is free from errors, there is a message to notify validation results and Import button now appears to click.

validate results

You click Import button to start importing CMS pages in the CSV file into Magento 2 website. There is also a notification about results of the import process.

  • If your CSV file includes errors, the Import button cannot be displayed for you to click and there is a notification about these problems.

2.2. Export CMS Page

You go to System ⇒ Data Transfer ⇒ Export CMS Page.

You select CMS Page in the drop-down list of Entity Type.

You choose CSV in the Export File Format field.

In Filter Store: You choose Store or store view to export CMS pages.

In Exclude Entity Attributes: you can select which data to be excluded from the CSV file after exporting.

Export CMS Page

Was this article helpful to you? Yes No

How can we help?