grownwithus

How to Create Ecommerce Website in Magento

Why we Choose Magento?


Open Source

To begin with, Magento is the most comprehensive open-source platform used by merchants of different sizes, budgets, and requirements. Magento Open Source delivers the features you need to build and grow a unique online store from the ground up. The platform is capable of handling most tasks that an e-commerce store would require thanks to is the large array of features. At the same time, Magento remains highly flexible and scalable. Developers can tailor the app to their needs and scale them as they grow in size and expand to different locations.  However, for those who need an all-in-one cloud solution that is optimized for Magento, easy to deploy, provides enhanced security, and is packed with additional integrated capabilities to accelerate sales, consider Magento Commerce


Amazing Architecture & Coding

The customizable design in Magento comes with a strong architecture that can host thousands of products on your website and endure heavy traffic at peak times. In terms of developing such a website, developers can save time when changing pages or updating content. However, it is a well-known fact that coding on the platform can be complex for the uninitiated. But since the platform allows third-party integrations to the core code without causing any disruptions from extensions or upgrades, it might not pose as that big of a problem for most people. 


Multiple Store Management

This is one of the most attractive features of Magento. E-commerce stores can conveniently reach out to different target audiences for increased ROI. With the single administrative panel, merchants can set up and manage multiple stores with unique catalogs. This is a great feature that can allow you to have multiple stores that you can manage from one panel. 


Huge Community Support

You can find solace in knowing that there is a huge community of Magento experts and users ready to offer you their technical support if the need arises. Communities are a huge help in any case, and when things go a little bleak for you, you can always seek help from designers, developers, eCommerce consultants, agencies, and more. 


It Has Multi-Language Support

If you plan to expand your business to other regions of the world, you can make the most of this built-in feature. When it comes to catering to a new market or audience, language and currency are the biggest constraints faced by an e-commerce store. Magento offers you the opportunity to sell products in most corners of the world.


Server and System Requirements 

Among the developer community, word has it that Magento 2 is slow. However, the issue of a slow interface and high loading times are only due to malpractices and not knowing how to optimize the website properly. The case for the platform being slow is only when one does not meet the basic requirements of running a store on Magento 2 when you don’t use the right extensions, and don’t enable the right plugins, your store is bound to land on a turtle’s back. Since Magento is a powerful store, it is highly recommended to host your Magento store on a dedicated server or a VPS. Avoid shared hosting for Magento. Here are some basic system requirements for Magento. Tick these on your list, and you can ensure your store never slows down!


Operating SystemLinux distributions such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and so on.
ComposerTo develop Magento extensions or anyone who wants to contribute to the Magento 2 codebase, composer is needed. It is highly recommended to use the latest stable version of the composer.
Web
servers
Apache 2.2 or 2.4
  • In addition, the Apache mod_rewrite module must be enabled. mod_rewrite enables the server to perform URL rewriting.
  • nginx 1.8 or later.
Database
  • MariaDB and Percona
  • MySQL 5.6
  • Magento 2.1.2 or later versions are compatible with MySQL 5.7.
PHPMagento 2.0
  • 7.0.2,
  • 7.0.6–7.0.x,
  • 5.6.x
  • 5.5.22–5.5.x

Magento 2.1
  • 7.0.2
  • 7.0.4
  • 7.0.6–7.0.x
  • 5.6.5–5.6.x

Magento 2.2
  • 7.0.2
  • 7.0.4
  • 7.0.6–7.0.x
  • 7.1x
Required PHP extensionsbc-math
  • curl
  • gd, ImageMagick 6.3.7 (or later) or both
  • intl
  • mbstring
  • mcrypt
  • mhash
  • openssl
  • PDO/MySQL
  • SimpleXML
  • soap
  • xml
  • xsl
  • zip

PHP 7 only:
  • json
  • Iconv
