How to Setup Currencies in Magento 2?

You need to test and experiment with various ideas on your online store if you wish to succeed and scale it eventually. And if your store has visitors from different countries, you need to cater to them as well.

Providing an option for Multiple Currencies option is a great way to start.

In Magento 2 you can easily set multiple currencies after a little bit of configuration. Let’s learn how to setup Currencies in Magento 2.

Configure Currencies

Open the admin panel of your store and go to STORES → Configuration:

 
configuration
 

Now click on Currency Setup under the General Tab:

 
genral tab
 

Unfold the Currency Options section and configure it according to your need. Let’s discuss each option:

Base Currency: The currency which will be used for online transactions.

Default Display Currency: The default currency which will be displayed in your store under the pricing.

Allowed Currencies: You can allow multiple currencies in your store. Just press Ctrl and select the allowed currencies.

I am selecting US Dollar and Euro in Allowed Currencies:

 
Allowed Currency
 

Unfold the Webservicex section and enter the time in seconds for the timeout of import connection:

 
Webservicex
 

Unfold the Schedule Import Settings and configure it according to your need. Let’s discuss all the options:

Enabled: Select Yes to update the currency rate automatically on your store

Service: Select the service of your choice from the provided list.

Start Time: Configure the time after which the currency rate will be updated automatically. The format of time is: Hour, Minutes, and Seconds.

Frequency: Set the frequency of rate update. You can set it as Daily, Weekly, or Monthly.

Error Email Recipient: Enter the email address on which you want to get notifications about the errors.

Error Email Sender: Name of the sender that will display on the sent email.

Error Email Template: To inform the people about the errors, select the email template.

 

 

Now just click on Save Config from the top of the page:

 

&nbsp

Update Currency Rates and Currency Symbols

Go to STORES → Currency Rates to update the currency rate:

 
currency
 

Select the import service and then click on Import:

 
import service

After importing, click on Save Currency Rates:

 
save currency rate
 

You can also change the currency symbols. For this, go to STORES → Currency Symbols:

 
currecny symbole
 

Here, replace the currency symbol with your custom symbol and then just click on Save Currency Symbols:

 
save currency symbols
 

Launch your store and go to any product page. By default you will see the price in US Dollar:

 

demo product
&nbsp

Now change the currency by clicking on Euro from the top the page:

 
default
 

Now the currency will change to Euro:

 
euro
 

Wrapping Up

When you offer multiple currencies to your users, you can enjoy far more sales thanks to catering to an international audience! I hope that following this guide will help you setup Multiple Currencies in Magento 2. If you face any issue in its configuration, leave your query below and I will get back to you.

 
 
&nbsp

Author Bio

Syed Muneeb Ul Hasan is a Magento Developer and Blogger at Magenticians – a platform to learn Magento. He is an expert in PHP and Magento and prefers to educate users in the implementation of Magento. When not working, he loves to play games and watch cricket. You can follow him on Twitter.

How To Programmatically Empty Cache In Magento 2?

In some situations, you may feel a need to empty your Magento cache programmatically. That’s why we have come up with another “How to” blog to help you.

Read on to learn how to programmatically empty cache in Magento 2.

Step 1: First off, you need to define constructor – pass Magento\Framework\App\Cache\TypeListInterface and Magento\Framework\App\Cache\Frontend\Pool to your file’s constructor as explained below:

public function __construct(

 

Context $context,

 

\Magento\Framework\App\Cache\TypeListInterface $cacheTypeList,

 

\Magento\Framework\App\Cache\Frontend\Pool $cacheFrontendPool

 

) {

 

parent::__construct($context);

 

$this->_cacheTypeList = $cacheTypeList;

 

$this->_cacheFrontendPool = $cacheFrontendPool;

 

}


Step 2:  So the second step is to add the code mentioned below. You can add this code to the method where you need to empty the cache.

$types = array(‘config’,’layout’,’block_html’,’collections’,’reflection’,’db_ddl’,’eav’,’config_integration’,’config_integration_api’,’full_page’,’translate’,’config_webservice’);

 

foreach ($types as $type) {

 

$this->_cacheTypeList->cleanType($type);

 

}

 

foreach ($this->_cacheFrontendPool as $cacheFrontend) {

 

$cacheFrontend->getBackend()->clean();

 

}


