Page 23 - Blog
News, insights and resources from the world of e-commerce
- 2 min read
When you configure Github webhooks, you open a lot of opportunities and make the development process easier. They are used to update backup mirror or external issue tracker, trigger CL builds and deploy changes to the production server.
Once you install the webhook, it will be triggered by a specific event like pull request or code push. Generally, webhooks allow you to automate a lot of processes, so you don't have to manually apply changes to the live.
So, in this article, you will learn how to add webhook in Github.
Let's start.
To add webhook in Github:
1. Navigate to your Github account.
2. Choose the repository which you want to configure the webhooks for and go to the Settings.
3. Go to the Webhooks tab and press the Add webhook button.
4. Set the Payload URL, Content type and Secret to set up webhook in Github.
Payload URL — server URL where the webhook requests will be sent.
Content type — the type of delivering webhook requests to the payload URL
Secret — "password" used toihor
- 1 min read
Webhooks simplify a lot of processes on your application. They automate the pull requests, merging, pushing and others. You can create an event that would trigger the webhook request which will do the work for you.
In this article, you're going to learn about Gitlab.
Take the following steps to add webhooks in Gitlab:
1. Go to your GitLab account.
2. Navigate to a repository you want to add webhooks for and find the Settings section.
3. Click on the Webhooks tab.
4. Enter the URL you want POST requests to be sent to.
5. Set the Secret Token, so the URL you send the requests to can verify they are from GitLab.
6. Select the Trigger Events under which the webhooks should be sent.
Note: if you choose Push events you also have to specify the branch or wildcard pattern to trigger on. If you want all pushes to trigger the URL, just leave this field blank.
Once you select all events you want to trigger the webhooks in GitLab, press the Add webhook button.
That's it. It is reallyihor
- 2 min read
Magento 2 Object Manager is a PHP class responsible for creating and retrieving objects in Magento 2. It also manages to create factories and proxies.
How does it work?
To get the object manager instance (e.g. get magento 2 object manager in phtml) use the code:
<?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
To add object Manager to constructor:
/
* @var \Magento\Framework\ObjectManagerInterface
*/
private $objectManager;
/
* @param \Magento\Framework\ObjectManagerInterface $objectmanager
*/
public function __construct(
\Magento\Framework\ObjectManagerInterface $objectmanager
) {
$this->objectManager = $objectmanager;
}
Using the ObjectManager you can get a singleton object (method "get") of PHP class or create a new one (method "create").
Example:
<?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); /* Create a new product object */ $product = $objectManager->create(\Magento\Catalog\Model\Product::class); /* Get a request objectihor
- 2 min read
Sometimes when you update Magento, it could change the required state parameters and set some obligatory states for several countries in Stores > Configuration > General. Moreover, this option can be updated by your colleagues or you.
Managing a Magento 2 store, you have some clients who already set shipping and billing addresses while making a purchase. The addresses you have on your store already include countries, but not states (regions). Besides, sometimes region is set as a text field (not a select box).
Once you update the Magento, it changes the required states, or you set them to be required for a range of countries yourself.
The states will be required even if your customer already have their addresses set with the country options.
Are there any drawbacks?
When these customers want to make a purchase again, they have difficulties checking out. They see the message about their address not being valid and have to go to their account to checkout from there. You can also get someihor
- 2 min read
You work with eCommerce and Magento in particular, so you probably know how important it is to keep track of important changes in your store. One of the most important changes and updates you have every day are and new customers.
In any case, it is important to catch the moment and reach out to them with a follow-up, update or special offer.
In this article, you will learn how to send an email to the admin after customer registration, so you are aware when there is a new customer registered.
Magento allows you to send the customer registration email to customers, but not admins. However, you can use the for this. It provides you a very convenient configuration.
To enable customer registration notification for admins:
1. Go to Stores > Configuration > Magefan Extensions > Admin Notifications > Admin Email Notifications and find the Customer Registration Notification section.
2. Enable the notifications.
3. Choose the Email Sender who will appear as a sender of the emails about customer registrationihor
- 2 min read
Magento 2 Contact Us page is one of the most important pages on your website. When customers want to ask a question, complain, or request some information from you they start looking for the contacts form. So, you better have one with all the important .
Thus Magento 2 contact form is a bridge that unites you with your customers, prospects, and partners. And you have to make sure it is accessible from every page of your website. In this article, you will learn how to configure and customize the Magento Contact Us page.
Enable Magento 2 Contact Us Page
Except for the store email addresses, Magento allows you to configure the Contact Us page. This is a default CMS page already created in Magento which contains the contact email address, contact us form, and some additional information you can add.
To configure Contact Us page:
Got to Stores > Configuration > General > Contacts.
Enable the Contact Us Page.
Set the email address to Sent Emails To.
Choose the Email Sender that would be associatedihor
- 6 min read
Configuring Taxes in Magento 2 is an important process that needs to be paid much attention to, especially in eCommerce. Different countries have different taxing systems. Correspondingly before setting up tax rules, tax rates or tax classes in Magento 2 you need to be well-aware of the tax requirements of your country.
In this article, you'll learn everything you need to know about taxes in Magento 2, how to manage tax rates, set up tax classes, create tax rules and calculations.
In Magento 2 taxes are auto-calculated based on tax rules. Tax rules, on the other hand, depend on customer, product tax classes as well as customers' shipping and billing addresses, and store location.
Confused already?
No worries. We'll walk you through the Magento 2 tax configuration step-by-step, so you can configure taxes in your Magento 2 store easily.
Create Tax Rates in Magento 2
As it was already mentioned, every country has its own tax system so tax rates depend on the customer geographical areaihor
- 2 min read
Magento 2 store email addresses take an important part in your store as they give your customers an opportunity to contact you seeking some advice, update, support or cooperation. There are very few things people hate more than not being able to find an email to contact the business representative.
Magento allows you to configure different kinds of email addresses in your store with predefined identities. Moreover, you can configure all of them for different store views.
So, in this article, you will learn why you need to configure emails and how to configure Magento store email addresses.
Why Configure Magento Store Emails?
You might be managing a small Magento 2 store, but as it is growing there appear new departments responsible for different processes in your store. A company that has different kinds of emails is considered credible and serious about providing support to the customers.
If you have only one contact email, it may be hard to sort out support, sales or partnership requestsihor
- 5 min read
Product reviews and ratings are what customers notice first when buying a product. It's reassuring to know if other people are satisfied with the product quality, service, and store in general prior to the purchase.
At the same time, Magento reviews and rating help you and receive honest feedback from customers. It's certainly a win-win.
So, in this article, you're going to learn how to manage reviews and ratings in Magento 2. Besides, we'll cover other useful tips to boost your review and ratings management.
How to Configure Magento 2 Product Rating?
Let's begin our journey with the Magento 2 product rating. It is represented in the form of stars on a storefront. So, customers have a chance to rate your items according to various criteria.
To add the rating criteria:
1. Navigate to Stores > Attributes > Rating and press the Add New Rating button.
3. Set the Rating Information:
Enter the Default Value and Default Store View value of your Rating Title. If you leave the Store View Ratingihor
- 3 min read
As you already know, Magento 2 is a feature-rich eCommerce platform with various tools for creating a successful store. One of its important features is that it has a well-developed system of and attribute sets.
They allow you to organize your products easily and create a user-friendly catalogue. That said, if you've already created product attributes, you need to assign them to attribute sets.
But let's take one step at a time. In this guide, you'll learn everything you need to know about Magento attribute sets and how to manage them in your store.
What is an Attribute Set in Magento 2?
Magento 2 attribute set is a collection of attributes that apply to certain kind of products. You use attribute sets when creating products in your store so that you don't need to assign every attribute one by one.
e.g. the Magento 2 attribute set Top can have color, size, material, and weather attributes; the Magento 2 attribute set Bag can have color, weight, and material, etc.
This simplifiedihor
- 3 min read
When you configure product listings in Magento 2 you define the way products are listed in the product catalog. The extensive Magento catalog configurations help you set the number of products displayed on the list, the method products in the listing are sorted by or whether to display all products on the page.
This flexibility allows you to find the best way to display products so that your customers are encouraged to search more, find more and choose their preferred product from the various available options.
In this article, you will go through all product listing options.
To configure product listings in Magento 2 follow these steps:
1. Navigate to Stores > Configuration > Catalog > Catalog and unfold the Storefront section.
2. Set the List Mode. It defines how products are displayed on your Magento 2 catalog.
The available options are: Grid Only, List Only, List(default)/Grid, Grid(default)/List.
It is better to allow your customers to change the option that is more suitable forihor
- 2 min read
Sometimes when you need to move products from one category to another you have to go from one product page to another, edit categories, save and repeat.
Not a big deal when you have to update 10 products. However, for a larger scope businesses, it can take hours considering the number of products they have.
To simplify this process you can just use and edit categories directly from the product grid.
If you need to update multiple products at once you can via the mass actions option. In this article though, you will learn how to edit categories from grid in Magento 2.
To edit categories from the product grid:
1. Navigate to Catalog > Products.
2. Press on the product you want to edit categories for and choose categories you want to add the product to or remove it from.
3. Save the changes and check the updated categories in grid.
Is it as simple as it is?
Well... Yes!
Magento 2 Extended Product Grid makes product management and editing much easier. It saves you time you'd rather spent onihor
- 2 min read
Magento 2 categories help you organize your catalog and group products by certain characteristics. They also help your customers find products faster, especially if you include them in layered navigation.
However, sometimes you need to edit categories and add or remove some products, which is not that easy with a lot of products.
But not if you have .
It allows you to bulk update categories via mass action in Magento 2 product grid.
Want to know how? Let's figure out together.
To bulk update categories in Magento:
1. Go to Catalog > Products and choose all products you want to update categories for.
2. Unfold the Actions dropdown menu and choose the Update attributes option.
3. Move to Categories (by Magefan) section and choose categories to Add Products To or Remove From in the corresponding fields.
Once you Save the configuration, you will be able to see that the categories for selected products have been changed.
Check out this short video to see how easy it is to update categoriesihor
- 8 min read
Key takeaways
Magento product search keywords are the terms customers use to find products faster in the product search field.
The search keywords include product names, synonyms, attributes, brands, and spelling variations people enter in the search.
To optimize Magento product search, you need to set up search terms, enable the "Popular Search Terms" option, and create synonym groups in the admin panel.
Meta keywords are included in product search in case no terms or synonyms match users' search queries.
Prevent bots from spamming product search while keeping Magento search fully available for real customers using the Search Spam Filter in the .
When customers browse your store, some may use to narrow down their options. Others prefer to use product search to quickly find what they are looking for. And here you need to create a list of product search keywords that match the words and phrases shoppers may use to find a particular item.
So in this guide, you'll learn how to buildihor
- 3 min read
Hello there, Magento fans!
Have you been waiting for April News and Updates from Magefan?
Here you go… ;)
NEW features of extension!
From now on you can change the order statuses in bulk just in a few clicks via mass actions. Another useful feature you will definitely like is product SKUs export.
And finally, last but not least, all order invoices, shipments, credit memos will be deleted together with the order.
NEW features of extension!
Now you will be able to parse/convert jpg, png, gif images with the GET parameter in their URLs.
We have also improved compatibility with the CDN for your convenience.
No more errors during an order placement if the "Convert Images in REST API Requests" option is enabled — we have fixed that as well, be sure ;)
NEW feature of Extension!
Improve the SEO of your website even more. Choose alternate tags to connect your website pages and "tell" Google what pages to direct your customers to.
We have added an option to define custom locale codeihor
- 12 min read
Large product catalogues often make it difficult for shoppers to find what they are looking for, especially if you keep too many options on one page. Although you can fix that using , only Magento 2 layered navigation helps to narrow down products based on price, colour and multiple other attributes.
This guide explains how to configure layered navigation in Magento 2 effectively and how to avoid common SEO pitfalls along the way. You'll also find the most popular layered navigation extensions and learn how to avoid issues related to the filters.
Key takeaways
Magento layered navigation allows filtering products by price and product attributes, e.g., color, size, brand, material.
Missing filters in layered navigation are often caused by incorrect category or attribute settings.
Reindexing Magento and cleaning cache can troubleshoot many layered navigation issues.
Default layered navigation can be extended with third-party extensions that offer more advanced filtering functionalityihor
- 8 min read
Website speed is now one of the most important features influencing customer shopping experience and SEO, especially in eCommerce.
So, there is no sense in telling you how important website speed is. Having slow website loading speed decreases traffic to your website and increases bounce rates. It also ruins all the efforts you put into following.
Not much of a great picture right?
No worries! There is nothing that can’t be done about it.
However, before taking any actions to improve your website performance, you need to know the reasons why your website isn’t performing as it is supposed to. It will help you find the best ways to optimize it.
In this article, we’ve gathered the best FREE Magento speed test tools (Magento site analyzers) that will provide you with insights into how well your website is performing.
There definitely are some similar and distinctive features of these website speed ranking tools. However, all of them give you a sneak-peek into your Magento website speed analysisihor
- 2 min read
Order in Magento 2 goes through a lot of processes before it is complete. Sometimes third-party payment systems change due to some errors. Correspondingly orders have a lot of statuses in the process.
Today, however, you'll learn how to change order statuses in Magento 2 manually.
Ready?
Change Order Status in Default Magento
By default, Magento allows you to change order status to Cancel, Hold or Unhold. However, there are some limitations.
Due to the specifics of the order statuses and states, you can't cancel processing orders or revert the changes, once you cancel some orders.
Thus, if you want to be more flexible with order statuses, regardless of the status, keep reading.
Change Order Statuses in Magento 2 via Better Order Grid
If you want to change order status to any available status on your store via mass actions, and do that in bulk, you need the extension.
Go to Sales > Orders and tick all Orders the statuses of which you want to change.
Choose the Changeihor
- 3 min read
One of the many useful Magento 2 features is . It allows you to divide your customers into groups and target them with more personalized content and offers. You can set up customer group discounts, share targeted information and define custom rules for them.
Customer group in Magento 2 is an important aspect you shouldn't neglect. Except for all we've already mentioned, it helps you to increase the productivity of your store and improve the shopping experience. Taken you know how to manage customer groups properly.
In this article, you will learn how to create customer group in Magento 2, and how to use this functionality in your store to the fullest.
Create Customer Group in Magento 2
1. Navigate to Customers > Customer Groups and press the Add New Customer Group button.
2. Set customer Group Name.
3. Choose the Tax Class customers in this customer group will belong to. The tax amount will be calculated based on the customer, product class and tax rules.
Note: you can learn how toihor
- 9 min read
is robust translation tool that allows you to set up Magento 2 multi language store in days, not weeks.
But the best part is you don't have to switch to developer mode to add translations, or migrate your content back and forth.
You add translation for any kind of content — products, categories, email templates, — directly in the admin. Manually or automatically.
So, in this guide you'll learn everything to configure and use the Magefan Translation Extension. From general config to import, export and translations management — we cover it all.
Configuration
Before you start adding translations, you have to go through a number of general settings. Navigate to Stores > Configuration > Magefan Extensions > Translation to do that.
Note: these options are available only in the .
General
The general section covers basic translation settings related to all translations.
Flush Cache On Translation Change — if enabled, the translation cache is automatically flushed when you add or edit translationsihor
- 2 min read
New order email notification in Magento 2 is an important component of the ordering process.
It provides customers with information about their orders which they can refer to when getting in touch with the sales representative about their order status, etc.
It is also important to website admins since they get notified about new orders and changes in their statuses.
So, in this article, you will learn how to configure the new order email notifications for the admin and customers.
To configure new order email notification in Magento 2:
1. Go to Stores > Configuration > Sales > Sales Email > Order and Enable the order email notification.
2. Choose the New Order Confirmation Email Sender. To configure email sender check the .
3. Choose the New Order Confirmation Template for Customers and Guests. The default email template for customers — New Order, for guests — New Order for Guest.
Note: you can and set the new order email templates for and customers.
4. Enter the emailihor
