Page 7 - Monthly Archives: 2022
- 2 min read
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 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 bin/magento magefan:zero-downtime:remove-old-files-in-magento-rootphpihor
- 2 min read
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 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.
Selectihor
- 4 min read
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 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 and display the lowest price over a certain period of time on the frontend.
Special Priceihor
- 2 min read
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 theihor
- 1 min read
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 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: 289077c86e811661a8f7751828485d3aphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these .
Installation using archive in app/code folder
Open command line.
Using command "cd" navigate to your Magento 2 root directory.
Run CLI commands:
mkdir app/codemkdir app/code/MagePalcd app/code/MagePalwgetihor
- 11 min read
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 .
Payment Method, Payment Gateway, Payment Processor
There is a common misconception that the payment gateway is the same thing as the payment method. It is confusingihor
- 6 min read
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 , it is best to use the 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. 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, you can set custom canonical tags for your store pagesihor
- 2 min read
When it comes to pagination, 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 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 following sequence of pages:
https://seo.demo.magefan.top/women/tops-women.html?p=1https://seo.demo.magefan.top/women/tops-women.html?p=2https://seo.demo.magefan.top/women/tops-women.html?p=3https://seo.demo.magefan.top/women/tops-women.html?p=4Thenihor
- 6 min read
Many Magento stores struggle to rank important product and category pages. One of the common reasons for that is a weak internal linking strategy that keeps products buried in the catalogue. It prevents users from finding relevant content and search engines from properly indexing your store.
Magento cross links fix that by automatically linking relevant keywords to target pages. This strengthens site structure and guides visitors towards the pages that matter most.
In this guide, you'll learn how Magento 2 cross linking works, why it matters, and how to set up cross links using the .
What Are Magento Cross Links?
Cross-linking is the process of adding links to relevant keywords from one page of your website to the other. Cross-linking has immense SEO potential in terms of delivering a better customer experience and better indexing. It helps to build the page authority and allows customers to jump to the relevant content faster.
Magento cross links are a type of internal linking whereihor
- 2 min read
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 and 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 be displayed on the storefrontihor
- 5 min read
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 !
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.
Most importantly you can display related products not only on products andihor
- 2 min read
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 .
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 to Save the CMS blockihor
- 2 min read
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 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 .
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 products widget to.
4. Define where to display the widget in the Layoutihor
- 4 min read
Except for the plenty of other sales approaches and marketing tips, related products stay an old but gold, and effective way to increase conversions. Magento provides you with an easy way to that requires nothing but plenty of manual work.
Since not everyone is willing to spend too much time on assigning related products, cross-sells and up-sells there is the Extension.
It allows you to set up related products based on multiple conditions.
So, in this guide, you'll learn how to create Magento 2 related product rules for more targeted product recommendations.
To create related product rules in Magento 2:
1. Navigate to Marketing > Automatic Related Products > Rules and press the Add New Rule button.
2. Fill out General Rule Information.
Enable the Rule.
Give it a Name and set a Description with internal notes in case you have multiple similar rules and need to quickly differentiate between them.
Set the auto-related products rule Priority.
Note: it defines which rule will be appliedihor
- 11 min read
Magento shipping methods refer to the price and method of delivering products to customers. Just like , shipping options are important elements of the customer journey that can influence their purchasing decision.
That said, the more options you provide, the more diverse the experience your customers get. Fortunately, there are different shipping methods available out of the box. So you can create a flexible checkout experience for your customers.
In this guide, you'll learn about the basic shipping settings in Magento 2, review all default Magento shipping options, and discover tips for effective shipping methods management.
Let's begin!
Configure Magento Shipping Settings
Before we get to the shipping methods you need to configure the Magento 2 shipping settings. It is necessary so Magento can and shipping costs based on the shipping origin.
Thus, navigate to Stores > Configuration > Sales > Shipping Settings and configure Origin and Shipping Policy Parameters.
In the Origin sectionihor
- 3 min read
Magento 2 related products are one of the best in-built tools to boost sales and improve the customer shopping experience. It is also a great way to increase the average order value and encourage customers to buy more. When managed properly, Magento related products can yield outstanding results.
So, today you'll learn how to add Magento 2 related products block to product pages. We'll also share how to add related products to categories, CMS pages, and shopping cart, and turn the process into .
Before we more any further, let's define what related products are in Magento are how they are different from the cross-sells and up-sells.
What are Magento 2 Related Products?
Magento related products is a feature that allows you to add additional items to the product page to provide an alternative option. Unlike , related products don't have to be pricier or unrelated to the product customers initially landed on.
Related products are usually based on similar product relations, like the sameihor
- 2 min read
If you decided to remove , please follow the steps below. You can contact our team for a free consultation in case you have any issues with Magefan's extension.
Remove Extension Files
Removing files instruction depends on the way the Automatic Related Products extension has been installed in.
1. If you can find the extension files in the folder
app/code/Magefan/AutoRelatedProductapp/code/Magefan/AutoRelatedProductPlusapp/code/Magefan/AutoRelatedProductExtra
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-auto-related-product
then run composer CLI command to remove it
composer remove magefan/module-auto-related-product*
Once extension files have been removed, run these Magento CLI commands:
php bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these .
Remove Extension Data (optional)ihor
- 1 min read
You can install by Magefan, using composer or archive installation methods.
Note: if you want to install the please navigate to your Magefan Account > Downloads > Install via Composer to get the composer installation instructions.
Installation via composer (recommended)
Open command line.
Using command "cd" navigate to your Magento 2 root directory.
Run CLI commands:
composer require magefan/module-auto-related-product# Authentication required (repo.magento.com)# Get your Magento Marketplace authentication keys or use these: # Username: 7c018006799466c681ad507e27904677# Password: 289077c86e811661a8f7751828485d3aphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these .
Installation using archive and FTP
Download Automatic Related Products Extension ZIP-Archive from magefan.com website (not GitHub or other sources).
Extract files.
Copy app folder from theihor
- 1 min read
If you need to update by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Automatic Related Products extension was installed with.
Update using composer
If the Automatic Related Products module was installed via the composer (check if vendor/magefan/module-auto-related-product folder exists), then you need to run these simple CLI commands in Magento 2 directory:
composer remove magefan/module-NAMEcomposer require magefan/module-NAME ^x.x.x# replace NAME with:# auto-related-product - for Basic plan# auto-related-product-plus - for Plus plan# auto-related-product-extra - for Extra plan# replace x.x.x with the version you want to usephp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy
If you want to upgrade to the Plus or Extra, check this guide on how to .
Update using archive and FTP
If the Automatic Related Products module was installed via FTP (check if app/code/Magefan/AutoRelatedProductihor
- 4 min read
With the growing number of empowered customers, merchants look for robust online solutions to provide a better customer experience and drive new audiences. Magento is one of the greatest eCommerce platforms with a sophisticated set of options that make following an online route significantly easier for your business.
It offers you a flexible, scalable, and user-friendly approach to increasing revenue through better service.
So, in this article, we'll discuss why is Magento best for eCommerce website development by defining unique features that make it stand out among other solutions.
You'll find out why the global brands prefer Magento and how it benefits your business.
Open Source Platform
To stand out and fit the needs of the growing market you have to improve and develop your store constantly. Magento is an open-source technology that best suits that requirement for several reasons.
It means you can exceed the default functional with the and customize your store. Magento allows youihor
- 1 min read
Sometimes when you use Magento 2 you can get the Magento catalog_product_super_link table doesn`t exists error. It appears because some module tries to make an SQL request with SQL query that includes "catalog_product_super_link" table and the table does not exist. So actually, the error is self-explaining.
Why catalog_product_super_link table might not exist?
This table is defined in Magento 2 module Magento_ConfigurableProduct. So please make sure it is enabled in app/etc/config.php. If not, enable it by changing 0 to 1 in the right part, e.g:
'Magento_ConfigurableProduct' => 1,
Then, run the following commands:
bin/magento setup:upgradebin/magento setup:di:compilebin/magento setup:static-content:deploy
If this does not help, then you can create the table using these SQL queries (you can run them e.g. in phpMyAdmin):
Attention! Replace "prefix_" and "PREFIX_" with your actual Magento 2 database prefix, or just remove them if you don't use the prefix for the database table names.
CREATEihor