And that’s it. Hope it helps you to effortlessly clear cache in Magento 2. In a case, if you feel this “how to” is like a heavy lifting for you, we at Envision Ecommerce have a robust team of certified Magento developers who is always ready to perform these kinds of heavy lifting for you. Contact us at https://www.envisionecommerce.com/ to perform this “How to” for you.

How to Add an Extra Column in Your Existing Magento 2 Table?

While doing Magento 2 programming, sometimes you feel a need to add an extra column to your already existing Magento 2 table. That’s why we have come up with another “How to” blog to help you. In this blog, we will use the UpgradeSchema.php file for adding extra columns in existing Magento 2 tables and this file should be under setup folder of the module. So let’s get started.

Here is an example of adding an extra column named as ‘tok_value’ under the table name ‘sales_order_payment’.

Step 1: Create a file called ‘UpgradeSchema.php’ in the setup folder of module, i.e.

(app/code/vendor/modulename/Setup/UpgradeSchema.php)

and make use of following code:

<?php

namespace Vendor\Module\Setup;

use Magento\Framework\Setup\UpgradeSchemaInterface;

use Magento\Framework\Setup\ModuleContextInterface;

use Magento\Framework\Setup\SchemaSetupInterface;

class UpgradeSchema implements  UpgradeSchemaInterface

{

public function upgrade(SchemaSetupInterface $setup,

ModuleContextInterface $context){

$setup->startSetup();

if (version_compare($context->getVersion(), '1.0.1') < 0) {

// Get module table

$tableName = $setup->getTable('sales_order_payment');

// Check if the table already exists

if ($setup->getConnection()->isTableExists($tableName) == true) {

// Declare data

$columns = [

'tok_value' => [

'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,

'nullable' => true,

'comment' => 'Token Value',

],

];

$connection = $setup->getConnection();

foreach ($columns as $name => $definition) {

$connection->addColumn($tableName, $name, $definition);

}

 
}

}

 
$setup->endSetup();

}

}

Step 2: After saving files, you need to run php bin/magento setup:upgrade. Now check your database and you will be able to find a new custom table and new column in ‘sales_order_payment’ table.

Note: If you face any issue, it may be due to the module that you have already installed. As you know, if the module is already installed then setup:upgrade command does not install schema. You will need to look into your setup_module table, delete your module from the table and re-run the php bin/magento setup:upgrade command.

Conclusion:

This How to blog on Magento 2 should get you started on adding an extra column to your already existing Magento 2 table. In a case, if you feel this “how to” is like a heavy lifting for you, then Envision Ecommerce has a team of certified Magento developers who can do this heavy lifting for you. You can contact us at [email protected] to perform this “How to” for you.

Tips To Enhance Magento 2 Performance

Come on! Stop complaining about the speed of Magento on the web. You are living in the era of techie world. You need to fix it by yourself or find some informative website talking about the Magento performance.

You might be afraid of losing sales due to the high abandonment rate or something like bad user experience. But you should not forget that you have chosen this platform instead of WooCommerce which is an extension of WordPress. One of the main reason that many business people choose this platform is its robustness along with the high level of functionality, scalability as well as customizability.

If you are here for the relevant information then you are at the right place to invest your time in finding the well-proven ways to speed up the performance of Magento.

Let’s have a look at the following points:

1. Update to the Latest Magento Version

Make sure your Magento store is running at the latest updated version of Magento. Basically, a newly updated Magento version comes with lots of bug fixes and performance enhancements. Here are three main steps to upgrade a Magento installation:

#1 Step:

First off, install a very latest version of Magento file tree in Magento shop.

#2 Step:

It’s time to run the installer which is accessible through the file tree available on the top of your outdated database.

#3 Step:

Now move over custom Magento extensions and themes from the old Magento version to the latest version.

Upgrading Magento version requires little more efforts compared to other eCommerce platforms. Here you can follow another in-depth tutorial to learn how to fully upgrade Magento.

2. Implement a Perfect Content Delivery Network (CDN)

Implementing a perfect Content Delivery Network (CDN) is another easiest way of Magento speed optimization. It works by reducing your Magento store load times and helps you to serve your assets (like javascript, CSS and product images) from many different locations across the globe so that they can reach quickly to your shoppers.

3. Image optimization:

Let me give you a clear idea that on average 56 percent part of a website is consumed by images. If you optimize your product images, the speed of your pages will increase in a dramatical way. You can optimize it by compressing them with the help of a tool called Photoshop as well as you can also make use of the extensions to auto-optimize them.

