E-commerce Expected to Add 12 Million Jobs Over a Decade

E-commerce sector is predicted to be a significant uptrend in the coming decades in India. The particular sector could lend a helping hand across the country, including ruler India’s job landscape, which requires approximately 80 million new jobs in the coming 10 years.

According to the Hong Kong and Shanghai Banking Corporation (HSBC) study, E-commerce in India has a potential to add approximate 12 million new jobs across the country in the coming years. And, Global financial services major HSBC said that “Already employing just under a million Indians, e-commerce could be a new source of service sector jobs”.

Pranjul Bhandari, Chief India Economist, HSBC Securities and Capital Markets said that “We find that the combination of higher wages (on the back of rising economic growth potential) and the convenience of buying online can increase India’s consumption demand over the next decade”.

With the evolution of online trends, e-commerce sector could expectedly create 20 million “Gross” jobs in broad supply chain activities — logistics and delivery (70%) and in customer care, IT and management it would be expected around 30%. Additionally, the report also shows that India could have lost 24 million jobs in brick-and-mortar stores, but e-commerce sector could fill half of that gap.

HSBC report also shows that like e-commerce in China, India has also spread to rural areas to engage 5mm suburb merchants and create unlimited livelihood job opportunities in the next 10 years.

Magento 2 SEO Using Magento 2 Out-Of-The-Box Features & Settings

Your Magento 2 store is pretty much the final stand when it comes to a matter of battle being fought. Battle? – Yes, of course, the conversion battle! – And that’s why you need to ensure that you are covering all Magento 2 SEO settings for your Magento 2 based website. Therefore, we would like to introduce you to Magento 2 SEO and highlight all Magento 2 settings that are accessible there out-of-box-the-box.

Main Magento 2 SEO Settings

Meta Tags for Products

What’s the most important thing on your Magento 2 based eCommerce store? – Your Products! Your Magento store needs to rank high for your products in SERPs so that you can get good conversions for your products. Therefore, optimizing product pages for search engines is especially important for your Magento site.

However, if your store has many products, what is going to help you? Here, Magento 2 comes with out-of-box SEO feature, i.e. Product Fields Auto-Generation (located under Stores – Configuration – Catalog – Catalog – Product Fields Auto-Generation). It is a great tool that uses one template to change Meta tags for all products and save your valuable time.

1

However, you can also customize titles and meta descriptions through product page settings:

Product >> Basic Settings >> Search Engine Optimization

But, it is a time-consuming process as you have to edit Meta tags one by one for all products.

Magento 2 Product URLs Optimization

Magento 2.0 version also supports to make SEO-friendly products URLs by involving category paths for product URLs. You can also find this feature under:

2

Stores >> Configuration >> Catalog >> Search Engine Optimization

SEO-Friendly Category Page URLs

Magento 2 also features same default settings to setup the standard Meta tags: title, Meta description and Meta keywords.

All this Metadata can be set up as per each Store view and it is same in the case of category page URLs. Category page URLs can be set up from here: Stores> Configuration> General Information and you can opt for a URL for the category as per your requirements.

Meta Tag Optimization for Home Page

As we all know, Homepage plays a very significant role for any website and includes most appropriate information of a website. So, it should rank higher with the most vital keywords than all other pages of your Magento site.

Magento 2 provides the ability to customize home page information in:

Content >> Pages >> Home Page >> Page Information

You only need to customize this significant tag. It will be a wise decision to put your most important keywords in place of the page title and H1 tag.

3

Site Name as Prefixes & Suffixes for Title Tags

According to SEO best practices, you need to add your site name at the end or at the starting of your title tags throughout all site pages as it aids with branding. You can access this feature from here:

Stores >> Configuration >> General >> Design >> HTML Head

4

Image Optimization for Better Search Engine Rankings

If you devote hours crafting your Magento 2 store, don’t miss out on image optimization to acquire maximum search engine benefits. Image optimizations can be the “icing on the cake” for Magento 2 site as it supports in site’s speed. Magento 2 allows you to add alt attribute to optimize your product images:

Product >> Basic Settings >> Images and Videos >> Alt Text

In order to change the alt text for your logo image, you can change it from here:

Stores >> Configuration >> General >> Design >> HTML Head >> Header:

5

Unique & Quality Content

Unique & quality content is essential because not only does it shake your Magento 2 site’s ranking, but it also affects your AdWords quality score which can further bring about less advertising costs. Moreover, another great benefit that you can grab – increased conversion rates- only because of quality content is written. As a result, your Magento 2 site will acquire a higher ranking, more & more visitors and yes, of course, higher conversion rates too. Magento 2 comes with some out-of-box tools to assist you in many of these main Magento 2 SEO aspects.

Canonical Link Meta Tag for Categories

Canonical link meta tags work against duplicate content issues. In eCommerce sites, there are lots of cases where duplicate content issues arise only because of multiple versions of single product page due to variation in product configurations. In these cases, it is essential to define the product page to get indexed by Google. That’s why canonical link meta tag is required for categories.

Magento 2 allows you to enable canonical link meta tag for categories by following the path below:

Stores >> Configuration >> Catalog >> Search Engine Optimization

Magento 1.X also supports such settings, but Magento 2 also allows these canonicals to be applied to sorted as well as filtered pages. For example: the ones with product_list_order=name, product_list_mode=list, etc. As a result, there are very fewer chances of an existence of thin content on your website.


Canonical Tags for Products

It is also easy to access canonical tags for products by following the path mentioned below:

Stores -> Configuration -> Catalog -> Search Engine Optimization

This setting is also accessible under Magento 1.X. But it is difficult to customize canonical tags (for example: to make one product as a canonical version of other product) under default Magento 2 installation because there is no availability of custom field to add a particular canonical URL.

Enable/ Disable Category Path in Product URLs

While going through Store >> Configuration >> Catalog >> Search Engine Optimization, there is an option to enable or disable category paths in URLs. These category paths are beneficial for indexing or to display the logic of store navigation.

Site Indexing Settings in Magento 2

ROBOT.TXT

As you all know, Magento 2 settings also support to generate & manage instructions required by web crawlers & bots to index a website. The file that contains all such instruction is known as “robots.txt” which is accessible at the root of your Magento installation. Magento 2 allows you to edit this robot.txt file through your Magento 2 admin panel.

Stores >> Configuration >> Catalog >> Design >> Search Engine Robots:

6

In addition to this, you can access your robot.txt file at:

yoursite.com/robots.txt (an appropriate place for it)

The other directories that you may want to disallow include:

/catalog/product_compare/, /catalogsearch/, /wishlist/, etc.

Meta Robots

Basically, the default meta robots are set to Index, Follow to get your Magento 2 site indexed by Google. However, you are not allowed to customize it on a particular page. For an instance, suppose you generate a duplicate product in Google Analytics for some experiment purposes, you will need a method to restrict search engines to access this particular product page. You could insert such URLs to your site’s robots.txt file but it seems not to work always as supposed.

Magento 2 Settings to Generate XML Sitemap

In Magento 2, you can access XML sitemap settings under:

Stores >> Configuration >> Catalog >> XML Sitemap, also shown in the image below:

7

There are some important changes that come under observance for Magento 2 XML settings. These changes include:

It is possible to add all the images to the sitemap automatically.
An option to submit XML sitemap URL to robot.txt file.
It is possible to set the number of pages as per file & the maximum size of the file.

HTML Sitemap settings:

Inopportunely, there is no HTML sitemap setting available with Magento 2 out-of-box features. It means you require to go for some customizations or extension to create HTML sitemap.

Surplus Magento 2 SEO Features Compared to Magento 1.X:

Suffix for Product & Category URLs:

Magento 2 comes with this new SEO feature to insert a suffix for your website’s pages. It is also accessible under:

Stores >> Configuration >> Catalog >> Catalog >> Search Engine Optimization

8

Rich Snippet or Microdata – Another Great Innovation of Magento 2:

Microdata, or Rich Snippet is another great advancement of Magento 2. It is surely a most beneficial innovation for online merchants. It comes as a default option and gets added automatically to product pages. However, there is the availability of only product snippets in default Magento 2 configuration settings. In order to add breadcrumbs or search box markup, you need to do it on your own or you can do it with the assistance of an extension.

Integrating Google Analytics to Your Magento 2 Store

Magento 2 comes with a handy tool which is helpful in adding your Google Analytics tracking code to your store. It is accessible under:

Stores >> Configuration >> Sales >> Google API >> Google Analytics

You only require to enable Google Analytics & insert your tracking ID which is accessible under Admin >> Tracking Info in your Google Analytics Account.

Moreover, it also allows to do content experiments and you can insert that Google Analytics Experiment code into your product page by following a path mentioned below:

<head> section: Product >> Advanced Settings >> Product View Optimization:

9

But you still require to generate a duplicate product page & insert a noindex tag into it. Basically, there is no any change in other phases of setting up split tests of Magento.

Google Adwords Integration with Magento 2

As you all know, Google Adwords is a service which supports in placing ads in Google Search results, with all required tools & features to manage the campaigns. To implement Google Adwords for your Magento 2 based store, you need to navigate to:

Stores >> Configuration >> Sales >> Google API >> Google AdWords

And, you will access all the required settings:

10

As you can see in the image shared above, you can also grab other information in your Google Adwords account like conversion id, format, color, conversion label, conversion value type, conversion language choices, etc.

If these out-of-the-box features are not enough for satisfying your Magento 2 based website needs, or want any more comprehensive insights around this; or particular support for your project, get in touch with Envision Ecommerce as we have a team of experienced digital marketing experts who is ever-ready to help you with Magento 2 SEO.

Flipkart’s Unit Myntra Acquires Jabong for $70 million

India’s favorite online shopping destination – Jabong has acquired by online fashion portal Flipkart’s unit Myntra.

According to Global Fashion Group (GFG) press release, it is stated that the parent company of Jabong has acquired by Flipkart Group at US $70 million in cash.

The Economic Times(ET) was the first, who reports that Jabong has been in the market for auction and had held talks with Snapdeal, Future Group, Aditya Birla- owned Abof among others.

The CEO and Co-founder of Flipkart, Binny Bansal said that “Fashion and lifestyle is one of the biggest drivers of e-commerce growth in India. We have always believed in the fashion and lifestyle segment and Myntra’s strong performance has reinforced this faith”. He also added that “This acquisition is a continuation of the group’s journey to transform commerce in India”.

The acquisition of Jabong will strengthen the Flipkart Group’s portfolio in the segment of Fashion and Lifestyle to compete its rival – Amazon.

Indian E-commerce Industries are Expected to Invest $8 Billion on Infrastructure and Logistics

An Assocham-PWC study shows that India’s e-commerce industries are predicted to spend $8 billion on infrastructure, warehousing and logistics in the coming years due to the popularity of online shopping in the market.
Currently, there are only a few air cargo penetration and airports equipped to manage a large amount of delivery parcels.

Assocham, Secretary General, D.S. Rawat said that “Innovations are most crucial in the e-commerce sector, as the demand for more reach and faster shipping is always at lower costs. The companies will have to spend in automation while using existing resources well”.

He also adds that “India has successfully become the largest e-commerce market in the world. The quick transformation in consumerism, logistics, productivity and innovation prove to be a compelling case study for other looming economies”.

By 2020 it is expected that e-commerce market in India will touch up to $80 billion. As online sector gathers momentum and steps to the tier-II and tier-III cities, where the demand for air cargo connectivity is expected to be growing in smaller towns. Plus, studies also show that the particular industry would spend near about $8 billion by 2025.

The overall e-commerce sector is developing at a Compound Annual Growth Rate (CAGR) of about 35-40% and it is expected to cross $100 billion in the coming five years.

How to Display More Than One Image in UI Grid Column Magento2?