SSLA valid security certificate is required for HTTPS.
Mail serverMail Transfer Agent (MTA) or an SMTP server
RedisVersion 3.0 for page caching and session storage (the latter supported by Magento version 2.0.6 and later only)
VarnishVersion 3.5 or latest stable 4.x version for page caching
MemcachedLatest stable version for session storage with either Memcache or Memcached PHP extensions (latest stable version)




  1. Server and System Requirements
  2. Installing and Configuring Magento
  3. Install Composer
  4. Make Composer Globally Available
  5. Download Magento 2
  6. Set Up Permissions 21 Create the Database
  7. Install Magento 2
    • Installation Wizard
    • Command Line Installer
  8. Adding Extensions
  9. Magento 2 Basics After installation
  10. Install Theme
  11. Add Products and Categories
  12. Setup PayPal Payment Gateway in Magento 2
  13. Setup Privacy Policy Page
  14. Configure Email on Magento 2
  15. Contact Us Page
  16. Customize Magento 2
  17. Contact Us page:
  18. Show Products on Home Page
  19. SEO Tips for Magento 2
  20. Security
    • Admin Name and Password
    • Use the Latest Version of Magento 2
    • Change Admin URL in Magento 2
    • Two-Step Verification
    • Limit Admin Access
    • SSL Certificate
    • Create a Backup
    • Use Reliable Sources for Magento 2 Extensions
    • Enable Admin Login Captcha
    • Configure Action Log




Installing and Configuring Magento

Although Magento can be installed manually, we recommend using Composer, simply because it's less time consuming and less tedious.

Note: To install Magento 2 on localhost you can refer to this guide: Install Magento 2 on Localhost using xampp

Steps on How to Install Magento 2 with Composer

  • Install Composer
  • Download Magento 2
  • Set Up Permissions
  • Create The Database
  • Install Magento 2


Install Composer 

You can skip this step if you have Composer already installed. Windows users have an installer
available.

curl -sS https://getcomposer.org/installer | php


Make Composer Globally Available


If you wish, you can additionally install Composer globally so you don’t have to type php/path/to/composer. phar every time. The Windows installer will automatically set up the PATH system variable.

mv composer.phar /usr/local/bin/composer


Download Magento 2

Run the following command in the root directory:
1 composer create-project --repository-url=https://repo.magento.com/
magento/project-community-edition .

After all the dependencies are retrieved, you should set the correct permissions on the entire
Magento 2 installation directory. The official documentation recommends chmoding all
directories to 700 and all files to a level of 600:

find . -type d -exec chmod 700 {} ; && find . -type f -exec chmod 600 {} ;


In case you are still facing problems, you are probably logged in under a different user and have to give ownership of the installation directory to the web server user.

Create the Database

Given that you already have a MySQL user with the correct permissions, then create an empty database to work with. If you want, you can also use an existing database and pick a table prefix during the installation process, but that’s not something a lot of people do.


Command Line Installer

Magento 2 ships with a command line installer and can be invoked as:

php bin/magento setup:install
--base-url="http://yoururl.com/"
--db-host="localhost"
--db-name="dbname"
--db-user="dbuser"
--db-password="dbpass"
--admin-firstname="admin"
--admin-lastname="admin"
--admin-email="user@example.com"
--admin-user="admin"
--admin-password="admin123"
--language="en_US"
--currency="USD"
--timezone="America/Chicago"
--use-rewrites="1"
--backend-frontname="admin"


The command above should be edited to your needs and executed from the Magento 2 root directory. What follows is a bit of scrolling text and if everything went correctly, you are informed that the installation has been completed.



Magento 2 Basics After installation

Following the initial installation and deployment of Magento 2, you’ll need to execute some basic installations

Install Theme
Once you have downloaded the Magento 2 theme of your choice, unzip it and upload the files to the public root directory of your Magento 2 store.
Note: You can use FileZilla for this process as well.

How to install a theme in Magento 2


Connect Store with SSH
● Now go to the root directory of your store via SSH.
● Upgrade the setup by running this command:
php bin/magento setup:upgrade
● Now deploy the static content by running this command:
php bin/magento setup:static-content:deploy


Activate the Theme


Navigate to CONTENT → Configuration from the Admin Panel of your store


Site and Content Management

Header

how to change favicon in Magento 2

how to change Logo in Magento 2

how to change admin URL in Magento 2

how to change currency in Magento 2

how to change base URL in Magento 2

How To Change Magento 2 Default Language

how to change Magento 2 admin password


Home Page 

How To Add Banner Slider In Magento 2

How To Set Up Currencies In Magento 2


Pages and Block

How To Create Effective 404 Page In Magento 2

SEO in Magento 2

How To Create A Custom Widget in Magento 2

 

Customer

All About Configuring Customer Accounts In Magento 2

How To Create A Customer Group And Assign Customer To A Particular Group In Magento 2

How To Set BCC For Customer Welcome Email In Magento


Order

How To Get SKUs From Orders in Magento

how to change email logo in Magento 2