As we are here talking about the Magento 2, the following extensions are available for it:

TinyPNG Extension

Compressor Extension

Magento Extension like Gtspeed can be obtained with the help of GTMetrix. It provides optimized image along with the other benefits such as CSS/JS concatenation and minification.

You can have a look on how it shows before optimization and after optimization.

Enhance Magento
 

4. Concatenate CSS and JavaScript Files:

Magento 2 comprises of a built-in feature to concatenate your CSS and Javascript files into a single file. It will reduce a total number of HTTP requests which further helps in the loading of your pages fast.

Firstly, you need to navigate to the “System”, then “Advanced”, and then, “Developer”. Now, you need to change the drop down to “Yes” under both JavaScript as well as CSS settings and then click on the “save config”.


 

5. Enable Magento Compilation:

Magento has a special compilation feature which gives 50% performance boost. What actually happens all the application files of Magento are searched in an order whenever the page loads resulting in the file system reads. Only the Magento compiler reduces these reads just by copying all of the files in a single directory and caches those which are used more frequently

You just need to keep in mind one thing that when upgrading Magento, disable this feature.

6. Flat Catalog

It is the default functionality of Magento that it uses an EAV model to save and retrieve customer details and product data. Undoubtedly, this default model is responsible to make the Magento system more flexible, however, it badly impacts its performance because of longer database queries. This is where “Enabling Flat Catalog” option shines. By enabling this option, it will merge all product data and category attributes into a single table. Hence, it will quickly respond to MySQL queries and enhance your Magento performance. If your Magento based eCommerce store contains 1000+ products, this method can be very beneficial for you.

#1 Step:

Open your Magento admin panel and navigate to “Stores” -> “Configuration” -> “Catalog.”

#2 Step:

Choose “Yes” from the drop-downs of “Use Flat Catalog Category” and “Use Flat Catalog Product” under “Storefront.”

#3 Step:

Now tap the “Save Config” option.

#4 Step:

The last step is to clear the cache. The most recommended method to do so is to clear everything under /var/cache directory. Moreover, you can also do the same by first navigating to “System” -> then “Cache Management” and selecting the “Flush Cache Storage” option which is very similar to clearing all the cache.

cache management
 

7. Choose the fast web hosting:

Last but not least, make a choice for the reliable and fast web host. This is one of the most important decisions when we are trying to improve the Magento performance. Never get with the cheap shared hosting as they overcrowd their servers by making you fool. We suggest you go with the VPS such as Digital Ocean and Linode. So, you will get complete control of your resources. Moreover, ServerPilot is a great control panel which works with Magento and the VPS providers.

You can take Magneto Experts’ help in this regard. We at Envision Ecommerce have a team of very skilled Magento Certified Developers. To avail our Magento Speed Optimization services from our certified Magento experts, you can contact us at [email protected] or visit: https://www.envisionecommerce.com.

 

How to Create Backups for Your Magento 2 Store?

Even though Magento 2 is considered as the most secure platform, but there are always unexpected moments when your Magento 2 store could break. For instance, a server crash, exploits, hacking, bugs and other mistakes. Thus, it’s beneficial to have the backups of your Magento 2 store so that you can recover your store quickly whenever you need.

Note: Restoring a backup of your M2 store will only recover the data that was last saved by you.

There are two methods to create a backup for your Magento 2 store. The first one is to create a backup via admin panel and the second one is to run a backup through the command line of your server. In this “How To” blog, we will explain you both these methods and steps needed to create backups for your M2 store:

M2 Backup Via Admin Panel

Step 1: Login to your M2 admin panel

Step 2: Now navigate to this path System > Tools > Backups

Step 3: Here on this page you will find backup options:

The System Backup will be all of your files and the code itself.

The Database Backup will be your database tables consisting of items, such as, order, customer details, and admin configurations.

And, the Media Backup is going to be all of your media folders, plus the largest backup because it covers your images and videos.

.

Backups Tools System Magento Admin (1)

After the Backup selection, you will observe a page where you should name the backup file. We recommend you to use the data and the type of backup while naming the backup file (only for easy reference). Make sure you’re placing your store into a maintenance mode during the backup process. It will help you to limit the amount of data that is altering during this backup process. You can go for the final option if you prefer to isolate the media folder from the backup. As you know, it is the largest set of files, and for many Magento 2 stores, these elements are not going to alter as commonly as other sections of the store.

