Page 2 - Monthly Archives: 2022
- 2 min read
Magento 2 is a very flexible eCommerce platform that provides . It's hard to underestimate the importance of increasing your website traffic and making it more customer friendly. Magento suggests a great way to do so by using the Email Refer to a Friend function.
But what is it and how can you configure it? In this article, we'll cover all these questions and clear up all tricky moments.
What is Email Refer a Friend in Magento 2?
Email Refer a Friend is a Magento 2 feature that allows customers to share a link to a specific product with their friends. It is an effective marketing strategy, that helps to evoke interest in the items you sell and in your store in general.
The Email Refer a Friend link appears on the product page together with the envelope icon. After pressing it customers are redirected to the Email to a Friend page, where they can share a link to a selected product.
Now, let's find out how to set up Email Refer a Friend in Magento 2.
How to Set up Emailihor
- 1 min read
Whenever you decide to extend your potential and expose your products to a wider audience product feed will come in handy. And since Google Shopping is one of the most popular distribution channels, might draw your attention too.
It helps you to and keep product data up-to-date, accurate and comprehensive.
However, you obviously don't have to include all of the products in the product feed. In this case, you need to learn how to exclude products from the product feed in Magento.
To exclude products from Google shopping feed:
1. Navigate to Catalog > Products and find a product or products you want to exclude from the product feed.
Note: if you can you'll be able to exclude multiple products from the feed at once.
2. Scroll down to the Google Shopping Feed section and set Yes for the Exclude From Google Shopping Feed option.
Here's where you can also set a product for a specific Google Shopping Category.
Don't forget to Save Config, regenerate the feed and check ifihor
- 3 min read
Variable is a data item that can be applied multiple times and for different purposes. In Magento, variables are used to . There are two types of variables: predefined and custom. Magento 2 gives you a great load of predefined (default) email template variables that will help you to adjust your email templates for personal usage.
Obviously, it is impossible to keep all of them in mind. So here you can find a complete list of Magento 2 email templates variables.
Additionally, you'll learn how to add your custom variable to email templates and use it in your emails.
Default Email Template Variables in Magento 2
Default Variable Description
Magento 2 Default Variable Used in Email Templates
Base URL
{|{config path="web/unsecure/base_url"}}
Secure Base URL
{|{config path="web/secure/base_url"}}
General Sender Name
{|{config path="trans_email/ident_general/name"}}
General Sender Email
{|{config path="trans_email/ident_general/email"}}
Sales Representative Sender Name
{|{config path="trans_email/ident_sales/name"}}ihor
- 1 min read
Product management is one of the most tiresome tasks in Magento 2. Not only do you need to upload new products regularly, but edit the information related to them, update prices, set special prices, and much more.
extension helps you optimize the process and . This saves time and allows you to make the process more time-effective.
Regardless of the information you edit, be it prices, stock status, or categories, you need to check how those changes turn out on the storefront, right?
We've figured so. That's why we've also added an option that allows you to preview products from the admin panel in Magento 2.
So you can edit products in bulk and then instantly jump to the storefront to check how those changes are displayed.
Once you press the corresponding button you'll be redirected to the product page on the storefront. You don't have to go to the storefront and search for the edited product by SKU or name each time you add some changes.
Check the changes immediatelyihor
- 3 min read
FedEx Corporation — earlier Federal Express Corporation and now FDX Corporation — is the USA delivery service that enjoys the trust of its clients all over the world. It provides shipping services by land and air, with overnight delivery being one of their most popular options.
You should definitely consider FedEx as one of the delivery options to lit along other . This way you will create a customer-friendly environment and provide more convenient shipping ways to choose from.
In this article, you will find all the necessary steps you have to take to configure the FedEx carrier in Magento.
1. Create a FedEx Merchant Account
First things first. You will need to create a FedEx merchant account and make sure to register to FedEx Web Services Production Access. Then you will have to click on the Obtain Production Key link on the production account information page and finish the registration process. After that, you will receive a key that will be used to configure FedEx in your Magentoihor
- 3 min read
USPS Carrier — United States Postal Service — is an American delivery service, which provides both domestic and international shipments by land and air. USPS is used by The United States government and is known to be a reliable and efficient service.
You can consider USPS as a shipping option for your store together with other to deliver your products faster and provide your customers with more options to choose from.
To ensure easier integration of the USPS carrier into your store, we'll help you to set it up in Magento.
1. Create a USPS Shipping Account
First of all, you have to create a USPS shipping account. After registration, you will receive a User ID and a link to the USPS test server. Keep in mind, that your account credentials are crucial for the further USPS configuration in your Magento store.
2. Enable USPS for Magento
1. Go to Stores > Settings > Configuration > Sales > Delivery Methods and Enable the USPS carrier for checkout.
2. Complete the following information:ihor
- 2 min read
As a store admin, you probably know how time-consuming it is to with their images to Magento 2 one by one especially if your store operates hundreds of items.
So, perhaps you are looking for easier ways to fulfill this task. Today, we'll cover how to import all products with images in Magento 2 using a local server and an external server.
Import Product Images in Magento from the Local Server
One of the possible ways to import product images in Magento is through the local server. For that:
1. Go to the Magento server and upload your image files to the default folder pub/media/import. You can select any other folder, just make sure to use the correct path while uploading product images to Magento.
2. In the CSV file add the name of each image file by SKU in the appropriate row and in the corresponding column depending on the image type (base_image, thumbnail_image, small_image, additional_image, etc.).
Note: if you want to add multiple images to one and the same SKU, then leave a blankihor
- 2 min read
We all know that 2F Authentication is one of the best ways to improve admin panel security. It is a truly great feature that store owners can rely on. At the same time, a strong password is of crucial importance, because you obviously don't want your store data to be leaked.
But there is a thing with long and complex passwords, you can easily forget them or even end up with a locked admin account. In this case, you must learn how to reset admin password in Magento.
In this article, we'll consider 3 ways to reset Magento 2 admin password. And if you want to get notified about the poor password change policy, use the .
1. Reset Admin Password in Magento 2 via Email
One of the easiest ways to reset a password is to use Admin Panel for that. You just have to take the following steps click the Forgot Your Password link.
Then fill in the Email address and press the Retrieve Password button.
The system will send you a letter with the password reset link that helps you create a newihor
- 2 min read
Magento sales emails are inevitable elements of successful store-customer communication. They help you provide information about customers' orders, shipments, etc., to maintain a better customer experience and increase loyalty.
Magento allows you to configure all transactional emails from the admin panel and even .
Nothing complicated here. In this article, we'll go through everything you need to know to configure sales emails in Magento 2.
How to Configure Sales Emails in Magento 2?
1. Go to Stores > Settings > Configuration > Sales > Sales Emails.
As you can see, there are a lot of sections to feel in, the most important of which are and .
The others include Invoice, Invoice Comments, Shipment, Shipment Comments, Credit Memo, Credit Memo Comments, andOrder Ready For Pickup in Store. All of them have the same type of information you have to complete.
2. Fill in General Settings.
EnableAsynchronous sending if you want to send sales emails at regular intervals or disable it if yourihor
- 6 min read
Hello, Magento fans,
Have you managed to get your favorite Magefan extension with a super discount this November?
This month has been full of new features and updates. One of the greatest — all Magefan extensions are now fully compatible with the .
New features of the !
Great news! Your checkout will be even more convenient now. We’ve added compatibility with Stripe, an online payment processing platform and Magento 2.4.5.
Add icons to payment methods, set default payment and shipping methods, and improve the overall checkout experience for your customers!
New features of !
Compatibility with the Hyvä theme is what you might have been waiting for — and we’ve made it! Additionally, we’ve added the rule duplication option and some minor code improvements in the version.
So, from now on you don’t have to create auto-related product rules from scratch. Simply duplicate them and tweak the settings. This feature reduces related product management time to minutes.
Newihor
- 2 min read
Image optimization is one of the important steps you need to take to and provide a better experience to your customers. There are multiple ways you can optimize images in Magento, the main being .
It allows you to delay the loading of offscreen images which boosts page speed correspondingly. However, in case you don't want to lazy load some images to be lazy loaded (those at the top of the page), you can do this with the .
How to Exclude Images from Lazy Load Automatically?
Navigate to Stores > Configuration > Magefan Extensions > Lazy Load. If you choose to lazy load ALL blocks, define the Lazy Load Block and set First Images To Skip from these blocks in a corresponding field.
The extension will automatically exclude entire blocks or only some of the first images in these blocks from lazy loading.
How to Exclude Images from Lazy Load Manually?
If you want to exclude any particular images from lazy loading, simply add the mfdislazy="1" attribute to the <img> tag as in theihor
- 3 min read
All store owners know how important it is to keep the order data up to date. Why? Because this way you can avoid any kind of misunderstanding, make your store more customer-friendly, and improve their experience.
This is why there is a great option — Magento 2 order comments — which helps admins to clarify and update certain details, when .
Read on to learn what are order comments and how you can configure them in your Magento 2.
What are Magento 2 Order Comments?
Magento 2 order comment is a note on the order view page used to add some details or updates about the order. They are visible in both frontend and backend order grids. However, by default, only admins can leave these comments.
If you decide to add any order comment in the admin panel, it will be sent to customers' emails and/or displayed on the clients' order page. However, you don't necessarily need to send the command to customers via email. It's optional.
If a customer wants to revise some things or reply to the admin's orderihor
- 1 min read
If you want to tailor your customer's experience to their needs you have to gather as much information about them as possible. Displaying unique pricing details or offering different shipping services based on customer groups required you to get current customer data in Magento.
Besides, customer age, gender and location are valuable marketing insights you can use to tweak your strategy.
Since you already know how to and to customize them, in this guide you'll learn everything about getting logged in customers details.
Get Current Customer in Magento 2
You can get current customer in Magento via \Magento\Customer\Model\Session model using two methods.
Using Construct
<?phpnamespace VendorName\ModuleName\Folder;class Example{ private $customerSession; public function __construct( \Magento\Customer\Model\Session $customerSession ) { $this->customerSession = $customerSession; } public function getCurrentCustomer() { return $this->customerSession->getCustomer(); }}?>
Using Object Managerihor
- 1 min read
Magento allows you to create and configure 6 different in the admin panel. Each product has a unique name, ID, and other details related to it. So, after you learn how to , you have to know how to get current product in Magento 2.
Get Current Product in Magento 2
To get current product details you need to use .
<?phpnamespace VendorName\ModuleName\Folder;class Example{ private $registry; public function __construct( \Magento\Framework\Registry $registry ) { $this->registry = $registry; } public function getCurrentProduct() { return $this->registry->registry('current_product'); }}?>
And now you can use getCurrentProduct() method:
// print current product dataif ($currentProduct = $example->getCurrentProduct()) { echo $currentProduct->getName() . '<br />'; echo $currentProduct->getSku() . '<br />'; echo $currentProduct->getFinalPrice() . '<br />'; echo $currentProduct->getProductUrl() . '<br />';ihor
- 2 min read
Magento is very straightforward when it comes to in the admin, which can't be said about the customers' side. However, unfortunately, customers can frequently change their minds right after making a purchase and might want to cancel their shipment. So, it is important to know how to cancel shipments in Magento 2 to ensure seamless management and uninterrupted order processing.
While you can , there are some restrictions when it comes to shipments. In fact, everything depends on the carriers you are working with and the limitations they set.
e.g To cancel a shipment with UPS you have to wait 24 hours after a shipment is booked. Using FedEx, on the other hand, you can cancel a shipment within 12 hours or before the ship date, which is usually printed on the label.
If you want to know how to cancel a shipment in Magento, then keep reading! We'll explain everything.
How to Cancel a Shipment in Magento?
To cancel a shipment in Magento:
1. Go to Sales > Orders and choose the order the shippingihor
- 1 min read
Although require manual management, you don't have to worry about it with the for Magento 2. It allows you to automate the process and create related product rules based on multiple products and cart attributes.
All you need to do is set when where and under what condition to display related products. However, you also don't have to create multiple rules from scratch since the module allows you to duplicate related product rules.
To duplicate related product rules in Magento:
1. Navigate to Marketing > Automatic Related Products > Rules and choose the rule you want to copy the conditions from.
2. Press Duplicate on the top menu panel.
Duplicated related product rules will be disabled by default and have the corresponding label added to the title. So, all you have to do after that is tweak the rule settings, rename it, enable and save.
This feature allows you to configure similar rules for multiple pages in a matter of minutes. It also works for the you create to displayihor
- 3 min read
Customers are not always ready to buy your products immediately while shopping. Usually, they need more time to make up their minds and consider all pros and cons of a certain item. And while you can , Magento wishlist will benefit your more.
A wishlist is an essential feature that allows customers to have their preferred items gathered in one place and buy them during the next visit to your website.
Additionally, they can share their wishlist with friends. This allows you to reach more customers and increase the demand for your products.
So, today we'll cover everything you need to know about Magento 2 wishlist feature and how you can benefit from it.
What is a Wishlist in Magento?
Magento wishlist is a collection of products, a registered customer hasn't bought yet, but apparently plans on purchasing in the future or sharing with friends.
A wishlist is a great feature not only for customers but store owners as well. Using wishlists you can analyze your sales and follow the trends. Besidesihor
- 1 min read
Once you know how to , you might also need to learn how to get the current category in Magento 2. Regardless if you want to provide discounts based on category or simply retrieve all category information, this guide will come in handy.
Get current category in Magento 2 in PHP class
<?phpnamespace Vendor\Module\Folder;class Example { private $registry; public function __construct(Magento\Framework\Registry $registry) { $this->registry = $registry; } public function getCurrentCategory() { return $this->registry->registry('current_category'); }}
Get current category in Magento 2 via Object Manager
<?php$currentCategory = \Magento\Framework\App\ObjectManager::getInstance() ->get(\Magento\Framework\Registry::class) ->registry('current_category');echo $currentCategory->getId();echo $currentCategory->getName();?>
Note: you should avoid direct use of the in your code since it hides real dependencies of the class.
So, as you can see, getting current category in Magento 2 is not that hardihor
- 2 min read
Efficiency is key when inventory management is concerned. If you you have multiple sources to keep track of and add products to correspondingly. While you can update product Qty per Source on the product editing page, sometimes it takes too much time.
So in this guide, you'll learn how to optimize the process and edit Qty per Source in bulk. extension makes it possible.
Update Magento Quantity per Source via Grid
1. Navigate to Catalog > Products and select the products you'd like to change the Quantity per Source for.
2. Choose the Update attributes option from the Mass actions dropdown.
3. Go to Quantity (by Magefan) and specify Quantity per source value for one or multiple sources.
Once you Save the changes you'll see the Quantity per source values updated, as well as the stocks.
Update Magento Quantity per Source via Mass Actions
The other way you can update quantity per source in bulk is through mass actions.
1. Choose products you need to update quantityihor
- 4 min read
Customer support is improved significantly with the since you can assist customers with their requests timely. But that's not it.
Shopify store admin is not the only place where you can from. You can also do that from your CRM or helpdesk, etc. (if they allow you to extend them and run requests to the custom API that comes with our app).
But even this is not the only thing a custom API allows you to do.
Today you'll learn about all the options, along with how to retrieve those API Keys.
Log in to Customer Accounts
You can log in to customer accounts using the Login as Customer API in 2 different ways. However, before that you need to retrieve the Public and Secret Keys.
For that navigate to Apps > Magefan Login as Customer > Configuration > API keys. Then copy and generate corresponding keys.
Once you do that, explore the login options available for you.
Note: the following code is written in PHP, but you can use any other programming language.
Login using the customer ID
<?phpihor
- 4 min read
The article was written by Julia who is a content manager at Crowdin. It is a localization management platform. Julia has a love for creativity and likes talking about content creation and SEO.
You probably already know that in the world. Hence, that’s why you chose it. You should also know that it can easily be adapted for international businesses that serve customers in different countries and languages.
As your Magento store grows, you will need to communicate with your customers and potential customers in more than one language. You'll need to translate your Magento Commerce into different languages, and manual copy-parting won’t be the path you want to take.
Integration with Crowdin localization software will speed up the translation process, extract source texts to make them available to translators, and add translations automatically back to Magento.
Translate your Magento website with Crowdin
Translate your Magento content with the help of Crowdin. Setup integrationihor