Sometimes it is necessary to showcase multiple images in a UI grid column in Magento 2. Therefore, we’ve compiled here some simple steps to help you how to display more than one image in a UI grid column in Magento 2.

  1. First of all, you have to open ui_component xml file and put there the required code in your item tag in a column where you require to showcase more than one image.

 <item name=”bodyTmpl” xsi:type=”string”>ui/grid/cells/html</item>

  1. Now it is the time to put the code in renderer as shown below:

The above steps and examples illustrate how to display multiple images in UI grid column in Magento 2. So, this is dead easy and simple, let’s get started with these steps!

<column name=”image” class=”Envision\MultiTestExample\Ui\Component\Listing\Columns\MultiTest”>

    <argument name=”data” xsi:type=”array”>

        <item name=”config” xsi:type=”array”>

            <item name=”component” xsi:type=”string”>Magento_Ui/js/grid/columns/thumbnail</item>

            <item name=”altField” xsi:type=”string”>name</item>

            <item name=”has_preview” xsi:type=”string”>0</item>

            <item name=”sortable” xsi:type=”boolean”>false</item>

            <item name=”bodyTmpl” xsi:type=”string”>ui/grid/cells/html</item>

            <item name=”label” xsi:type=”string” translate=”true”>Images</item>

            <item name=”sortOrder” xsi:type=”number”>1</item>

        </item>

    </argument>

</column>

<column name=”image” class=”Envision\MultiTestExample\Ui\Component\Listing\Columns\MultiTest”>

<?php

namespace Envision\MultiTestExample\Ui\Component\Listing\Columns;

use Magento\Framework\View\Element\UiComponentFactory;

use Magento\Framework\View\Element\UiComponent\ContextInterface;

use Magento\Store\Model\StoreManagerInterface;

class MultiTests extends \Magento\Ui\Component\Listing\Columns\Column

{

    /**

     * object of store manger class

     * @var storemanager

     */

    protected $_storeManager;

    /**

     * @param ContextInterface      $context

     * @param UiComponentFactory    $uiComponentFactory

     * @param StoreManagerInterface $storemanager

     * @param array                 $components

     * @param array                 $data

     */

    public function __construct(

        ContextInterface $context,

        UiComponentFactory $uiComponentFactory,

        StoreManagerInterface $storemanager,

        array $components = [],

        array $data = []

    ) {

        parent::__construct($context, $uiComponentFactory, $components, $data);

        $this->_storeManager = $storemanager;

    }

    /**

     * Prepare Data Source

     *

     * @param array $dataSource

     * @return array

     */

    public function prepareDataSource(array $dataSource)

    {

        $mediaDir = $this->_storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA);

        if (isset($dataSource[‘data’][‘items’])) {

            $fieldName = $this->getData(‘name’);

            foreach ($dataSource[‘data’][‘items’] as & $item) {

                    $imageContainer=”;

                        //multiArray contain images

                        $multiArray = array(

                            [

                                ‘image_url’=>’testurl1’

                            ],

                            [

                                ‘image_url’=>’testurl2’

                            ]

                            );

                        foreach ($multiArray as $_image) {

                            $_imageUrl = $mediaDir.$_image[‘image_url’];

                            $imageContainer = $imageContainer.”<img src=”. $_imageUrl .” width=’50px’ height=’50px’ style=’display:inline-block;margin:2px’/>”;

                        }

                    $item[$fieldName]=$imageContainer;

            }

        }

        return $dataSource;

    }

}

How to Use Custom Queries in Magento 2?

Welcome to the new series of Magento2 filters. In the previous blog post, we covered some DIY steps for controller override in Magento 2. Now in this post, we provide Magento users a great and simple way to update queries in Magento 2 by using the custom query.

Magento2 has come up with a more flexible feature that allows you manipulate data with the Database tables. Though all data have given by default by Magento 2, but if you want to work with the custom queries, then you really need to insert or get some data into the database. In this blog post, we just want to explain how it is possible to update queries by using the custom query.