After creating the file, you can tap the filename to download the backup. Moreover, you can also restore your store back to your previous version of the store. By using this powerful tool, you can eliminate any of the new data on your Magento 2 store that was excluded from that backup process. You only need to ensure about the data you will be eliminating by restoring to any of your backup files.

Backups Tools System Magento Admin

MM2 Backup Through the Command Line

This method is mostly preferred by developers as it is very easy for them to implement into a Magento site. For more details on using and implementing this command line M2 backup, you can refer to Magento Dev Docs.

That’s all what you need to do for creating backups for your Magento 2 store. It is quite explained so you may have no issue while performing these methods. In case you face any difficulty, you can contact us at  [email protected] to get a helping hand from our certified Magento developers.

How to Programmatically Create Attribute Type Drop Down in Magento 2?

This blog post is the 2nd of our “Magento 2 Attribute Creation” blog series, you will now learn how to programmatically create attribute type drop down in Magento 2. If you have not read first blog post “How to Add an Attribute in Magento 2?” yet, we strongly recommend you to do so.

To Programmatically Create Attribute Type Drop Down in Magento 2, you need to follow the coding structure as mentioned below:

$eavSetup->addAttribute(

\Magento\Catalog\Model\Product::ENTITY,

'image_label',

[

'group' => 'General',

'type' => 'int',

'backend' => '',

'frontend' => '',

'label' => 'Select image label',

'input' => 'select',

'class' => '',

'source' => 'Eecom\TestMod\Model\Config\Source\Options',

'global' => \Magento\Catalog\Model\ResourceModel\Eav\Attribute::SCOPE_GLOBAL,

'visible' => true,

'required' => true,

'user_defined' => false,

'default' => '',

'searchable' => false,

'filterable' => false,

'comparable' => false,

'visible_on_front' => false,

'used_in_product_listing' => true,

'unique' => false

]

);

Source for dropdown will be ‘Eecom\TestMod\Model\Config\Source\Options’, where you have to create the options array for a dropdown.

Eecom -> Namespace

TestMod -> your module

Options.php

<?php

namespace Eecom\TestMod\Model\Config\Source;

use Magento\Eav\Model\ResourceModel\Entity\Attribute\OptionFactory;

use Magento\Framework\DB\Ddl\Table;

/**

* Custom Attribute Renderer

*/

class Options extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource

{

/**

* @var OptionFactory

*/

protected $optionFactory;

/**

* @param OptionFactory $optionFactory

*/

/**

* Get all options

*

* @return array

*/

public function getAllOptions()

{

/* your Attribute options list*/

$this->_options=[ ['label'=>'Select Options', 'value'=>''],

['label'=>'Bestsellers', 'value'=>'0'],

['label'=>'Newest', 'value'=>'1'],

['label'=>'Hot', 'value'=>'2'],

['label'=>'Favourite', 'value'=>'3']

];

return $this->_options;

}

}

}

We recommend you to keep an eye on our next upcoming Magento 2 related blog posts to take your Magento 2 competence to the next level.

How to Make Your Magento Store Halloween Ready?

It’s already October and Halloween is on its way!! It is the most exciting time for online merchants to get their Magento stores immersed in the Halloween spirit to grab big bucks.

Last year, sales for Halloween hit a record of $8.4 billion (a boost of $1.5 billion from 2015), continuing to grow these numbers this coming Halloween. It’s the peak selling time of the year for your Magento store and points toward the beginning of the holiday season.

But wait… is your Magento store Halloween ready?

As a Magento store owner, you should be ready to make your eCommerce store Halloween-ready, but how to achieve this target in the most efficient manner? Moving to Magento 2.x is the right answer to this question. Yes, you read that right! Magento 2.x is the future and sooner or later you have to move over it. So why not do this on this Halloween and grab the potential of Magento 2 & its features to support your eCommerce store for bigger Halloween sales. The following points describe about the benefits of moving your eCommerce store over to Magento 2:

Speed and Magento 2:

According to Kissmetrics, 47% of customers expect a web page to get loaded in just 2 seconds or less. It means that a single second delay can lead to 7% decrease in conversions. Based on these reports, it would be right to say that speed and Magento store performance are linked to each other.

Store Speed Benefits from Magento 2 platform include:

End-to-end checkout times increased by 51%

Near-instant SRT (Server Response Time) for catalog browsing

Potential to handle up to 39% more orders per hour

66% faster server response times on add-to-cart request

Magento is aware that store speed and conversions are linked to each other. In addition to this connection, Magento also knows that more customers make a purchase due to the faster content delivery. That’s why Magento gave birth to Magento 2 platform to upgrade Magento 1 in these areas. These core performance improvements of Magento illustrate that they have been serving their customers (eCommerce merchants) in the best ways.

Integral Performance Improvements in Magento 2

Magento 2 comes with several integral performance & speed related enhancements, which make it smoother for eCommerce merchants to get benefits from the latest technology (compared to Magento 1). These performance and store speed enhancements include the followings:

1. Page Merging & Minification

The procedure of collecting all same type files under a single file is called as merging. In the case of Magento, Magento combines all of the CSS files and compile them under a single file to serve during the page load.

On the other hand, minification is a method to reduce the page weight by eliminating non-required elements from the code. However, in case of Magento 2, there is a huge reduction in the file size (the browser has to serve) for almost all CSS, JS and HTML files. This file size reduction is due to the removal of white space, comments and other non-required elements required to execute and serve the code. The main objective of the reduction is centred on limiting the data amount required to serve a Magento page.

Magento 2 utilizes jShrink (industry standard minification engine) for the Javascript and cssmin for CSS minification. It enables users to alter the minification way if required. Here we will practically show you how to merge and minify CSS files in your Magento store:

How to Do CSS Files Merging and Minification?

a). Open your Magento admin panel.

b). Navigate to  Stores > Settings > Configuration > Advanced > Developer > CSS Settings

natvigation to store

c). Now, you can go with merging or minification (or both) of CSS files ( as you can notice both these options under ‘CSS Settings’ section)

Note: The minification process can’t be applied if your store is under Developer mode.

a). Open your Magento admin panel.

b). Navigate to  Stores > Settings > Configuration > Advanced > Developer > JavaScript Settings

navigation to store

c). Now, you can go with merging or minification (or both) of JavaScript files (as you can notice both these options under ‘JavaScript Settings’ section)

Note: The minification process can’t be applied if your store is under Developer mode.

2. Browser Cache

Magento 2 can leverage the benefits from browser caching mechanism to load page much faster compared to Magento 1. Yes, it’s indeed true! All CSS and JavaScript are now cached in Magento 2 platform to lessen the data amount requires to be downloaded during every page load. Using this browser caching further leads to a better storage of assets that enhance your content efficiency for your users.

There are multiple cache managing options available under your Magento 2 store’s admin panel:

a). Open your Magento 2 store admin panel

b). Navigate to System > Tools > Cache Management

navigate to system

3. Asynchronous Functionality

Magento has made changes to its basic architecture while comparing Magento 1’s basic architecture with Magento 2’s. And this is where a way to improve the website (On Magento 2 platform) performance comes into existence, i.e., multiple functions, which can occur interdependent of each other.

Magento Commerce allows developers to split the database and use it for different functional fields (like checkout pages, cart, etc.) of the Magento application. This database separation further helps in scaling load from your Magento site as it allows concurrent users to make process requests without affecting other checkout elements. In short and simple words, you can allow multiple customers to use your store’s cart feature at the same time and it will not affect your online store performance.

Similarly, Magento has made enhancements in checkout, order management and product data so that these functionalities can occur independently without hurting your Magento store performance.

4. Varnish Caching Out-of-the-Box

Backed by a new feature, i.e. Varnish Caching out-of-the-box, Magento 2 can enhance your store speed and performance by hundreds of times. This feature mainly helps in lessening the load on your server while making content quickly & smoothly accessible to your viewers. However, we recommend you to take help from a Magento development agency to correctly configure Varnish caching because Magento 2 only supports these versions, such as 3.0.5 or later versions or any iteration of versions 4.x. Our Certified Magento Developers can help you in configuring Varnish Caching correctly at your Magento store.

PHP 7

Magento 2 can work with PHP 7. Even it operates twice as fast on PHP 7 than PHP 5.6 and also consumes 30% less memory. So make sure your server is running PHP 7 to leverage the advantages of this Magento performance improvement. However, your PHP version must match your version of Magento. We at Envision Ecommerce resolved several such issues of Magento store owners by correctly aligning their existing PHP versions with the Magento system requirements.

