Static Block Import/Export – Extension for Magento 2

Introduction

  • Created On: 24th November, 2016
  • Last Updated On: 26th September, 2020
  • By: Solwin Team
  • Email: info@solwininfotech.com

Installation

Installation Process

Note: Please take a backup of your all Magento files and database before installing or updating any extension.

Download the extension file:
  1. Download the Static Block Import/Export extension .ZIP file from solwininfotech.com using your Solwin Infotech website account.
  2. Extract the .ZIP file which contains another .ZIP files.
  3. If you have purchased the extension for the Community Edition, then you will see the extension .ZIP file for Magento 2.1.x, Magento 2.2.x, Magento 2.3.x, and Magento 2.4.x version.
    If you have purchased the extension for the Enterprise Edition, then you will see the extension .ZIP file for Magento 2.1.x, Magento 2.2.x and Magento 2.3.x version.
Extension Installation:

For Magento 2 Community Edition,

  1. If you are using Magento 2.1.x then you need to extract solwin-staticblockimportexport-m2-2.1.x.zip file.
    If you are using Magento 2.2.x then you need to extract solwin-staticblockimportexport-m2-2.2.x.zip file.
    If you are using Magento 2.3.x, Magento 2.4.x then you need to extract solwin-staticblockimportexport-m2.zip file.

For Magento 2 Enterprise Edition,

  1. If you are using Magento 2.1.x then you need to extract solwin-staticblockimportexport-m2-EE-2.1.x.zip file.
    If you are using Magento 2.2.x then you need to extract solwin-staticblockimportexport-m2-EE-2.2.x.zip file.
    If you are using Magento 2.3.x then you need to extract solwin-staticblockimportexport-m2-EE.zip file.

Following 2 to 6 steps are the same for Community and Enterprise edition.

  1. Copy the app folder and paste it into your magento ROOT directory.

    FTP
  2. Run upgrade command as specified : php bin/magento setup:upgrade.
  3. Run deploy command as specified : php bin/magento setup:static-content:deploy -f.
  4. Clear the cache either from the admin panel or command line php bin/magento cache:clean.
  5. Now, you can see the Solwin menu in admin panel. Please go to Solwin -> Static Block Import/Export -> Configuration and select Enable to Yes.
  6. Change/Set all other options as per your requirements and save settings.

NOTE : Make sure the installation is done from under the FTP administrator account. Otherwise make sure to set 775 permissions to the store root directory after the extension is deployed.

Getting Started

A setup guide and general information to help you.

This document covers the installation, set up and use of this extension and provide answers and solutions to common problems and issues. We encourage you to read this document thoroughly if you are experiencing any difficulties.

Information

Static Block Import/Export Extension allows you to import and export Magento CMS Static Blocks via CSV format. For example you can transfer existing CMS Static Blocks from a Magento 1 installation and import them directly into new Magento 2 installation. It is also used to update and maintain existing static blocks and can be very useful for medium to large sites that could have hundreds of static blocks. The ability to bulk edit this amount of data in a spreadsheet is the fastest way to manage the data.

Features

You can find these features below:

  • Easy to install and use
  • Import/Export Static Block with all related data
  • Easy to transfer Static Block from an old site to a new site
  • Import all static blocks by just one click
  • No core file changed

How To Use

At admin side, you can find a menu in 'System -> Data Transfer -> Import/Export Static Blocks'.

static blocks import export menu


When you click on that menu, import/export static blocks panel will be display.

static blocks import export panel


To export static blocks, click on Export Static Blocks button.

static blocks import export static blocks export


For import new static block, select CSV file using Browse button.

static blocks import export select file


Here, an example of excel sheet. We are going to import a new static block named Solwin Block.

Note: the following fields in the CSV is required in Static Block

  • title - Block title
  • stores - These are the store Ids
  • identifier - Block Identifier
  • content - Block content
  • is_active - Block Status (Enabled(1)/Disabled(0))

static blocks import export excel sheet


On successfully import of new static block, you will get success message.

static blocks import export successfully imported


To see new static blocks, please go to Content -> Elements -> Blocks.

static blocks import export new static block

Support

If you have any questions or requests, please contact us at support@solwininfotech.com. We are very happy to assist you!

  1. Website: https://solwininfotech.com
  2. Blog: https://solwininfotech.com/blog
  3. Support: http://support.solwininfotech.com