Page 21 - Blog
News, insights and resources from the world of e-commerce
- 3 min read
Magento admin security is one of the most important things on your website to pay attention to. Even if you have an extensive customer database and great conversion rates, one security breach is enough to ruin all of that.
Though the platform has a comprehensive approach to security, you have to cover all of the smallest details to . You can never overdo it.
In this article, we want to talk about Magento admin security and how you can configure it to avoid brute force attacks and other malicious actions.
Step 1: Configure Magento Admin Security Options
1. Navigate to Stores > Configuration > Advanced > Admin > Admin Security.
2. If you want to prevent admin users from logging in from different devices disable the Admin Account Sharing option.
3. Choose the method to manage password reset requests in the Password Reset Protection Type select box.
By IP and Email — admin user can reset their password in the online mode after a reset notification response is sent to the emailihor
- 5 min read
Email is one of the oldest and most effective ways to streamline store-customer communication. In particular, transactional emails such as account registration, reset password, order confirmation are essential to every Magento 2 store.
By default, transactional emails are sent using server mail configurations. However, unfortunately, they often do not work, or merchants want to use third-party SMTP services that ensure precise email deliverability.
Magento 2 SMTP Extension bridges the gap between untrustworthy default server mail configurations and successful email delivery in case your server doesn't provide SMTP configuration by default.
There are multiple modules to choose from. However, in this article, you'll learn about the best for SMTP integration to consider for your store.
Without any further ado, let's get to the specifics.
Comparison: Best Magento 2 SMTP Extensions
Vendor
Extension Name
Price
Guarantees
Rating
Magento 2 SMTP Extension by Magepal
Free
No guarantees Github Moduleihor
- 4 min read
Hello there, Magento fans!
Today we have prepared the last but not the least News and Updates digest of the year from Magefan.
So, catch the last Magefan news and updates!
With the constant cycle of updates and new releases of our extensions, it should be understood that not every version of Magento 2 platform can remain supported forever. We would like to notify all our customers that Magento v2.2 will no longer be supported starting from January 1, 2022.
This means that no updates, no fixes, no new versions will be available for Magento 2.2 version. If you still use this version we strongly recommend you to update it to the latest version (2.4.3v) to be able to enjoy smooth and uninterrupted work of all Magefan extensions for Magento 2.
And now let's move on to the module updates.
New extension has been released!
If you want to improve your customer engagement - you definitely need this tool in your arsenal. This extension integrates Magento 2 Blog by Magefan and Magento 2 AMP extensionihor
- 1 min read
Coupon Code Links in Magento boost your sale campaigns and allow you to improve customer shopping experience in your store. They help to apply coupon codes automatically and avoid redundant steps in customer's journey.
To enable them on your store you need to extension first.
Once the extension is installed, all you need to do is configure it.
To Configure Coupon Code Links in Magento 2:
Go to Stores > Configuration > Magefan Extensions > Coupon Code Link > General.
Enable the extension.
Upload the Popup Image that will appear along with the Success Message you enter.
In case the coupon code is not applied, you need to specify the Error Message text.
Don't forget to Save Config and start creating automated coupon codes. Check this guide on how to , and learn more about the coupon code link and where to apply it.
- 2 min read
Coupons play a vital role in every sale and special offer you provide on your Magento store. Even though Magento provides you with the by default, you should look for ways to auto apply coupons in Magento.
Usually, when you display discount codes in CMS blocks or add them to banners, customers have to manually type or copy and paste coupon codes on checkout.
Applying coupon codes automatically in Magento reduces the steps required to apply the coupon and increases the chances of people actually applying it.
So, what you need in this case is Extension. We'll show you how easy it is to auto apply coupon codes in Magento using this quick solution.
Auto Apply Coupon Codes in Magento
Start setting up the cart price rule.
Enter the Coupon Code you'd like to use and get the Coupon Code Link generated automatically.
The coupon code contains two important elements we want to point your attention to — coupon code and redirect URL. Once customers click on the link they will be redirected to theihor
- 2 min read
Running a requires a lot of work in various aspects. One of them is translating your content so that customers receive a seamless experience.
While you will probably and categories first, you shouldn't forget about the CMS pages and blocks.
So today you'll learn how to translate CMS blocks in Magento 2, using default setup or third-party tools.
Translate CMS Blocks in Default Magento
Unlike products and categories, CMS blocks don't share the same ID. Thus, to translate them, you simply have to create a new . So, just navigate Content > Elements > Blocks > Add New Block and add a translation for a certain CMS block.
Note: the identifier of the translated block should remain the same as the identifier of the block you are translating. That's required for the right block to be displayed on the right store view.
Next, it's important to select a Store View to assign a CMS block to.
Translate CMS Blocks with the Translation Extension
The biggest drawback when translating CMS blocks in Magentoihor
- 3 min read
Sales season is a great time for you to win customers with the best deals. However, you have to remember that your store is not the only one with something to offer.
That is why you should explore the most effective ways to attract customers. One of them is Magento 2 Buy X Get Y Free sales rule which we're going to cover today.
So, the Buy X Get Y Free is a cart price rule that allows customers to get Y quantity of a product for free if they purchase X quantity of the same product.
Create Buy X Get Y Free in Magento 2
1. Fill out the information.
2. Define the cart Conditions that determine when the rule is triggered (the cart state). If the conditions are not met, the order won't qualify for a discount.
3. Set up Actions.
Select to Apply the Buy X get Y(discount amount is Y) discount.
Specify the Discount Amount. It is the number of products that customers will receive for free.
Enter the Maximum Qty Discount is Applied To to limit the number of items you want to give out for freeihor
- 2 min read
Invoice is an element of the that is as important as the order itself. An invoice is a document that signifies the "agreement" between a store and a person and contains all of the order details.
Usually, order invoices in Magento 2 are created automatically, once the payment was authorized or captured by the store. However, there are cases when you need to create an invoice programmatically in Magento 2.
This is just the case. We will show you how to do this is in just 1 step.
To create an invoice programmatically in Magento 2 create a new model in your module, e.g: app/code/Vendor/Module/Model/CreateInvoice.php with code:
<?php
namespace [Vendor]\[Module]\Model;
use Magento\Sales\Api\OrderRepositoryInterface;
use Magento\Sales\Model\Service\InvoiceService;
use Magento\Framework\DB\Transaction;
use Magento\Sales\Model\Order\Email\Sender\InvoiceSender;
class CreateInvoice
{
protected $orderRepository;
protected $invoiceService;
protected $transaction;
protected $invoiceSender;
publicihor
- 6 min read
Placing orders online significantly differs from the experience customers get when shopping offline. There are a lot of risks included and steps eCommerce customers are afraid to take.
So, the Magento order fulfillment process means making sure customers receive the best shopping experience while you cover the seamless order processing.
In this guide, you'll learn everything you need about order fulfillment in Magento 2. We'll walk you through all of the steps — from receiving orders, creating invoices and shipments to covering refunds, changing order statuses and deleting orders.
We've got a lot to cover, so let's start.
General
Once a customer places an order, it is automatically created in the Magento 2 system. It gets the Pending status which signifies the pending payment. This marks the beginning of the Magento 2 order processing workflow.
Until customers pay, they can change some order information in their account. You as well can also hold or cancel the order from the backendihor
- 1 min read
To set up Elasticsearch 7 on Ubuntu 20.04 please run these simple commands one-by-one in the command-line interface:
sudo apt -y install gnupgwget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -sudo apt -y install apt-transport-httpsecho "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.listsudo apt updatesudo apt -y install elasticsearch//To install a specific Elasticsearch version, specify it in the command:sudo apt -y install elasticsearch=7.10.2
By default, Elasticsearch uses 2GB RAM memory for JVM. If your server has limited memory size you can reduce it to e.g. 1gb or 512mb. To do this edit the jvm.options file, run the command:
sudo nano /etc/elasticsearch/jvm.options
and change the
-Xms2g-Xmx2g
to
-Xms1g-Xmx1g
Save the jvm.options file.
Next, enable and start elasticsearch service, run the commands:
sudo systemctl enable elasticsearch.service && sudo systemctl restart elasticsearch.serviceihor
- 2 min read
The reason why you've landed on this page is the Service Temporarily Unavailable Magento 2 error that appeared when you tried to access your admin or storefront.
Any errors that appear on your Magento 2 store can cost you not only time but money. So eliminating it as quickly as possible is a top priority.
For those who face this error or want to be prepared beforehand, we're going to provide a quick guide.
Why Magento 2 Service Temporarily Unavailable Error Appears?
Error 503 Service Temporarily Unavailable Magento 2 is one of the . It appears when you , or try to set up your Magento 2 store or update Magento.
Service Temporarily Unavailable error is usually followed by the messages like:
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The server is temporarily unable to handle the request.
This gives us everything we need to understand the reasons behind this message:
server can't handleihor
- 6 min read
Magento 2 product attributes are the properties of the product that help customers filter through the product variations and find the items they need. This correspondingly influences their experience with your store and helps to make a purchasing decision.
In Magento, you can use built-in product attributes or add custom ones. However, when you create product attributes in Magento 2 you can get quite overwhelmed due to many options. But not any more.
Today, you'll learn everything you need to know about Magento 2 product attributes, how to create, use and edit them using the .
What are Magento Product Attributes?
Magento product attributes are certain characteristics of a product in your store. They provide detailed information about a product and serve as criteria for advanced search, product comparison, layered navigation and promotions.
You can create multiple product attributes in Magento. There is no limit. However, each attribute will have only one input type you will assignihor
- 5 min read
Braintree is the all-in-one, fully-customized, fraud-free payment solution that is supported in many different countries around the globe: US, Canada, Europe, Singapore, Hong Kong, Australia, New Zealand, and Malaysia.
Moreover, it allows you to accept payment from various systems like PayPal, Bitcoin, Apple Pay, GooglePay, and other Country and Local payment methods.
No wonder it is one of the most popular along with .
So, here you'll learn how to configure Braintree payment method in Magento and explore all of its options, including Braintree Apple Pay Magento and Google Pay.
To configure Braintree Payment in Magento 2:
1. Complete Basic Braintree Settings
Enter a Title and choose the Braintree Environment: Sandbox or Production.
Note: If you test the payment with sandbox, use card numbers recommended by Braintree, and don’t forget to switch to Production before going live.
Choose the Payment Action.
Authorize — purchase is approved and funds are put on hold until the merchant “captures”ihor
- 2 min read
Magento 2 Preferences is used by the to extend the default implementation. You can use preferences in Magento 2 to implement some interfaces or to rewrite/override the existing PHP classes and their methods.
In this article, you'll learn how to do it and discover useful examples that will help you along the way.
Overriding classes in Magento 2
If you want to rewrite existing class methods with Magento preference follow the steps below:
1. Create the etc/di.xml file in your extension folder:
app/code/MyCompany/ModuleName/etc/di.xml
2. Add this code to it:
<?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\Block\Onepage\Success" type="MyCompany\ModuleName\Block\Onepage\Success" /></config>
Use attribute "for" in the "preference" tag to define the PHP class that you want to override. Use attribute "type" to define the PHP class that willihor
- 1 min read
Magento 2 widgets allow you to display the static or dynamic content in CMS blocks or pages. It could be anything from catalog product lists to recently viewed products.
Magento provides widget functionality by default. However, it can't have it all. So, sometimes you implement your own widgets.
In this article, you're going to learn more about one of them — and how you can customize it.
Unlike other product list widgets in Magento, Product Widget Advanced allows you to add single products to your store pages. It contains all necessary information customers might need to follow: images, price, descriptions, reviews.
However, sometimes you might need to customize it as per your needs.
To customize product widget in Magento 2:
Copy the app/code/Magefan/ProductWidget/view/frontend/templates/default.phtml file from the extension folder and save it under cutom-template1.phtml name.
Add the necessary changes by customizing the code in the file and save the file.
Upload it to your serverihor
- 9 min read
PayPal is considered one of the top recognized around the world. That’s why adding it to your Magento store checkout makes it more attractive for customers.
Moreover, PayPal checkout is more secure for both parties. Customers can pay by credit card or from their PayPal account with no risks while merchants can be sure PayPal will handle the transaction.
Besides, there are multiple PayPal payment options in Magento that make it even more flexible and versatile.
So, in this article, you will learn how to configure various PayPal payment solutions to set them up along with other .
To offer PayPal as a payment option on your Magento store you have to register a PayPal business account or PayPal Payflow account.
Before we go to the PayPal payment options, let’s review how you can set up a PayPal account.
To set up a PayPal merchant account:
1. Log in to your account on manager.paypal.com.
2. Navigate to Service Settings > Hosted Checkout Pages > Set Up.
3. Make the following configurations:ihor
- 6 min read
PayPal is one of the most famous while Magento is one of the most popular eCommerce platforms. So, it would be strange if it didn't allow you to integrate PayPal into your online store.
There is a variety of PayPal payment methods you can configure. However, in this article, you're going to configure PayPal Express Checkout in Magento 2.
It is probably the most popular PayPal payment method since it accepts almost all credit or debit cards and worldwide currencies.
With PayPal Express customers are redirected to the secure PayPal page where they fill out the payment details. Then they return to your website to finalize the order. Only after this, PayPal processes the transaction.
Besides, if you choose the PayPal Express Checkout, the PayPal button that allows your customers to checkout in one step will appear on the checkout.
To configure PayPal Express Checkout you need to fill out the required, basic, advanced, and additional features. But first, you need to go to Stores > Configurationihor
- 1 min read
To keep your customers satisfied with the diverse catalog you should always pay close attention to the . With a huge store with thousands of products managing stock status might be a daunting task.
However, we've got one feature that will make this process a little easier.
Magento allows you to configure the stock status in a certain way, so once there are only a few products left, the product will become out of stock. You can also decide whether to display the out-of-stock products on the storefront.
However, sometimes you need to change the stock status yourself from the admin panel. It is easy to do for one product, but when it comes to multiple products, the process becomes unbearably long.
So, here you will learn how to change product stock status in bulk directly from the grid:
1. Go to Catalog > Products and check the product(s) you want to change the stock status for.
2. Select the Change Stock Status option from the mass actions dropdown and choose whether to mark products as Outihor
- 1 min read
Categories play an important role in your Magento 2 store since they help you to structure your catalog. They also allow customers to find products faster based on certain criteria you created your categories upon.
However, sometimes you need to remove products from all Magento categories or .
Usually, you need to go to a product view page, remove all categories it is assigned to and repeat it for other products.
Not very time-effective, isn't it?
In this article, you'll find out how to remove products from all categories in bulk or remove all categories from a product directly from the grid.
To remove product from all categories in bulk in Magento 2:
1. Go to Catalog > Products and check the products you want to remove all categories for.
2. Select the Remove All Categories option from the mass actions dropdown and confirm you want to remove a product from all selected categories.
Once you confirm the action, you will see that all categories were removed from the selected productsihor
- 8 min read
All of your marketing and sales efforts have one goal — to lead customers to the purchase. Once they are on that final checkout step, every detail matters, especially the Magento payment methods you offer.
Even the slightest thing, like limited or poor payment method settings, can get in the way of a successful transaction. And the last thing you want is customers leaving right before placing an order, right?
So, in this article, you’ll learn what payment methods Magento offers and how to configure them to provide the best shopping experience for your customers.
Let's start right away!
Online VS Offline Payment Methods
Before we start exploring Magento payment methods, we have to establish what online and offline payment methods are.
Online payment methods require an internet connection and enable the immediate processing of the transaction. They rely on the payment providers and gateways, making them more accessible for users across different countries and locations.
Offline paymentihor
- 1 min read
Last week the whole Magento world was really frustrated by the news from some Magento extension providers about the Switch to the Subscription Model. Now we can observe a wave of resentment from their customers.
If you are interested in whether Magefan will also switch to the Subscription Model, then you will find the answers in this letter to know what to expect.
We are discussing this within our team now. You, our customers, your success and prosperity are our top priority. So, you will continue getting benefit from our products and services as you are used to.
Even if we implement any changes in the future, none of you will be disappointed or stressed because of it, since those changes will be implemented with the “what’s better for our customers” idea in mind. We will keep our words and guarantees. And if any of such changes take place in the future, they will not confuse you.
We want to reassure you that the accessibility of our products and updates, quality of our products and servicesihor