Other External Factors Affecting Performance

Hosting Provider and Server Configuration

Your hosting provider and server configuration are other external factors (outside of your Magento admin) that affect your Magento store speed. To avoid these factors’ negative effects on your site speed, you should ensure that your server meets the minimum system requirements of Magento. It would be wise to work with a professional hosting provider to host your Magento site and all of its requirements.

Content Amount:

It is the other major element that will impact your Magento store performance. A large amount of content (in terms of images and videos) available on your store pages, makes it slow to load pages. Thus, it will surely hit your store performance.

To avoid such performance issues, we recommend you to reduce the amount of content on your store pages. Moreover, you can optimize your images for the web. As an eCommerce store owner, you will have many product images on yourstore. So make sure to upload only compressed image files in the JPG format. If you’re still not able to optimize your Magento store, you can hire our Certified Magento Developers for professional Magento website optimization services.

How Envision Ecommerce Can Help You on This Halloween?

We at Envision Ecommerce have been developing Magento eCommerce stores and Magento extensions by Demand, since our inception in the eCommerce world. We have a team of Certified Magento developers with a Magento Solution specialist which is capable of making your Magento 2 migration simple and smooth, and what’s more, you can have this Magento 2 Migration in just $1999. Yes, you read that right!

Plus, there is one more surprising Halloween offer for you, i.e. 30% OFF across the entire Envision Store. Apply promo code HALLO30% to grab this scary-good Halloween offer, valid till November 1, 2017.

So, come and enjoy a money saving Magento 2 Migration along with special Halloween offers, before it gets disappeared into the dark night of this scary Halloween.

Magento is getting better and better after the advent of Magento 2. If you also want to migrate to Magento 2 Platform on this Halloween, it can be a daunting task for you. However, if your thought is to stay with Magento 1 for the time being, it would be best to start a conversation with a Magento solution specialist about how to best tackle the future of your online business.

How to enable Magento 2 Layered Navigation?

Layered navigation is one of the most significant features of Magento 2 that makes your products easy to find for your customers based on different product attributes or price. This “how to” blog will guide you thoroughly in managing Layered navigation in your Magento 2 store.

In Magento 2, Layered Navigation is basically a collection of different product attributes (like product price range, color, size, etc.) that works as a filter for your customers to narrow down their product search. You can notice it under the left column of your Magento 2 category pages and other search results pages.

Magento 2 Layered Navigation

Now, the question is how to enable this layered navigation in your Magento 2 store. That’s why we have complied some steps for your help. You just need to follow these steps to enable layered navigation in your Magento 2 store:

Configure Layered Navigation

This configuration of layered navigation tells about the appearance of product count in parentheses after each attribute, and the size of step calculation utilized in price navigation. Just follow the following steps to configure layered navigation:

Open the admin panel, navigate to Stores –> Configuration

Select “Catalog” after expanding “Catalog” section

Set “Yes” for Display Product Count

Set “Automatic” for Price Navigation Step Calculation

Now click on the Save Config

Types of Layered Navigation in Magento 2:

There are two types of layered navigation in Magento 2. These include:

1. Layered Navigation with Filterable Attributes

This type of layered navigation allows your customers to search products by filtering them via category or attribute. Here is an easy way to set up a basic navigation:

Step 1: Create the properties for attribute

Open the admin panel, navigate to Admin Sidebar –> Stores –> Product

Open the attribute in edit mode

Now look at the left panel and tap the Frontend Properties

Choose either Filterable (with results) or Filterable (no results) option for “Use In Search Results Layered Navigation

Now set “Yes” for “Use In Search Results Layered Navigation

*Note: If you need to add any attribution in layered navigation, you can repeat these afore-shared steps.

Step 2: Make the Category an Anchor

Look at the Admin sidebar –> Navigate to “Categories” Under “Products

Under categories tree, select a category where you need to apply layered navigation

Now set “Yes” for “Is Anchor” field under “Display Setting” tab

Tap the “Save Category” to complete this step

Step 3: Now Test the Results at Your Storefront

Once done, go to your storefront and select the category in the top navigation. After selecting it, the layered navigation with associated filterable attribute options will appear.

2. Layered Navigation with Price Navigation

In addition to searching by category or attribute, you can use price navigation to distribute products via price range in the layered navigation. You can divide each range in intervals. Here are some different methods to calculate price navigation:


Automatic (Equalize Price Ranges): the navigation steps are calculated automatically

Automatic (Equalize Product Counts): the navigation steps are calculated automatically

Manual: the price navigation steps are calculated manually and allows you to define a division limit for price intervals.

To configure each afore-shared type of Price Navigation, you can follow the steps mentioned below:

Step 1: Look at the Admin sidebar and Navigate to Stores –> Configuration –> Catalog –> Catalog

Step 2: Under “Catalog”, choose one option among the three available there.

Automatic (Equalize Price Ranges)

a) Set “Yes” for “Display Products Count

b) Set “Automatic (Equalize Price Ranges)” for “Price Navigation Step Calculation”. The standard algorithm will be used to automatically calculate price navigation steps.


Automatic (Equalize Product Counts):

a) Set “Automatic (Equalize Product Counts)” for “Price Navigation Steps Calculation

b) Set “Yes” for “Display Price Interval as One Price” only if you have some different products with the same price and you need to showcase a single price

c) Now, enter the threshold value in “Internal Division Limit” for a number of products within a price range. This range can’t be further divided beyond this ‘Internal Division Limit’. And, the default value is 9.

3. Manual

a) Set “Manual” for “Price Navigation Steps Calculation”.

b) Under “Default Price Navigation Step”, enter a value to specify.

c) Now fill a number (up to 10) under “Maximum Number of Price Intervals Allowed”.

That’s it! Now utilize these steps to enhance your customers’ experience at your Magento 2 store and increase your ROI. If you have any query or concern regarding this “How to” blog or need any kind of assistance, our Magento Certified Developers are ready to lend a helping hand to you. Contact us for more information at [email protected].

Get your Magento 2 Layered Navigation Extension and increase your store ROI.

How to Create Bundle Products In Magento 2?

There are several product options offered by Magento 2, and ‘Bundle Product’ is one of them. However, each product in the ‘Bundle Product’ option can be comprised of the following product types i.e. Simple Product & Virtual Product. But, most of the individuals have a few disarrays amongst Grouped products and Bundle products in Magento 2.

So before we get into ‘How to create Bundle Products in Magento 2?”, let’s first talk about the distinction between Magento 2 Grouped products and Bundle products.

Grouped products in Magento 2 offers a collection of products on one product page with a fixed price that users cannot customize it. While in Magento 2 Bundled Products, the product price is both; fixed as well as dynamic, and the user can customize the group by choosing the items from the given alternatives.

Now scroll down to learn, “How to create Bundled Products in Magneto 2?

Step 1: Open-up your store’s Admin panel and move to Products → Catalog

Products Catalog

Step 2: Tap on the Bundle Product via Add Product dropdown.

Bundle Product

Step 3: Fill out the details. Plus, facilitates you to set SKU, Price, Weight, and even dynamic price as per your requirement in the bundle product.

Note: We’ve mentioned the Product Name as Combo (Bag + Watch).

3

Step 4: Go to the “Bundle Items” section, and set “Ship Bundle Items” field whether together or separately.

4

Step 5: Then, tap on Add Option.

9

Step 6: In Option Title field, enter Bag and in Input Type field, select Radio Buttons from the dropdown, and then tap on Add Products to Option.

5

Step 7: Choose the products (Bag 1 and Bag 4) and then click on Add Selected Products field to add the particular product into it.

6

Step8: Similarly, you can add another product (Watch) to this option.

After adding all the products to the particular option, click on the Save button, given at the top of the page!

Step 9: Once you have done with all the above-mentioned steps, Go to the Bundle Product page and you’ll see the outcome, like the following screenshot.

7

Step 10: For customization, just tap on the Customize and Add to Cart field and your screen will appear the following options.

8

These are the steps that you carefully need to follow while creating Bundled Products in Magneto 2!

Though, if you face any difficulty or require more clarity regarding this “How to” or would like to add your own suggestions to this solution, just leave a comment below, or you can query at [email protected]. We have a Certified Magento Development team at Envision Ecommerce, who will provide a positive solution to all your Magento related queries with positive ROI!

How to Improve the Security of Magento 2 Store?

Magento 2 – the most prominent open-source ecommerce platform, is widely utilized by the global merchants. That’s why, today we have created this post to give some incredible tips to Magento 2 merchants, so that they can utilize to enhance the security of their Magento 2 store. As, ‘Security’ is the only thing that plays a significant role in the success of an e-commerce store.

