How to care for SEO when you migrate your online store to another platform?
In 1998, when Google was founded, the search engine handled 10 thousand queries a day. After a year, this number grew to 3.5 million. Today, it is nearly 3.5 billion per day. How many of those queries are relevant to your online store? You probably know this perfectly well since you are keeping track of the statistics. For most online stores, organic traffic is the main source of visits. In the case of migration to a different platform, there is a risk that the results you have worked so hard
How to migrate an online store to a new platform?
One of the most important times in running an online store is the time when we become aware that our business’s further growth will not be possible without updating the platform on which our website operates. This will also often be the time when it turns out that successive e-store functionalities that are critical to our business cannot be implemented into the current CMS. What should be done in such a situation?
How to save form data to the custom table in Magento 2
Magento 2 SET DATA IN CUSTOM TABLE BY POST METHOD
To set data to our new table, we need to create a new controller Index.php in app/code/CleverCode/HelloWorld/Controller/Add with following contents:
How to fetch data from a database and display it in Magento 2
Magento 2 Model
To get information from our table, we need to create a model which extends from AbstractModel. Models are used to connect to the database, and process data from and to it. To create that, we need to prepare a file entitled Data.php in app/code/CleverCode/HelloWorld/Model with the following contents:
How to upgrade custom table in Magento 2
Magento 2 UPGRADE TABLE
We will add the next column for our Hello table. To do this we need to create UpgradeSchema.php in app/code/CleverCode/HelloWorld/Setup with the following contents:
How to create a custom table in Magento 2
Magento 2 Create A Custom Table
Today we will create a custom table in Magento 2 to our HelloWorld Module. If you need to carry information instead of attributes, this is a good choice for you.
How to create Block and Layout Configuration in Magento 2
Magento 2 BLOCK
Today we will create a Block and .phtml template for our HelloWorld Module. We need this to display data with HTML code.
Our first Module and its controller in Magento 2
MAGENTO 2 DEVELOPER MODE
To put Magento into developer mode, we need to run the following command:
php bin/magento deploy:mode:set developer
Why do we need it? It will show all the errors for us, disable the static view of file caching, enable automatic code compilation and allow for enhanced debugging. System logging is in var/reports . When we are finished, we can set Magento to production mode by:
Magento 2 Installation
Magento 2 Installation
Today we will install Magento 2. Why do we need to do this? Previous versions will still work, but Magento will stop supporting these versions in a few years’ time.
These agreements may be canceled at any time. Personal data will not be shared with any other recipients. You have the right to access and amend this data at any time.