How To Change Email Templates in Magento 2


Optimized

How To Deal With Slow Load Speed Of Magento

How To Clear Cache In Magento 2

50 Ways to Boost Your Magento Website Performance


Promotional

How To Create Newsletter Popup In Magento 2

How To Create And Manage Coupon Codes In Magento 2



20 Magento E-commerce Design Trends

100+ FREE Magento E-commerce Responsive Themes

10 Default Magento 2 Features

How To Calculate Magento Web Development Cost Yourself

How To Change Add To Cart Button Text and Relink In Magento

How To Add Google Analytics and Google Adwords To Your Magento 2

How To Config URL Rewrite in Magento 2




Admin

How To Create New Admin User In Magento 2

How To Configure Admin Security and Admin Captcha In Magento 2


Catalog Management


Category Managment


How to add categories in Magento 2

Create Hidden Categories in Magento 2

How To Create and Manage Categories In Magento 2


Products Managment


Attribute

How to Add Attributes in Magento 2

How To Create A New Attribute In Magento 2

Products


How to Create Grouped Products in Magento 2

How to Create a Bundle Product in Magento 2

Downloadable Products in Magento 2

Magento 2 Product URL Rewrites

New Product List in Magento 2

How To Set Up Automatic Product Redirects in Magento 2



Inventory

How to Manage Inventory in Magento 2

Price Navigation in Magento 2



Payments

Setup PayPal Payment Gateway in Magento 2 

Payment Methods in Magento 2

How To Set Up PayPal Express Checkout in Magento 2


Shipping

How To Configure Free Shipping In Magento 2

How To Set Up Flat Rate Shipping In Magento 2

How To Configure Tax Rules In Magento 2


Configure Email on Magento 2


Contact Us Page

 

Customize Magento 2 Contact Us page: 


How to Set Up a Multi-store in Magento 2


Show Products on Home Page 


Multiple currencies in Magento 2


Change Admin URL in Magento 2


Method 1: Through the Admin Panel
Open the Admin panel of your store and navigate to STORES → Configuration

 

Now unfold the Admin Base URL section. Select Yes from Use Custom Admin Path drop down and enter the admin path of your choice in a Custom Admin Path text field; I have used Magento, for example:

 

Method 2: Via a Command Line
Connect your store with an SSH terminal and go to the root directory of your Magento 2 store.
Now just run the following command:
php bin/magento setup:config:set --backend-frontname=Magento

In the command above, I have set the admin URL path as Magento, but you can set it as whatever you desire. Method 3: By Editing, env.php Open the env.php file in the text editor by going to app/etc directory from the root directory of your store. Now you will see the following code: array ( frontName => Magento, ) I have set the frontName as Magento, but you can change it to one of your choices. After using the method of your choice, you have to clean the cache. To do that, run the following commands in the Magento 2 root directory:

rm -rf var/cache/*
php bin/magento cache:clean
php bin/magento cache:flush

 

Two-Step Verification
Two-step verification protects your account by requiring additional verification from the user when signing in to the Admin Panel. In this process, after signing in to the account, a security code is sent to the Admin’s mobile number or email, which then the user has to verify to access the admin panel. It works as an additional security layer which makes difficult for attackers.

Limit Admin Access

Want to ensure no one accesses your Admin panel from anywhere else? Just limit your store admin access to your IP Address, and this simple IP restriction will leave a lot of hackers scratching their head when they try to access your Magento 2 store.

 

SSL Certificate
SSL (Secure Socket Layer) secures a website by establishing an encrypted link between a web server and the browser. All the data that passes between this link remains private. SSL is especially important for all websites that deal in online transactions. Hence, adding SSL certificate to your Magneto 2 store helps protect the private information of your users like login credentials, credit card information, and other sensitive data. To add this layer of security, you have to purchase an SSL Certificate and then configure it your Magento 2 store to force the store pages to load on HTTPS.

 

 

Create a Backup


In the unfortunate case where your store is hacked, it’s important that you have a full backup of your store that restores your Magento 2 to working conditions. In a technologically advanced world where even the hackers are smart, you have to have backups of your Magento 2 store files as well as your Database. You can create backups by downloading all the files using FTP. You can get also get the database by going to PHPMyAdmin. Use Reliable Sources for Magento 2 Extensions Extensions are essential for a Magento 2 store. Before installing any extension, ensure that it has been developed by a reliable developer, the reviews are good, and that it has a good tracking record. To be on the safe side, always get extensions from a reliable and authorized third-party extension maker!

 

Enable Admin Login Captcha
Enabling CAPTCHA prevents hackers and even bots from your Magento 2 store from attackers. You have to enable this awesome Magento 2 feature.

Go to Stores → Configuration from the Admin Panel of your store and then click on Admin under the Advanced Tab.

 

Now unfold the CAPTCHA section and select Yes from Enable CAPTCHA in Admin drop-down menu. Then select Admin Forgot Password from the Forms option and set all the remaining values according to your need.

 

Configure Action Log


If you use Magento 2 Enterprise Edition, one of its great features is the configuration of Action Log. The feature helps you track administrator activity and to view all the log history. Not only that, you can also check the source of all the activities in your admin panel and even view the IP of that resource. For community edition, you have to install a third-party extension to add this feature.


And here ends your job of setting up, deploying, and SEO optimizing your online store. Now that you are ready to sell, you must know how to market your store to people and increase awareness about its existence.


So let’s move on to the next chapter where you can learn all about Marketing your online store.


SEO Tips for Magento 2

How to Generate a Sitemap in Magento 2

Best Magento SEO Extensions For Your E-commerce Website

  • Avoid Having Duplicate Products Duplicate products with similar title result in bad SEO practice for your online store. Search engines like Google discourage the use of such techniques to increase the number of pages on your website.
  • Perform a Keyword Research Based On Your Products Keyword research is important. Whenever you start a new SEO project, begin with making an exhaustive list of keywords, search terms, and queries with their search volume. Performing keyword research is easy and takes little time as you start getting used to the process. Google Adwords Keyword Tool can help you create an extensive list of keywords and phrases and the KeywordTool.io can help you generate a list of search queries that people search on the search engines. Keywords also tell you the related products that people are interested in.
  • Product Names Should Contain A Long Tail Keyword After you are done with keyword research, your probable next step should be to rename your products so they contain a long tail keyword. The best practice of doing so is having [brand name]+ [product name] For example, if you sell t-shirts of various brands, then naming your products such as Adidas Black T-Shirt with Stripes, Nike Polo Printed T-shirt is the best practice. A long tail keyword has 3 to 5 words in it and is usually something people type in to find a specific product on search engines. Using long tail keywords on your product pages can help you get targeted traffic on your landing pages.
  • Add Meta Titles & Descriptions Meta titles and descriptions are probably the most important aspects of SEO. They help search engines read the content in these tags to understand what the page is about. To add meta title and description on the product pages in Magento 2, navigate to Products -> Catalog -> Select Product from the Magento 2 Admin Dashboard. Scroll down to the product page and you will see Search Engine Optimization as shown in the image below: Make sure the description is between 150 to 160 characters and the Meta title is around 55 characters.
  • Add Keywords In The URL Of Your Product Page The second most important on-page SEO ranking factor is keeping your URL short and adding keywords to it. You can change the URL of your Magento 2 products by adding values in “URL Key” under the “Search Engine Optimization” tab. The URL of your product pages should be short, have keywords, and should also be unique. URL’s help search engines understand what to expect on your e-commerce pages.
  • Add Related Products For Internal Linking Internally linking your relevant pages is also an important on-page SEO practice. In Magento 2, there is a helpful “Related Products” feature on the product pages. The best practice here is to add relevant products that your customers might be interested in. This will help your customers navigate your e-commerce store easily, make more purchases, and the internal links help search engines discover more relevant pages on your website.
  • Use Attributes To Eliminate Duplication If you have a lot of product variations like different colors and sizes, then the best practice to eliminate duplication is to use Attributes and configure them on the product pages. That way, one product page will be home to all of its variations. Having unique pages with a lot of content is a good practice to rank higher for targeted search terms. You can add more variations in products by changing “Configurations.”
  • Write Unique & 300+ Words Product Descriptions Search engines love unique and beautifully written content that explains what the page is about. Adding each new product to your Magento 2 store is an opportunity to increase the content on your website. Make sure you make the best use of “Content” tabs in the product catalog. Your content should be 300+ words with headings and the use of long tail keywords.
  • Add Alt Text In Images Last, but not the least, don’t forget to add Alt Text in all the product images of your Magento 2 store. Adding Alt Text helps search engines understand what your images are about. Having keywords in the alt text of images help clarify what an image is about and search engines will rank your images higher in their image SERPs. You can add Alt Text in images by navigating to “Images And Videos” tag and clicking on the image you want to define the alt text for.


Customer


Wish List Configuration in Magento 2

Security 

Admin Name and Password 

To prevent unauthorized access to your account, it is highly recommended that you use a complex admin name and a strong password. This ensures that attackers cannot guess or simply use the default name to try and login to your account. Just use a combination of uppercase, lowercase, symbols, and numbers to create a strong password.

How to Update Magento 2 Using Composer

How to Manage Order Status in Magento 2

Admin Login and Admin Captcha in Magento 2

Auto Generation of Coupon Codes in Magento 2


Use the Latest Version of Magento 2
Make sure that you have updated your Magento 2 to the latest version to avoid any security lapses. Every Magento update improves security through patches and killing known vulnerabilities. For this simple reason, it is not easy to attack a Magento 2 store that is updated to the latest version. If your store is not using the latest version, update it now:

Step 1: First of all, connect to your web server via SSH. Using putty or any SSH client, log in to
your Magento 2 server with full file system ownership.


Step 2: Once your SSH connection is established, you will need to navigate to your Magento 2 ROOT directory.

Step 3: Now follow the order and use the following commands:

Note: 2.2.0 is the latest version of Magento 2.2.x version. If you want to upgrade Magento 2.0.x version, change these numbers accordingly.
composer require magento/product-community-edition 2.2.0 --no-update
composer update

If an authentication prompted, enter your magento.repo authentication keys.

rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/*
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex


Step 4: Now go to your Magento 2 Admin Panel and at the bottom right corner, verify that you have successfully updated your Magento 2 version. If any error displays, try resetting your file permissions and clear the cache again






Change Admin URL in Magento 2


 

Configure Popular Search Terms in Magento 2

Widgets in Magento 2

Cookies in Magento 2

Magento 2 flush cache command line

How to Set Up BreadCrumb Trail in Magento 2






Method 2: Via a Command Line
Connect your store with an SSH terminal and go to the root directory of your Magento 2 store.
Now just run the following command:

php bin/magento setup:config:set --backend-frontname="Magento"

In the command above, I have set the admin URL path as Magento, but you can set it as whatever you desire. Method 3: By Editing, env.php Open the env.php file in the text editor by going to app/etc directory from the root directory of your store. Now you will see the following code: array ( 'frontName' => 'Magento', ) I have set the frontName as Magento, but you can change it to one of your choices. After using the method of your choice, you have to clean the cache. To do that, run the following commands in the Magento 2 root directory:

rm -rf var/cache/*
php bin/magento cache:clean
php bin/magento cache:flush

 

Two-Step Verification
Two-step verification protects your account by requiring additional verification from the user when signing in to the Admin Panel. In this process, after signing in to the account, a security code is sent to the Admin’s mobile number or email, which then the user has to verify to access the admin panel. It works as an additional security layer which makes difficult for attackers.

Limit Admin Access

Want to ensure no one accesses your Admin panel from anywhere else? Just limit your store admin access to your IP Address, and this simple IP restriction will leave a lot of hackers scratching their head when they try to access your Magento 2 store.

 

SSL Certificate
SSL (Secure Socket Layer) secures a website by establishing an encrypted link between a web server and the browser. All the data that passes between this link remains private. SSL is especially important for all websites that deal in online transactions. Hence, adding SSL certificate to your Magneto 2 store helps protect the private information of your users like login credentials, credit card information, and other sensitive data. To add this layer of security, you have to purchase an SSL Certificate and then configure it your Magento 2 store to force the store pages to load on HTTPS.

 

 

Create a Backup


In the unfortunate case where your store is hacked, it’s important that you have a full backup of your store that restores your Magento 2 to working conditions. In a technologically advanced world where even the hackers are smart, you have to have backups of your Magento 2 store files as well as your Database. You can create backups by downloading all the files using FTP. You can get also get the database by going to PHPMyAdmin. Use Reliable Sources for Magento 2 Extensions Extensions are essential for a Magento 2 store. Before installing any extension, ensure that it has been developed by a reliable developer, the reviews are good, and that it has a good tracking record. To be on the safe side, always get extensions from a reliable and authorized third-party extension maker!

 

Enable Admin Login Captcha
Enabling CAPTCHA prevents hackers and even bots from your Magento 2 store from attackers. You have to enable this awesome Magento 2 feature.

Go to Stores → Configuration from the Admin Panel of your store and then click on Admin under the Advanced Tab.

 

Now unfold the CAPTCHA section and select Yes from Enable CAPTCHA in Admin drop-down menu. Then select Admin Forgot Password from the Forms option and set all the remaining values according to your need.

 

Configure Action Log


If you use Magento 2 Enterprise Edition, one of its great features is the configuration of Action Log. The feature helps you track administrator activity and to view all the log history. Not only that, you can also check the source of all the activities in your admin panel and even view the IP of that resource. For community edition, you have to install a third-party extension to add this feature.


And here ends your job of setting up, deploying, and SEO optimizing your online store. Now that you are ready to sell, you must know how to market your store to people and increase awareness about its existence.


So let’s move on to the next chapter where you can learn all about Marketing your online store.

 

Speed Up Your Magento 2 Frontend

What You Need to Know About AMP on Magento

Newsletters in Magento 2




What is Magento

Magento is an open source and scalable platform which is predominantly used by major e-commerce players in the market. The product was originally created and launched by Varien Inc. a US based company and was later acquired by eBay.


Quick Fact about Magento

Magento is an open source eCommerce platform, and Gartner has again considered it a leader in its 2017 Magic Quadrant for Digital Commerce. Since 2008, 260,000 merchants have improved their businesses and deliver products and services to 51 million consumers worldwide with the help of this eBay-owned solution.

Although thousands of companies, including Philips, Nestle, Coca-Cola, and Canon, opt for Magento, this platform is not a one-stop shop for businesses of all sizes and various specifics. Experts consider it to be the first choice for medium- to large-sized companies that would like to digitize their stores.


Quick Face About Magento


Design Appealing Website

  1. Clean  
  2. Colors in Sync with Brand Design
  3. User-Friendly
  4. Sharp Graphic
  5. Consistency
  6. Responsive Design
  7. Functionality
  8. Call to Action
  9. Short Long Time
  10. Blog Section
  11. SEO-Friendly Coding
  12. Compatibility with Multiple Browser
  13. Social Media Integration
  14. Robus Security
  15. Orginal Content




Adding Extensions

 
In essence, Magento Extensions are necessary to improve e-commerce opportunities and to add features that enhance the online store’s functionality. Here’s a list of some of the essential extensions that can supercharge your website.

  • Duplicate CMS Page/Block
  • Elasticsearch by Wyoming
  • LiveChat by Livechatinc
  • Improved Layered Navigation
  • Follow Up Email
  • Customer Retention Automation
  • Blog for Magento 2

Magento’s Strengths and Limitations

Let’s check out its strengths and limitations so that you can understand if such an eCommerce solution will get through the challenges your business delivers. The advantages of Magento platform for eCommerce store:

  • Unlimited customization, both built-in and via extensions (aka modules or plugins)
  • The free-of-charge basis of the Community edition
  • Open source nature enables ongoing code improvement
  • Convenient upgrades that prevent losing current customization
  • A modular architecture that facilitates scalability
  • The support of various payment methods
  • Built-in SEO
  • Mobile-friendliness

However, some companies may find that the solution does not meet their business requirements because of the following shortcomings:

  • An annual enterprise edition’s license is quite costly
  • The platform is memory-consuming
  • Customization is time- and money-intensive
  • Flawless performance requires the specific hosting environment

Phases of a Magento-based Website Development Project

Let’s imagine that a company has realized that they need a web store but they cannot afford to hire a professional web developer. However, this is not the reason to close the door on an opportunity to add value to business operations.

In our short tutorial, we will show you how to build a Magento eCommerce store with your own efforts, using the example of creating an e-store with a simple structure. It will include a catalog, payment feasibility, and transactional email.

As a rough guide, the creation of a simple eCommerce website using Magento includes the following steps:

  • Platform installation
  • Theme setup
  • The configuration of required features

The Choice of the Technology Stack for Magento 2

Before starting a project, make sure that your system meets standard requirements, such as:

  • Environment: LNMP or LAMP (Linux, Apache, MySQL, and PHP) stack
  • Memory requirement: 2GB of RAM
  • Web Server: Apache 2.2, Apache 2.4, Nginx 1.8
  • Operating System: Linux x86-64 (CentOS, RedHat Enterprise Linux (RHEL), Debian, Ubuntu and more)
  • Database: MySQL 5.6 (MariaDB or Percona), MySQL 5.7
  • Server Hosting: Ability to run scheduled jobs (crontab) with PHP 5; ability to override options in .htaccess files
  • PHP: PHP 5.6.5-5.6.x, PHP 7.0.6-7.0.x, PHP 7.0.4, PHP 7.0.2
  • Required PHP extensions: bc-math, curl, gd, ImageMagick 6.3.7 (or later), intl, mbstring, mcrypt, mhash, OpenSSL, PDO/MySQL, SimpleXML, soap, XML, XSL, zip; PHP 7 only: json, iconv
  • Enabled PHP OPcache
  • SSL: a valid security certificate for HTTPS, self-signed SSL certificates are not supported; PayPal and repo.magento.com require TLS 1.1 or later
  • Mail server: SMTP, Mail Transfer Agent (MTA)
  • Supported technologies: Redis, Varnish, Memcached, Apache Solr, Elasticsearch and RabbitMQ 3.5
  • Php_xdebug2.2.0 is highly recommended


Database Installation

The installation of the database on the server always prefaces the setup. You create a new database that will be used for the installation via phpmyadmin and name it ‘Magento’.


Magento Download

After the database is ready for further installation, we fall on downloading the platform. There are two versions – the complete package and the online installer – and they are both available on the official website. However, we suggest the full setup to leverage the platform’s full functionality. Download a ZIP file and unpack it to a folder of your choice.


Magento Installation

Then, go to a chosen web browser folder and start the installation. Simultaneously, accept the terms and conditions and make proper localization settings to proceed with its configuration. For this end, fill in the following fields:

  • Database connection fields
  • Web access option fields (check if you marked ‘Use Web Server (Apache) Rewrites’ to enhance the platform’s SEO-friendliness)
  • Personal and login information, the encryption key (optional)

Now the platform is ready for further configuration. You receive a greeting message and a suggestion to go to the frontend. If you have set it up on a local host, you need to replace a code block inline 78 with another code in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php to deal with session cookies. However, this rule is applicable for local hosts only as live servers do not require customization.


Magento Hosting

There is one option that is especially relevant for small companies and startups: a hosting server with a pre-installed Magento. Such a way out relieves a non-techie’ staff as they do not need to master platform installation. Also, such hosting companies provide some basic support in case a company faces problems with their website.



Why we Choose Magento


Single Point Multi-store Management

Magento is the first of its kind open-source eCommerce platform that allows store owners to have total control over multiple stores from a single dashboard.


In-built Automated Marketing Tools

Magento allows store owners to integrate their backend with extensions for marketing that will boost their selling prowess. Third-party extensions can also be integrated into the store with minimal steps


Quick Scalability

Written on PHP, which is an easy-to-use programming language, scalability is something that Magento scores five on five.


Developer Friendly

Adding to its PHP grounded scalability, there is a big chunk of PHP developers making it easy to find developers for your first or next online store.


Responsive design

Magento makes it easy to design and structure responsive online stores that makes it easy to reach customers who rely on mobiles and tablets for shopping or browsing.


Speed Optimization

There are several website optimization techniques which helps reduce your website loading speed under 3 seconds thus putting your website on the top rungs of search engine results.


SEO Friendly

Apart from speed optimization for search engine friendliness, Magento also offers a number of SEO Optimization features like meta tags, title tags, etc. which helps gain more SEO traction for the product category, individual product pages and much more.



Keep the Magento Updated versions:

Make Sure your Store is Updated with the latest version of Magento to Avoid bugs and performance issues. in fact, Magento informs you Whenever the latest released in out by inboxing you.


Custom Theme

Rather than modifying the core Magento theme too much, one must opt for a custom theme.

Use Content Delivery Network (CDN)

Page Load time matter as for SEO and it affects your bounce rate. Use CDN so that images, CSS, JS and various other element loads instantly.


SEO audit

Organic traffic is the core area where e-commerce entrepreneur is focused on. Running an SEO audit is a must do the activity as it helps with the crucial information like if your website is mobile optimized, relevant meta descriptions total number of backlinks, etc Some of the top free Sites to do SEO audit are SEO site Checkup.


Cleaning up logs as well as database

180 days is the default period set by Magento to keep your logs. You can change it to a month or so save some space.

Security Matters

SSL Certificate encrypts all communication between the browser and the server, ensuring that all data goes through a Secure (HTTPS) connection. This certificate helps to gain your customer's trust and also to rank higher on the search engine.

Viewed 44 Times

Post On 2018-07-19