If you’re running a Magento 2 based ecommerce store, then it is necessary for you to scroll down to know – “How you can actually secure your site as well as clients’ information?”

Set a Strong Password and Admin Name

It is highly recommended to Magento store owners to utilize only a complex admin name as well as password to forestall unauthorized access. You can simply utilize a combination of numbers, symbols, uppercase, and lowercase to generate a strong secret key or utilize a default name to try or login to your account. As, this technique will guarantee to make difficult for hackers to know your site’s sensitive detail.

Admin Name and Strong Password Magento 2

Regularly, Update Your Magento 2 Store With the Latest Version

To avoid any kind of security blunders, ensure that you’ve frequently update your Magento 2 store with its most recent adaptation. Because, each version of Magento enhances the security via patches and slaughtering known vulnerabilities, which makes difficult for hacker to attack your Magento 2 store easily.

Update Magento 2 Store Version

Utilize a Custom Admin URL

Rather than utilizing the default admin URL, it is exceedingly prescribed to change your Magento 2 admin URL to an innovative one. As, it is another great practice to secure your Magento 2 store.

Custom Admin URL

Make a Backup

In an advanced technological world where even hackers are more agile – essential to have a complete backup of your Magento 2 store, including file and database, so that you can easily restore your Magento 2 and keep it in good working conditions.

You can create backup of your store on the server, using magento website backup service.

Backup of Magento 2

Enabling Captcha

Enable this wonderful Magento 2 ‘Admin Login Captcha’ feature to keep hackers as well as bots away from your Magento 2 stores. If you think – How…? Then just follow the following steps:

– Through Admin Panel of your Magento 2 stores; Go to ‘Stores → Configuration’

– And, afterward under the ‘Advanced’ tab, click on ‘Admin’, so that you can unfold the section named ‘CAPTCHA’, where you’ll get the option to select ‘Yes’ via ‘Enable CAPTCHA’ in the drop-down menu of ‘Admin.’

– After that, you need to choose ‘Admin Forget Password’ from the ‘Form’ options, so that you can set the rest of the values as per your requirement.

– At last, save the settings by clicking on the ‘Save Config.’

Enable Captcha Magento 2

Protect Your Account via 2 Step Verification

When Login to the Admin Panel, additional or two-step verification is highly required to protect your account. As, this process, will allow you or admin to verify and access the admin panel with a security code that you or admin will receive at his/her email id or mobile phone, after signing in to the account. However, this act works as an extra security layer which makes troublesome for assailants.

Limit Store Admin Access to Your IP Address

If you want that no one can access your Admin panel, then simply restrict your store admin access by IP Address. However, this IP address will leave a considerable measure of programmers into hacker’s mind when they attempt to get to your Magento 2 store.

Secure Socket Layer Certificate

SSL (Secure Socket Layer) secures a site by setting up a scrambled connection between a web server and the browser. It is highly important for all sites, especially who deals in online payment transactions. As, SSL will keep the ‘Data’ private that goes between this link. So, add Secure Socket Layer certificate to your Magneto 2 stores to improve its security and protect the sensitive detail of your users like login credentials, credit card information, and other data.

Utilize Dependable Sources for Extensions

Extensions are the most crucial things for any Magento 2 stores. So, make sure the extension you are installing, has been created by a dependable or certified Magento developer, and has a great track record. You can get authorized yet reliable Magento 2 extensions for all your business needs at most competitive prices from the India’s leading Magento Based Company – EnvisionEcommerce.

Configuration of Action Log

Configuring ‘Action Log’ is one of the best feature, if you use Magento 2 Enterprise Edition. As, this element will encourage you to track the activity of administrator and see the entire log history as well. Plus, it also facilitates you to check the source (along with IP) of all the activities in your administration panel. If you use Magento 2 community edition, then you need to install 3rd party extension for the specific feature.

That’s it! Now utilize the above-mentioned tips to secure your Magento 2 stores and increase your ROI with no stresses of security slips.

You can take professional help in this regard. Contact us at Envision Ecommerce for all your Magento e-commerce needs. Yes, we at Envision Ecommerce have a highly qualified and certified team of Magento experts, who will keep the security of your Magento 2 store at the top of their list and help you achieve all your designated business goal. Contact us for more information.