Page 20 - Blog
News, insights and resources from the world of e-commerce
- 2 min read
group products that share similar qualities or attributes. They logically structure your website and make it easier to navigate through.
Online shops are ever-changing so categories are rarely static. You may need to enable, disable, hide, or regroup them to keep data relevant.
This is exactly what we'll cover in this guide. You'll learn how to hide categories in Magento 2 using different methods effectively.
How to Hide Empty Categories in Magento 2?
Empty categories do no good and make the customer journey quite abrupt. This is one of the most common reasons for hiding them.
At the same time, it's difficult to monitor such categories manually, especially if you have many products. There's not much you can do by default.
Yet, the has a more feasible option.
It allows you to hide empty categories automatically in a few easy steps. To do so:
1. Navigate to Catalog > Categories and select the category you want to hide automatically.
2. Unfold the Dynamic Category section and enable theihor
- 3 min read
Rich snippets structured data is a small piece of code that drives traffic to your website and increases the click through rates. It is important for Magento stores since it generates more targeted traffic and increases revenue correspondingly.
To add rich snippets to Magento pages, you have to go through a lot of templates and code editing which is not an option for non-developers.
In this article, we'll cover how to add the most with a few admin panel configurations. For that, you'll need a handy .
Once you install the extension, navigate to Stores > Configuration > Magefan Extensions > Rich Snippets and you're good to start.
To add rich snippets to Magento 2 pages:
1. Configure Product Rich Snippet
There are several sections here. You don't have to configure all of them if you, let's say, don't have any certifications and so on.
Fill out general product schema
Select the Image and Description Attributes.
Choose whether you want to display Price including or excluding tax.
Set customerihor
- 5 min read
Magento 2 XML sitemap is a part of features that contribute to your website ranking. But that's not only that. The Magento sitemap is the main element linking your store with potential customers from search. If search robots can't discover your store, you won't and the rest of the picture doesn't look good.
That's why it is important to understand the concept of Magento XML sitemap better. So, today you'll discover everything you need to know about Magento sitemap, how you can configure and automate it.
What is Magento XML Sitemap?
Magento XML sitemap, like any XML sitemap, is a file that contains links to all pages of a website. You submit this file to Google Search Console so that search bots can crawl and index your pages, which, correspondingly, are ranked in Google.
Products, categories and CMS pages are all included in the Magento XML sitemap. Besides, you can define how often robots should crawl these pages. The only downside is your pages are added to the crawling queue. So youihor
- 7 min read
Since most of your website traffic comes from Google and other search engines, it's essential to make that traffic relevant. Quality of traffic always outweighs quantity. Therefore, even if you receive a lot of traffic, a small part of it really converts.
Google rich snippets, among other practices, are there to help your Magento 2 store generate more targeted traffic and drive quality leads.
Though there are up to 100 structured data markup schemas out there, your eCommerce store needs a minimum of 7 to make it work.
If you're new to all of the SEO-related concepts or just start your way to better website traffic, we'll help you get along with Google rich snippets in Magento.
Here you'll learn what are rich snippets, why you need them, and what rich snippets you need the most.
What are Rich Snippets?
Rich Snippets are small pieces of code also referred to as Structured Data Snippets that help you to pass structured data about the page contents to Google and other searchihor
- 3 min read
Shipping is the last step in the order processing pipeline that often requires the most attention. Though Magento offers you a variety of , they are sometimes quite limited, especially when customer location is concerned.
To exceed the default Magento functional and take the most of the shipping options you need a Shipping Extention. There are plenty of modules that allow you to take shipping to the next level and present customers with more shipping options.
However, very often their features differ which makes it hard for your to choose.
Today we'll cover the best for Free Shipping.
Comparison: Best Free Shipping Modules for Magento
Vendor
Extension Name
Price
Guarantees
Rating
ShipperHQ and WebShopApps MatrixRate
Free
No guarantees
Github module
121 ⭐
67 forks
Advanced Shipping for Magento 2 by Owebia
Free
No guarantees
Github module
90 ⭐
31 forks
Magento 2 Multiple Flat Rates Shipping by Mageplaza
Free
No guarantees
Github module
15⭐
10 forks
Magento 2 Admin Shippingihor
- 3 min read
UPS Carrier — United Parcel Service — is a trusted and well-known service that offers international and domestic shipping services by air or land to more than 220 countries.
Correspondingly, except for other , you should definitely check UPS as a delivery option for your customers. However, note that though UPS uses dimensional weight to determine shipping rates, Magento only used weight-based calculation.
Today, you're going to learn how to configure UPS carries in Magento step-by-step.
1. Create UPS Shipping Account
Navigate to UPS and sign up for an account if you haven't got one yet.
Next, you will have to find the Get Started with UPS link under the Customer Service, choose how often you want to ship, and open the payment account.
2. Enable UPS for Magento
Go to Stores > Configuration > Sales > Delivery Methods and Enable UPS for Checkout.
For United Parcel Service XML fill out the following:
Enter the UPS credentials: Access License Number, User ID, and Password.
Specifyihor
- 2 min read
Magento 2 Registry is a class that is used to share the data between objects in Magento.
e.g. save the object to the Registry in the controller class and get in the block class.
Starting from Magento 2.3 the Registry class was declared as deprecated but a lot of developers, extension vendors, and even Magento core code still use it.
How does it work?
To get a Registry object in your class you need to define it in the constructor, for example:
/*** @var \Magento\Framework\Registry*/private $registry;/*** ...* @param \Magento\Framework\Registry $registry,*/public function __construct(...,\Magento\Framework\Registry $registry,...) {$this->registry = $registry;...}
or you can easily get it via the for the testing purpose:
$registry = \Magento\Framework\App\ObjectManager::getInstance() ->get(\Magento\Framework\Registry::class);
How to SET a new value into the Registry?
To set a new value into the register please use the public function register($key, $value, $graceful = false) methodihor
- 4 min read
As any error appearing on any website, Magento 2 internal server error 500 influences your customer experience, traffic, and conversions. Though sometimes it can disappear after you reload the page, you should take steps to eliminate it immediately, so it doesn't influence your store traffic for hours.
It is one of the most common . So before we get to the solution to fix 500 internal server errors in Magento 2, you should know what it is.
What is Internal Server Error 500 in Magento 2?
Magento internal server error is a general HTTP status code that appears when you follow the correct URL or click on a website link and request a page from the server. Something goes wrong and the server can't return the requested page and doesn't know what the issue is.
Since the server doesn't know anything about the issues and displays only Internal Server Error 500, you should access the server error logs and check for more information about this issue.
And here are the most common reasonsihor
- 2 min read
Effective order management requires you to process a lot of information. The more information you can get from the order grid, the faster you can without having to go to each order separately.
However, some information might be missing. And that's when you need to reindex the Magento 2 order grid.
When to Reindex Order Grid in Magento?
Sometimes, the actual order data and order data displayed in the grid are different. The billing company name is missing, the shipping address is incomplete or the order is not generated in the grid at all.
It confuses the store managers and slows down the process. They are not able to find relevant orders when filtering through them. So, the order fulfilment process becomes inefficient.
How to Reindex Magento 2 Order Grid?
To reindex the order grid, you need developers who can create a custom solution for you (unless you have some technical knowledge to do that on your own).
The simpler solution is to use the . It already comes with the Magento 2 reindexihor
- 4 min read
Ratings and reviews are one of the first things customers check when browsing through your catalog. That's why they are an integral part of the strategy.
But you can go even further than that and use the Magento 2 sort by rating option to create a category. Intrigued?
Your customers won't need to scroll through the endless catalogue pages comparing reviews and ratings. You will add the most popular products into one "Most rated" category using the tool.
Step 1: Create the "Most Rated" Category
The first thing you need is to admin just as you've created any other category on your store.
We'll call it "Most Rated" since we're going to put products with the highest ratings and reviews there. You can choose any other name you like, as long as it drives customers' attention.
Step 2: Set Up Basic Category Rule Information
The next step is to that will automatically add products to the "Most Rated" category.
For that go to Catalog > Dynamic Category > Rules and press the Add New Ruleihor
- 2 min read
Imagine customer frustration when they browse through your catalogue just to find that the product is out of stock. If you don't display out of stock products in your store, or at least have the set up you're losing conversions. Not speaking about the customer experience.
Luckily there is a solution — Magento 2 out-of-stock notification or . The best thing is that it's a native Magento feature. So, you don't need any third-party integration to enable out-of-stock notifications in Magento.
Ready to learn how?
Enable Magento 2 Out of Stock Notification for Customers
1. Enable the Display Out of Stock Products option in Stores > Configuration > Catalog > Inventory.
2. Navigate to Stores > Configuration > Catalog > Catalog > Product Alerts and enable the Allow Alert When Product Comes Back in Stock option.
You can for stock alerts if the default one doesn't fit your requirements and set the Email Sender.
Just enabling this option is enough for the "Notify me when back in stock" notificationihor
- 6 min read
One of the main reasons why customers abandon their shopping carts or leave checkout — is forced registration. However, it's not only the data sharing people fear the most. Registration can drag on for multiple steps your customers simply don't have time for.
To simplify the registration and logging in you can use social login. It reduces the process down to seconds and allows you to cross out one more point on your customer experience to-do list.
As you might have guessed already, social login is not a new concept. Multiple websites use it already. There are multiple solutions for Magento out there, searching through which will require some time.
However, we've done all the work for you, so you don't have to.
So, here you'll find a review of the best Social Login.
Comparison: Best Magento 2 Social Login Extensions
Vendor
Extension Name
Price
Guarantees
Rating
Magento 2 Twitter & Facebook Login Extension by Plumrocket
Free
100% Open Code
60 Days Refund Policy
1 Year of Free Updates
1 Yearihor
- 2 min read
Hello there, Magento fans!
Here is the first news of 2022 and Magefan began this year quite productively. We hope you had a good start to this year too.
Let’s go!
New improvements of!
We added improvements to the Blog Post Structure Data (Rich Snippets Schema). In the latest version, you can use more than 2 slash characters in post URL keys (Blog Plus & Extra). We have made some minor storefront design improvements. We have also fixed an issue with duplicate authors after import from Amasty Blog extension for Magento 1. Another issue for infinite page refresh loop on search result page when results are not found has been successfully fixed too.
New improvements of .
We added Coupon Code Widget that works with static and auto-generated coupon codes. Also now you will be happy to find a new option to automatically add some products to a shopping cart on the coupon applying. We also improved the functionality of a coupon code applying.
New feature of Magento 2 Extendedihor
- 5 min read
Social media is a huge field of opportunities for online stores to present their brand to a wider audience. However, have you noticed that Facebook and other platforms don't always pull out relevant content from the links you share?
Social media posts might look inconsistent and even weird, which not only discourages people from clicking but doesn't even catch their attention at all.
So, sharing your products and other website pages on social media benefits you only in one case — you make your posts stand out. And for that purpose, you must explore open graph meta tags.
In this guide, you'll learn everything you need to make your social media posts more clickable and shared with open graph tags.
What are Open Graph Meta Tags and What Do They Do?
Open Graph Meta Tags also known as social media tags are small snippets of code that are part of Facebook's Open Graph protocol also recognized by Twitter and LinkedIn. They define how your website URLs are displayed on social media and other messengersihor
- 3 min read
When selling globally, you have to make sure your customers receive the best shopping experience. The is perhaps one of the first things to pop up in your mind. But Magento multi currency is just as crucial.
It allows your customers to view prices in their local currency in the first place. But what's more important, it helps to avoid cart abandonment and checkout bounce rates. Your customers know exactly how much they'll be charged.
Conveniently, Magento provides you the multi currency option out of the box. So you don't need to install any additional software for this. Magento 2 multi currency setup includes several steps. And in this guide, we're going to walk you through all of them.
Configure Magento 2 Currency Options
When you configure Magento multi currency the first thing to do is set what currencies will be available in your store. Here is how you do it:
1. Navigate to Stores > Configuration > General > Currency Setup.
2. Choose the corresponding options for Base, Default Displayihor
- 3 min read
enables you to benefit from a blog on a rich PWA storefront.
In this article, you'll learn how to install PWA Blog on PWA Studio.
Note: your code might be slightly different than in provided examples, because of different versions of PWA Studio.
Take the following steps to install Magento 2 PWA Add-On for Blog:
1. Make sure that you installed the latest version of (Base, ) and Magefan Blog GraphQL Extension.
2. Upload the src folder from the archive to your PWA Studio root directory.
3. Navigate to your PWA Studio root directory.
4. Add blog static route.
Update local-intercept.js. Replace this line
function localIntercept() {}
with
function localIntercept(targets) {
targets.of("@magento/venia-ui").routes.tap(routes => {
routes.push({
name: "Blog",
pattern: "/blog",
path: require.resolve("./src/lib/magefan/pwa-studio-blog-ui/src/components/Routes")
});
return routes;
});
}
See file example (samples/local-intercept.js).
5. Create component directories.
mkdir -p src/componentsmkdirihor
- 3 min read
Coupon code management in Magento 2 is effective as long as your customers find coupons easy to apply. You can and promote them on your store, in email, or through social media.
By and large, however, you just leave them to chance since you can't track if customers use your coupons. They have to copy and paste or enter it manually on the shopping cart or checkout.
This still doesn't mean they will finalize their orders.
What if we told you that you can automatically apply your coupon code, add products to the cart, and redirect customers to checkout all in one click?
Though it may sound difficult, there is no difficulty in it neither for you nor your customers. makes it a breeze.
So, today you're going to learn more about coupon code widgets and how you can use them to boost discounts. And there are two cases we'll walk you through.
How to Add Coupon Code Widget in Magento?
1. Go to CMS page, block, blog post or any page with the WYSIWYG editor where you want to add theihor
- 4 min read
Sales, , and special offers drive people to your store and help to gain their loyalty. However, the smarter you manage them the more effective they turn out to be.
Magento 2 coupon code is an integral part of every sale on your Magento 2 store. Those codes are applied via the , and you can create them for certain customers, separate customer groups, specific products, and the entire catalogue. Besides, you can do that in bulk or separately.
Sounds quite promising, right?
So, let's teach you how to create coupon codes in Magento.
How to Create Coupon Code in Magento 2?
To create a Magento coupon code take the following steps:
1. Navigate to Marketing > Promotions > Cart Price Rules and press the Add New Rule button.
2. Set the Name for the rule and add the Description.
3. Activate the rule and select the Websites the coupon code will apply on.
4. Specify the Customer Groups a coupon will work for.
5. In the Coupon field, select a Specific Coupon and enter the Coupon Code in theihor
- 2 min read
is a constant flow of customers, orders, shipments, restocking, and other important backend and frontend tasks. While most of these tasks are easy to complete, the real challenge appears when customers make mistakes in their orders. In this case, you need to cancel orders in Magento 2.
So, in this guide, you'll learn how to do that in two different ways.
Why Cancel Orders in Magento?
The most common case when you need to cancel orders in Magento is when there is something wrong with the ordered items or customers just want to return them. Nevertheless, if the reason for the cancelling is not the refund, you can still instead of creating a new order.
For that, you need the . This solution helps you edit any order details from order number, and customer name to ordered items and tax classes.
If you still want to cancel orders in Magento, refer to the options below.
Cancel Order in Magento 2 via Grid and Order View Page
1. Go to Sales > Orders and tick the Orders you want toihor
- 5 min read
Imagine if you have to update currency rates or catalog price rules and generate website sitemaps manually. Seems like an impossible scenario, right? All because all these and many other tasks in your store are already handled for you by the Magento 2 cron jobs.
They schedule different activities and perform them automatically without you even noticing. However, if you want to learn more about your store performance you need to learn more about the cron tasks.
So in this comprehensive guide, we'll cover everything you need to know about Magento cron jobs. You'll discover how they work and how you can directly from the admin panel.
What is a Magento Cron Job?
Magento cron job is one of many tools Magento uses to schedule and run repetitive tasks (such as updating inventory, sending product alerts, or generating sitemaps) instead of triggering them manually.
Cron jobs rely on the crontab (configuration file) to execute the commands and scripts to perform certain operations withinihor
- 3 min read
Did you know that around 47% of consumers expect a page to load in 2 seconds or less? Are you sure the Largest Contentful Paint (LCP) on your store meets that threshold?
If not, you're probably looking for the best ways to to satisfy customers' needs.
Magento 2 lazy load or lazy loading is the concept you're going to learn more about in this guide. in particular, you'll find out what is lazy loading, how it benefits your website, and how you can configure it.
Are you ready to start?
What is Lazy Loading?
Lazy Loading is an on-demand loading technique that aims at optimizing website loading speed through deferred content delivery, images in particular.
The main idea behind the lazy loading is to load only necessary resources at the viewport instead of loading all of them at once. So the website images are loaded only at the visible part of the page while the others — when users scroll down the page.
Since the system only loads the elements customers need instead of loading the wholeihor