Let’s take an example of table ‘student’ with fields std_id, std_name, std_section and std_class.

Now use the following code for Select, Delete, Insert and Update queries.

// Instance of object manager $objectManager = \Magento\Framework\App\ObjectManager::getInstance();

 

$resource = $objectManager->get(‘Magento\Framework\App\ResourceConnection’); $connectionDb = $resource->getConnection();

 

//gives table name with prefix $tableName = $resource->getTableName(‘student’); //Select Data from table $query = “Select * FROM ” . $tableName; $result = $connectionDb->fetchAll($query); //Delete Data from table $query = “Delete FROM ” . $tableName.” Where std_id = 12″; $connectionDb->query($query); //Insert Data into table $query = “Insert Into ” . $tableName . ” (std_id, std_name, std_section, std_class) Values (”,’ABC’,’B’,’II’)”; $connectionDb->query($query); //Update Data into table $query = “Update ” . $tableName . “Set std_class = ‘III’ where std_id = 13”; $connectionDb->query($query);

Hope this Magento 2 coding will be helpful for you, Thanks and Enjoy!

Setup System Configuration in Magento 2

In Magento 2, when you need to store single values for your application functionality, nothing goes best than a simple & straight forward method, i.e., “System configuration”.

In this blog post, we will help you to setup system configuration in Magento 2.

system.xml is mainly located in

<VendorName>/<ModuleName>etc/adminhtml/system.xml

And, there are primarily four sections in system configuration, including tab, section, group, and fields.
Here is how to display enabled disabled dropdown in system configuration:

SETUP SYSTEM CONFIGURATION IN MAGENTO 2

We hope, this blog post will help you to reduce complexity and efforts that you need to put into your everyday growing Magento 2 development tasks. Now, nothing is complicated for setting up system configuration in Magento 2, so let’s start!

Controller Override in Magento 2

Today, we’re going to explain how to override controller in Magento 2 and hope you are already familiar with controller & its functionality. Controller basically stands behind the process of handling incoming requests and it plays a significant role in Magento 2 routing implementation. Controller overriding is mainly required while working on custom modules in Magento 2 and you need to work on overriding core module files.

By following the simple steps as mentioned below, you can easily override the controller in Magento 2 and we hope that you can grab that “Ah-ha!” moment. Or at the very least you’ll say, “That’s very easy.”

Step1)

Create di.xml file in app/code/<VendorName>/<ModuleName>/etc

<?xml version="1.0"?>

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

 

<preference for="Magento\Checkout\Controller\Cart\Add" type="<VendorName>\<ModuleName>\Controller\Rewrite\Cart\Add" />

 

</config>

 

Code Explanation

<VendorName>\<ModuleName>\Controller\Rewrite\Cart\Add is used to override Magento\Checkout\Controller\Cart\Add

Step2)

Define an overriding controller class

Create Add.php in app/code/<VendorName>/<ModuleName>/Controller/Rewrite/Cart/


<?php


namespace <VendorName>\<ModuleName>\Controller\Rewrite\Cart;


class Add extends \Magento\Checkout\Controller\Cart\Add

{

public function execute()

{

// perform action

}

}

20% OFF Across the Store in Light of US Independence Day

To our American readers, Happy Independence Day!

Today, it is Fourth of July – one of the most momentous national holidays in the US for their Independence Day, and you require to deck up your eCommerce site with incredible eCommerce products to get immersed into this day’s spirit. Of course, you have another big opportunity to grab that – all eCommerce products by Envision Ecommerce at 20% OFF.

As a part of our continued drive to provide you incredible eCommerce products at affordable prices, we are offering 20% off across our entire Envision Ecommerce’s store in light of US Independence day. From Magento extensions to WooCommerce plugins and effective eCommerce solutions – you can now save a big hand of your hard earned money with our happy Independence Day deal by using USA16 promo code.

What’s more, just pick up eCommerce product you need and apply USA16 promo code and get flat 20% OFF. Offer valid till July 5, 2016 midnight.

Enjoy US Independence Day Offer!