Page 7 - Monthly Archives: 2022
Though most of the development tasks are done via developer mode, you have to switch Magento to production mode to ensure secure and fast environment.
Correspondingly to offer an exceptional customer experience you have to switch to production.
The only thing is, as during any static content deployment or DI compile your website will be down.
So to switch to production mode in Magento 2 with no downtime, you have to use the following command:
bin/magento magefan:zero-downtime:deploy-mode-set --mode production
It is part of the series of zero downtime deployment commands that enable you to customize Magento with no interruptions to customer experience.
All changes are deployed in the background, the same as switching Magento modes.
And the process is reversive. So if you need to switch back to developer or default, just use the following commands:
bin/magento magefan:zero-downtime:deploy-mode-set --mode developer
bin/magento magefan:zero-downtime:deploy-mode-set --mode default
Magento 2 back-in-stock notification is a great way to reduce cart abandonment due to product unavailability. It allows customers to sign up for product alerts and be notified when a product is back in stock.
However, it works only for registered customers and only in case you display out-of-stock products on the storefront. As an alternative, we offer you to create a Magento back-in-stock category where you gather all products you've restocked within a certain period.
Don't worry, you won't have to manually add and remove products from this category. You just need to enable Automatic Categories for Magento 2.
So, let's check how you can optimize your stock management with the Magento 2 back-in-stock or any other date-based category.
There are a few steps included in the process, but the result is worth the effort.
To create back-in-stock category for Magento:
1. Create Magento category
Before enabling any dynamic category rules you have to create a category which all the products
"In Stock" and "Out of Stock" options in Magento 2 store are important components of your inventory management. They give your customers information about the availability of the products.
Thus, it's recommended to display Magento 2 product stock status to improve customers shopping experience and show a professional, customer-oriented approach.
In Magento, you can set up stock for each product separately and configure the catalog stock options for all products at once. So, today, you'll learn how to do this.
To manage Magento 2 stock you need to navigate to Stores > Configuration > Catalog > Inventory.
Configure Magento 2 Stock Options
Magento 2 Stock Options apply to the entire product catalog. To configure it:
1. Enable the Decrease Stock When Order is Placed option in order to decrease the number of products in stock once someone purchases the product.
2. Enable the Set Items' Status to be In Stock When Order is Cancelled option to increase the number of products in stock once
Online is a new reality. So if you're wondering when is the right time to create eCommerce website in Magento, it's now.
Magento is a robust solution with more than 500 000 downloads and about 190 000 stores using it to cover their business needs. It is flexible, customizable, and scalable. This gives you plenty of opportunities to grow your business and deliver an exceptional online experience. That's exactly why Magento is best for eCommerce.
And since eCommerce sales are predicted to hit $6,5 trillion by 2023, chances are you don't want to catch the last train. Start acting now.
In this comprehensive guide, you will learn everything you need to know to create Magento website along with how to choose the right Magento edition. We will also discuss the price of Magento eCommerce development and the estimated time required to build Magento website.
There is too much to cover, so let's jump right to it.
What Magento Edition to Choose?
Once you decide to create Magento 2 store, you usually
Magento stores a lot of data in the database to optimize the performance of your store. However, once you update any of that data, the system starts indexing it to restore the changes in the database tables. That's exactly when the "One or more indexers are invalid. Make sure your Magento cron job is running" error appears in the admin panel.
It is one of the most common Magento errors all Magento users come across when working with Magento.
It might seem just annoying admin notice, but there is more than that behind it. Today you'll learn why "One or more indexers are invalid" appears and how you can easily fix it from the admin panel or via CLI.
Why "One or more indexers are invalid" error appears?
Since Magento is a complex system it has a special feature to schedule and run store tasks automatically — Magento cron jobs. Except for sending newsletters and notifications, updating catalog price rules and currency rates, cron tasks also run reindex.
So, usually, Magento reindex is run
Working with Magento 2, you can come across multiple errors or notices that keep destructive or interrupting the management process. One of the most common Magento errors is Access Denied HTTP error 403 which appears when you work with Magento 2 admin.
While many of you face this issue, few really know what it is connected with or how to solve this. So, in this guide, we'll provide a really simple and quick fix for the "Access denied" error to enable anyone with or without technical skills to deal with it.
However, let's define what is Magento "Access denied" error is in the first place.
What is Magento "Access denied" error?
Magento Access denied error is the most common Magento error that appears when you try to access a webpage without having the right to enter it. It usually appears in the Magento admin when you use incorrect admin panel credentials, create a new user with the wrong user role, or install Magento 2 extensions.
How to Fix the "Access denied" error in Magento 2?
Now
Implementing canonical tags helps to avoid duplicate content issues and indicate what pages you'd like to see in search results. However, it brings results just in case you implement canonical tags correctly. There are a lot of misconceptions about canonicalization which lead to a completely opposite of what you expect.
In this guide, we'll discuss the most common canonicalization mistakes with rel=canonical so you can avoid them while working on your SEO strategy.
If you think things like typos are your biggest problem when you add canonical tags to your website, I have bad news for you. Sometimes mistakes with rel=canonical are hidden in such plain sight it is hard to spot them.
Nevertheless, here are the most common canonicalization errors you should know about and avoid.
1. Wrong relative URLs
Like many other HTML tags, <link> tags also accept absolute and relative URLs. However, when applying canonical URLs many make the mistake of defining absolute URLs incorrectly.
Relative URLs
Hello Magento fans,
It's been another month of hard work. So we've prepared a lot of updates to make our extensions even more useful and beneficial for you.
Let's review what's new for you this May.
New features of the Magento 2 SEO Extension!
You can manage even more SEO features for better visibility, ranking and traffic now. We've added a cross-linking feature, so you can now add internal links for one keyword across multiple pages with just s few clicks.
Besides you can now configure the rel=PREV rel=NEXT for category pagination pages and define max-snippet, max-image-preview, max-video-preview meta robots.
If you had any issues with the product meta title templates, please update the extension. We've fixed the issues with the mask values being saved in the database.
New features of the Magento 2 WebP Images Extension!
Website speed contributes not only to customers' experience, but SEO as well. So using WebP images benefits
Using Git on your Magento installation is the best option for a number of reasons. It eliminates mistakes, makes deployment easier, reduces manual actions, and keeps track of all changes. Deploying with Git and our Magento 2 Zero Downtime Deployment extension has a double benefit for both developer and customer experiences.
However, if you can't use Git but still want to deploy with zero downtime, use the following zero downtime deployment workflow.
After ZDD Extension v2.0.19
First, run the following zero downtime deployment command:
bin/magento magefan:zero-downtime:deploy -m
Then, wait till it asks you to add your changes to the created temporary directory. Make these changes, and press ENTER in the console once you're ready.
The Zero Downtime Deployment Extension will do the rest and deploy changes with zero downtime.
Before ZDD Extension v2.0.19
If you're using older versions of the extension, follow these steps to deploy changes with zero downtime without Git.
php -dmemory_limit=-1
Well-structured blog homepage improves navigation and encourages customers to browse through your blog longer. You should display popular categories, list featured posts, and share upcoming events there while keeping it organized and appealing.
We receive a lot of requests from our customers about how to create the same page as our demo blog homepage. So, we decided to teach you how to build a neatly organized custom homepage for a blog with the help of the Blog Extra templates.
To create custom blog homepage:
- Got to Stores > Configuration > Magefan Extensions > Blog > Blog Index Page and set the Display Mode to Blank.
Note: your blog homepage will go blank literally. So you might need to leave this step for later if you have an active blog and don't want only the sidebar to be displayed.
2. Go to Content > Elements > Blocks and Add New Block. Enable it, give it a Title, Identifier, and select what Store View to enable it on.
3. Click on the Widgets icons to start adding blog widgets.
Did you know that about 92% of consumers look for special offers before buying online? Discounts and coupons hold a special place in every eCommerce store's strategy. They help to increase conversion rates, drive customers' attention to certain products and boost revenue. However, none of this is achievable unless you know how to manage sales effectively.
In this comprehensive guide, you'll learn all about Magento 2 discounts and how to create them. We'll also cover where to promote your coupons, and how to deliver unique discounts to customers' email boxes automatically, not without resorting to some cart extensions along the way.
How to Create Discounts in Magento?
Since Magento provides multiple ways to create discounts, you might not even use all of them. So, let's cover how you can provide discounts in Magento to ensure you use the platform to its full extent.
Want to track price changes in your store? Get Magento 2 Price History Extension and display the lowest price over a certain
Sending emails in Magento 2 is a vital process that allows you to communicate with your customers. And that's not only the marketing emails we're talking about. Transactional emails like order confirmation, invoice, and shipment are equally important. Since Magento doesn't provide a viable solution you have to configure SMTP in Magento 2.
Fortunately, there is a simple, easy and free SMTP extension for Magento 2 provided by Magepal.
So, here, you'll learn how to configure SMTP in Magento 2 with this solution.
To configure SMTP in Magento 2:
1. Go to Stores > Configuration > MagePal > SMTP Configuration and Enable the SMTP settings.
2. Specify the Local client name (domain or IP).
3. Select the Authentication method: LOGIN, PLAIN, CRAM-MD5, or NONE.
4. Choose the SSL Type: SSL or TLS.
5. Set the SMTP server settings: Host, Port, User Name, and Password.
6. Choose whether to Set Reply-To, From, and Return Path.
Note: don't forget to save the configuration before moving to
You can install Magento 2 SMTP Extension by Magepal, using composer or archive installation methods.
Do you want us to install the SMTP extension for you? Let our technical engineers do it – check out our installation service.
Installation via composer (recommended)
- Open command line.
- Using command "cd" navigate to your Magento 2 root directory.
- Run CLI commands:
composer require magefan/module-community
magepal/magento2-gmailsmtpapp
# Authentication required (repo.magento.com)
# Get your Magento Marketplace authentication keys or use these:
# Username: 7c018006799466c681ad507e27904677
# Password: 289077c86e811661a8f7751828485d3a
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these zero downtime deployment commands for Magento 2.
Customers' checkout experience is influenced by plenty of things, among which payment options stand out the most. In fact, the variety or lack of payment methods influences customers' purchase decisions. To provide the utmost experience and cater to customers' needs you have to consider a reliable and safe Magento payment gateway for your store.
Though Paypal is what definitely pops up in your head first when you hear "payment gateway integration", there are plenty of other options to choose from. We've compiled a list of the best payment gateways for Magento 2 to help you get towards safer financial transactions and a seamless shopping experience.
In this comprehensive guide we also go through the criteria you need to choose the best payment integration by, cover how payment gateway works and how you can integrate it into your Magento 2 checkout.
Payment Method, Payment Gateway, Payment Processor
There is a common misconception that the payment gateway is the same thing as the payment
SEO plays a vital part in your marketing strategy since it significantly influences traffic and conversion rates. If it doesn't have a central role in your store it is a missed opportunity. So you should start looking for a way to improve that.
Though the platform complies with the best SEO practices and offers you a Magento SEO guide, it is best to use the Magento 2 SEO extension to get the most out of it.
Today, you'll learn how to configure this SEO extension in particular.
So to start with, navigate to Stores > Configuration > Magefan Extensions > SEO and enable the extension. Then go through all of the following settings.
SEO Rules
Are you tired of setting metadata for your products and categories manually, one at a time? If yes, then you're struggles are over. Magento 2 SEO rules help you set metadata for multiple products at once in a few clicks. Use product attributes to create templates for meta titles, descriptions, keywords, meat robots and H1 tags in a few clicks. Additionally,
When it comes to pagination, canonical meta tags are the only search engine optimization feature to use. Well, at least that's what plenty of stores are used to.
However, there are also the rel="next" and rel="prev" pagination elements that are equally important to your store SEO. They serve as a strong hint to search engines about the relationship between component URLs in a series of pages. This is typically used on category pages to accurately index and serve your customers' relevant pages.
In this guide, you'll learn how to add rel="prev" and rel="next" attributes easily with the help of the Magento 2 SEO Extension or manually.
To add rel="prev" and rel="next" attributes in Magento 2:
- Go to Stores > Configuration > Magefan Extensions > SEO and find the Pagination section.
- Enable the Use Rel="prev" and Rel="next" option.
It is literally that simple.
However, if you still want to add these pagination attributes on your own, here's how you can do this.
Let's support you have the
Website structure defines how fast customers will be able to navigate through your website pages. However, it goes down not only to the categorization or pagination. Magento 2 cross-linking matters too.
Crosslinks help you to improve your website SEO value and spread the link juice among multiple pages that are being linked. It is a great way to improve your product page SEO and help search crawlers understand the structure of your pages.
Unfortunately default Magento functional enables you only to add cross-links manually, which is extremely time-consuming. To automate the internal linking process you need the Magento 2 SEO extension. So here you'll learn how to enable auto cross-links in Magento.
However, to start with let's define what is cross-linking in terms of SEO.
What is Cross Linking in SEO?
Cross-linking is the process of adding links on relevant keywords from one page of your website to the other. Cross-linking has immense SEO potential in terms of delivering a better customer
Did you know it takes about 2.6 seconds for customers to land their eye on the area of a website that influences the first impression? The homepage is one of the most important pages of your website that tells your visitors about your brand and the range of services you provide. A poorly designed and structured homepage leaves a bad impression and discourages people from browsing.
Regarding this, except for the content blocks, you should display Best Seller and New Arrival products on homepage in Magento 2. It will increase customer retention and encourage people to check out your catalog.
So in this guide, you'll find answers to the common questions of how to display new products or products from specific categories on the homepage of your website.
To display products on homepage in Magento 2:
1. Go to Content > Pages and find the Homepage to Edit.
2. Find the Widgets tool.
3. Select the Catalog Products List from the provided widgets.
4. Fill out Widget Options.
- Set a Title that will
Hello Magento fans,
Our Magefan team continues to work at these hard times in order to continue delivering high-quality services and solutions. April has been full of updates and news since we developed plenty of new features in order to make our extension even more beneficial to you.
With no further ado, let's dive right in.
NEW Magento 2 Automatic Related Products Extension!
If you're looking for a better way to manage related, cross-sell and up-sell products Auto Related Products Extension is the best fit. It enables you to provide better shopping experience and increase revenue through extended product recommendations.
You can define where, when and what products to display on more than 20 block positions based on multiple product, cart, and page attributes. Related products,cross-sells and up-sells could be displayed based on a smart "Who Bought This Also Bought" and "Who Viewed This Also Viewed" algorithm, "Same As" and different other conditions.
Imagine that you need to display a sale offer, share news, or notify your customers about an upcoming event. What is the first option that pops up in your head? Perhaps, banners. These are some of the best solutions when you need to encourage customers to participate in your campaigns.
In Magento, you can add a banner to pretty much any page in your store: homepage, category, product, customer account, and CMS page. You can do this either via Magento insert image functionality or different Magento 2 Admin Extensions.
In this guide though, you'll learn how to manage banners in Magento without too much effort. And we're getting started!
Add Banner in Magento via Blocks and Widgets
The most basic way to add banners in Magento is through the widgets.
1. Go to Content > Blocks and press the Add New Block button.
2. Enable the Block, specify its Title and Identifier, and select what Store Views to display it on.
3. Press the Image Insert tool in your editor, add the banner, and don't forget
When you want to display related products in Magento, the first pages you think might be relevant to display them on are products and categories. However, CMS pages also have great potential in attracting customers to your products.
Since Magento doesn't provide this functionality by default, displaying related products on CMS pages automatically is powered by Magento 2 Automatic Related Products Extension. And in this guide, you'll learn how to do this.
Note: related products widget is configured quite the same as other Magento widgets. However, before you configure it, make sure to create related products rule.
To create auto related products widget in Magento:
1. Navigate to Content > Widgets and press the Add Widget button.
2. Fill out the basic widget Settings.
- Select the Auto Related Products Block as the widget Type.
- Define the Design Theme and press Continue.
3. Configure the Storefront Properties.
- Enter the Widget Title.
- Select what Store Views to Assign the auto-related