Export and Import CMS Pages for Magento 2
Introduction
The extension allows to export and import CMS Pages. Save time on transferring CMS pages between Magento 2 installations.
Installation
The extension has 2 separate ways of installation, via Composer or by copying the code.
Please follow this Installation Guide to install the extension.
Configuration Settings
To access the configuration settings for this extension, log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ ULMOD EXTENSIONS ⟶ Export/Import CMS Pages.
Log all CMS Pages Export History - set to "Yes", to log all CMS Pages export history in the admin panel, all history will appear under SYSTEM → Export/Import CMS Pages by Ulmod → Export CMS Pages History. Set to "No" if you do not want to log all CMS Pages export history
Auto-Clear CMS Pages Export History After X Days - enter the number of days to automatically clear CMS Pages export history. Eg. 30. If you do not want to clear the CMS Pages export history automatically, set this to 0.
Export CMS Pages
The extension allows store administrators to export cms in the admin panel. To export cms, please go to SYSTEM ⟶ Data Transfer by Ulmod ⟶ Export/Import CMS Pages by Ulmod ⟶ Export CMS Pages.
Export CMS Pages
In the Entity Type select the "CMS Page" entity.
In the Select Store field, select the store view from which you want to export CMS pages
Select the CS Pages field(s) to Exclude from the export
Click the Export CMS Pages button to export CMS. The cms will be exported to a CSV file. eg. "cms_page_DDMMYYY.csv"
Import CMS Pages
To import cms, please go to SYSTEM ⟶ Data Transfer by Ulmod ⟶ Export/Import CMS Pages by Ulmod ⟶ Import CMS Pages.
Under "Import Settings" section:
set Entity Type to "CMS Page"
Click Download Sample File to download the sample CMS Pages import file. Check the structure of the sample CMS Pages import file and use it to prepare your CSV import file.
Under "Import Behavior" section:
Import Behavior selects the import behavior:
- Add/Update: this setting adds new CMS Pages from the import file. If CMS page(s) already exist in the database and has the same URL keys (identifier) as the one from the CSV file, the CMS page(s) will be updated.
- Replace: this settings delete existing CMS pages and add the ones from the import file
- Delete: this setting delete from the database any CMS pages in the import file that already exist
Validation Strategy choose to "Stop on Error" or "Skip error entries" when an error is encountered when importing data
Allowed Errors Count enters the number of errors that can occur before the import is stopped.
Specify the Field separator and Multiple value separator. A comma is the default separator in a CSV file. If you want to use a different character, make sure that the data in the CSV file matches the character that you specify.
select the Fields Enclosure checkbox, if you want to enclose any special characters that might be found in the data as an escape sequence.
Under "File to Import" section :
Click Choose File to select the CMS Pages file to import. Make sure the file is saved in UTF-8 encoding for proper import
click Check Data in the upper-right corner to validate the CSV file. Wait a few moments for the validation process to complete. If the CSV file is valid, the following message appears:
If the CSV file is valid, click Import to import the file. Otherwise, correct each error is listed in the validation result, and try to import the CSV file again.
When the import is complete, a message appears. Example of a successful import
Import CMS Pages Note:
- Please edit the CSV file to import on google docs or similar tools. If you edit on google docs, make sure to download as CSV (File ⟶ Download as ⟶ Comma-separated values(.csv, current sheet))
- You can import the exported CSV file directly into Magento admin panel without any additional modification, or check our CMS Pages import sample file
Export CMS Pages History
To access the CMS Pages export history, please go to SYSTEM ⟶ Data Transfer by Ulmod ⟶ Export/Import CMS Pages by Ulmod ⟶ Export CMS Pages History.
You can choose the column to show or hide on the grid and filters log by export date, admin username, file name, file path, file size, execution time, status and message
To delete/clear all export history manually, click the "Delete All Export Logs" button, all history is deleted
Extension Support
Need Help?
Ulmod Support team is always ready to assist you, no matter which part of the world you are in. If something does happen and you think you might be experiencing an issue or bug, please contact us via [email protected] or submit a ticket from our Helpdesk Ticket and we will help you out.
Got Questions?
Should you have any questions or feature suggestions, please Contact Us. Your feedback is welcome!