Monthly Archives: October 2018
Transactional emails in Magento 2 are the primary communication channel you use to notify customers about their orders, shipments, refunds, and other details related to their accounts. Magento enables you to load and customize multiple default email templates and add some custom Magento email variables to personalize them.
That's why it is crucial for you to customize Magento email templates and adjust them to your business objectives.
In this guide correspondingly, you'll learn how to customize email templates in Magento 2.
Check out this short video on how to manage email templates in Magento 2 or follow the instruction below.
1. Load the Template
In order to manage the transactional emails in Magento 2 go to Admin Panel > Marketing > Communications > Email Templates.
Then, choose an email template you want to edit or you can add a new one by pressing the Add New Template button.
When you are adding a new template, please choose an email template you want to base it on in the
There are cases when you want to change page URLs or disable some page and avoid 404 error. Unless you create Magento 2 auto redirects, you need to create 301 redirects manually.
In order to add 301 redirect in Magento 2 take the following steps:
1. Go to Admin Panel > Marketing > SEO& Search > URL Rewrites.
Magento 2 HTML <head> is a place where you put any custom code to verify you're the website owner or add some custom integration with
, Google Analytics or any other tracking system. In this guide, you'll learn how to do that in a matter of a few clicks.Add Ownership Verification to Head
To add custom code to the HTML <head> in Magento:
1. Navigate to Admin Panel > Content > Configuration.
2. Choose the store view you want the head tag to be changed on or select Global to change it on every store view.
3. Find the HTML Head section and add your code in the Scripts and Style Sheets field.
Don't forget to press the Save button once you finish and flush cache.
Watch this short video to learn how to add custom code to the Magento <head> HTML tag.
Add Tracking Scripts to Head
If the code you add to the HTML head is for data tracking, you need to know that loading that script will influence your store performance. Thus, if you want to set up data tracking with
Since Magento offers you sophisticated tools for pricing and discounts, targeting specific customers or products is much easier. However, sometimes the necessary attribute is missing from the rule conditions, whether you're creating a cart price rule or dynamic category.
Don't rush to give up on the idea of creating a custom catalogue rule or product labels. You can fix this and we'll show you how.
Why Attribute is Missing in Rule Conditions?
You create attributes in Magento 2 to assign certain characteristics to a product. While we're focused on the type of attribute (text, dropdown, etc.) and how it's displayed on the frontend we overlook other useful options.
So the reason why an attribute is missing from rule conditions in Magento is one disabled attribute option.
How to Add Attribute to Sales Rules?
Once you know what attribute to add to the rule conditions, navigate to Stores > Attributes > Product and select it from a list. Then switch to the Storefront Properties tab and enable
Imagine that a customer comes to your support reporting an issue with placing an order. What do your support managers do first thing? Request customer's login details to check the issue "from the inside out". Then enter those details and log into a customer's account.
While it doesn't seem that long, requesting and entering login credentials takes a lot of time. It would be much faster to just log in as a customer without all those details, wouldn't it?
makes this possible. So, today you'll learn everything you need to know to log in as a customer in Magento and monitor the process to avoid issues.
Important note: Magefan Login as Customer Extension was included in the Magento 2.4.0 code. So, if you have issues using our module on Magento 2.4.x you need to disable either our module or Magento login as a customer feature.
Configure Login As Customer Extension
Before you get to the main part, you need to fill out a few Login as Customer settings.
If you don't want to reindex Magento 2 from admin panel, the other way is to run reindex via CLI.
To reindex Magento 2 using CLI (Command Line Interface), navigate to your Magento folder in a terminal and use the following command:
php bin/magento indexer:reindex
It will reindex all indexes. Here is an example of the successful reindex execution:
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
Category Products index has been rebuilt successfully in 00:00:01
Product Categories index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:01
Product EAV index has been rebuilt successfully in 00:00:02
Stock index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:01
Catalog Product Rule index has been rebuilt successfully in 00:00:00
Catalog Search index has been rebuilt successfully in 00:00:02
In case you
Magento is one of their most popular eCommerce platforms that continues to release new versions with updates and bug fixes.
To keep up with the pace of your competition, benefit from new features, and keep your store safe, you have to update Magento regularly. However, before you download Magento you should be aware of the version you currently use.
That said, there are several ways to check Magento version. In this article, we'll look into each of them in detail.
1. Check Magento version via Admin Panel
For starters, we can check Magento 2 version from the admin panel. To do that, log into your Magento admin panel and scroll down to the footer. You'll see your Magento version in the bottom right corner.
2. Check Magento version using CLI
Besides, you can check Magento version via the command line. To do this navigate to your Magento 2 root directory and run the following command:
php bin/magento --version
The result should be the following:
Magento CLI 2.4.6