Page 32 - Mari Skula
- 2 min read
Since Magento offers you sophisticated tools for pricing and discounts, targeting specific customers or products is much easier. However, sometimes the necessary attribute is missing from the rule conditions, whether you're creating a cart price rule or .
Don't rush to give up on the idea of creating a custom catalogue rule or product labels. You can fix this and we'll show you how.
Why Attribute is Missing in Rule Conditions?
You to assign certain characteristics to a product. While we're focused on the type of attribute (text, dropdown, etc.) and how it's displayed on the frontend we overlook other useful options.
So the reason why an attribute is missing from rule conditions in Magento is one disabled attribute option.
How to Add Attribute to Sales Rules?
Once you know what attribute to add to the rule conditions, navigate to Stores > Attributes > Product and select it from a list. Then switch to the Storefront Properties tab and enable the Use in Promo Rule Conditions option.
Save yourihor
- 3 min read
Imagine that a customer comes to your support reporting an issue with placing an order. What do your support managers do first thing? Request customer's login details to check the issue "from the inside out". Then enter those details and log into a customer's account.
While it doesn't seem that long, requesting and entering login credentials takes a lot of time. It would be much faster to just log in as a customer without all those details, wouldn't it?
makes this possible. So, today you'll learn everything you need to know to log in as a customer in Magento and monitor the process to avoid issues.
Important note: Magefan Login as Customer Extension was . So, if you have issues you need to disable either our module or Magento login as a customer feature.
Configure Login As Customer Extension
Before you get to the main part, you need to fill out a few Login as Customer settings. For that navigate to Stores > Configuration > Magefan Extensions > Login As Customer.
General
1ihor
- 1 min read
If you don't want to , the other way is to run reindex via CLI.
To using CLI (Command Line Interface), navigate to your Magento folder in a terminal and use the following command:
php bin/magento indexer:reindex
It will reindex all indexes. Here is an example of the successful reindex execution:
Design Config Grid index has been rebuilt successfully in 00:00:00Customer Grid index has been rebuilt successfully in 00:00:00Category Products index has been rebuilt successfully in 00:00:01Product Categories index has been rebuilt successfully in 00:00:00Catalog Rule Product index has been rebuilt successfully in 00:00:01Product EAV index has been rebuilt successfully in 00:00:02Stock index has been rebuilt successfully in 00:00:00Product Price index has been rebuilt successfully in 00:00:01Catalog Product Rule index has been rebuilt successfully in 00:00:00Catalog Search index has been rebuilt successfully in 00:00:02
In case you need to reindex some specific index type, please use its nameihor
- 2 min read
Magento is one of their most popular eCommerce platforms that continues to release new versions with updates and bug fixes.
To keep up with the pace of your competition, benefit from new features, and keep your store safe, you have to regularly. However, before you you should be aware of the version you currently use.
That said, there are several ways to check Magento version. In this article, we'll look into each of them in detail.
1. Check Magento version via Admin Panel
For starters, we can check Magento 2 version from the admin panel. To do that, log into your Magento admin panel and scroll down to the footer. You'll see your Magento version in the bottom right corner.
2. Check Magento version using CLI
Besides, you can check Magento version via the command line. To do this navigate to your Magento 2 root directory and run the following command:
php bin/magento --version
The result should be the following:
Magento CLI 2.4.6
3. Get Magento version programmatically
Here is another optionihor
- 1 min read
In order to migrate AheadWorks Blog for Magento 1 to Magento 2 Blog please install extension. After that, navigate to Admin Panel > Content > Blog > Import and choose the Import from AheadWorks M1.
To import Aheadworks Blog from Magento 1 to Magento 2:
Set a Database Name and User Name.
Enter a database user Password.
Set a Database server host (location of a database) in Database Host field.
Set a Table Prefix if there is one.
Specify a Store view the blog from AheadWorks is to be imported to.
Once you have finished don't forget to press a Start Import button. Notice that you will have to copy featured image files to Magento 2 pub/media/magefan_blog directory once the import is completed.
Troubleshooting
1. Something went wrong: Warning: mysqli_connect(): (HY000/1045): Access denied for user
If you have received this error, try to copy AheadWorks blog tablets from Magento 1 database to some database on the same server as Magento 2. As far as you have done this, try toihor
- 3 min read
Social media is one of the best ways to drive attention to your brand, especially in eCommerce. But that's not the only benefit. You can also drive more traffic to your store and increase sales correspondingly. There's just one thing — the links you share on social media have to be attractive to drive clicks.
That's something help you with. So, today you'll learn how to implement OG tags in Magento directly in the admin panel, using only Extension.
Configure Open Graph Tags in Magento
Before you start setting up OG tags for specific pages, you must configure default Open Graph tags.
1. Enable the extension at Stores > Configuration > Magefan Extensions > Open Graph > General.
2. Specify your Facebook App ID.
3. Choose pages to Use Open Graph Meta Tags For.
Note: you can only if you use Magefan Blog Extension.
4. Fill out Default OG Image and Description. They are used in case no other OG image or description is defined.
5. Choose what customer group to Display Productihor
- 9 min read
Managing a single-language website is significantly easier than managing a multi-language one. However, creating a Magento multi-language store is a must if you want to take your business beyond borders.
So, whether you are setting up your first multi-language store in Magento or scaling an existing one, you're in the right place. Here you'll learn everything you need to connect with global customers and drive more traffic to your store.
From installing the language packs to translating content and enabling the — we've got you covered.
Benefits of Magento 2 Multi-Language Store
Once you start a multi-language Magento 2 store, you'll see that it's not about technical changes only. It's about a strategy that makes your business reach the international level. But that's not the only benefit.
Expanded global reach
If your store "speaks" several languages, you reach more customers around the globe. Instead of being limited to one region only. Therefore, setting up a Magento multi-languageihor
- 3 min read
Delivering a personalised user experience when you sell worldwide means a lot of things — displaying customer-specific banners, , categories and more. However, one of the first steps includes enabling language and currency switchers. Let's focus on the latter.
Magento by default allows you to add multiple currencies and display them in the header. However, it's not always enough. People still need to switch between them manually.
So, today you'll learn how to take that to the next level. You'll discover how to switch currencies for visitors automatically using the .
Configure Auto Currency Switcher
Once you install the extension navigate to Stores > Configuration > Magefan Extensions > Auto Currency Switcher and enable the extension to start the configuration.
1. Complete general settings
In the general setting, you just choose whether to Round Prices and Base Currency Prices. Then choose the Rounding Algorithm.
Here are some examples of the round algorithms:
Round (14.3 -> 14.00, 14.5ihor
- 3 min read
Once you start a blog on your store, one of the first things to do is to promote it across your website. You can , add related posts to product pages or try some other way. But the simplest of all is to add a blog link to the Magento navigation menu.
That's what you'll learn to do with the . Since the process differs depending on the theme you use, we'll describe a few different cases.
Add/Remove Blog Link from Magento Navigation Menu
Navigate to the Stores > Configuration > Magefan Extensions > Blog and find the Category Top Navigation section.
Choose whether to Display Blog Link in a corresponding select box.
Add the Link Text that will be displayed on the frontend.
Select whether to Include Blog Categories in the menu and specify the Maximal Depth of the subcategory levels.
Note: you can define whether to include a blog category in a menu directly on the page.
Don't forget to Save the settings once you finish and check the blog link in the navigation menu on the storefrontihor
- 2 min read
Magento 2 blog index page or blog homepage is the first blog page your readers land on. So, you should configure it in a way that makes their navigation through your blog as seamless as possible. However, it should also be optimized for SEO to drive clicks from search.
In this article, we'll cover both to help you configure your Magento 2 blog homepage.
To manage blog homepage in , navigate to Stores > Configuration > Magefan Extensions > Blog and find Blog Index Page section.
Title and Description
Enter the Title of the blog homepage and set the description that will be displayed on the frontend.
Display Mode
Choose a Display Mode to define how posts will be displayed on the blog index page. You can select Recent Blog Posts, Featured Blog Posts or simply leave it Blank if you want to build custom blog homepage with widgets.
Note: if you choose to display the featured posts on blog index page set the post IDs. If you choose to leave it blank you need to create CMS block with widgets toihor
- 3 min read
Your store position in Google or other search engines depends on your SEO strategy. There are a lot of factors SEO is based on and even more things that depend on SEO, website traffic in particular.
is one of the best ways to drive more traffic to your website. So we added the best SEO practices to our Blog Extension to make your blog pages rank.
And in this article, you're going to learn about blog permalink settings — SEO-friendly blog URLs.
To manage Blog Permalink Settings, go to Stores > Configuration > Magefan Extensions > Blog and find Permalink Settings section.
Blog Index Page Route
1. Blog Route indicates the blog's base URL.
If you want the pages of the blog to be accessible from https://mystore.com/news/, please set 'news' in this field.
2. Enable the Auto-redirect to No-Slash URL option to set all blog URLs to end without a slash.
3. Set the Permalink Type.
If you choose Default, the URLs of the blog pages will look as follows:
https://mystore.com/{blog_route}/post/post-title/https://mystore.com/{blog_route}/category/category-title/https://mystore.com/{blog_route}/archive/2017-10/ihor
- 3 min read
Magento 2 blog categories are a great way to improve blog navigation and organize your posts according to different criteria. Creating categories in , you improve customer experience and allow readers to find things they are interested in faster and more effectively.
So, in this guide, you'll learn how to create blog categories and manage them.
Note: before we start, note that some of the options described here are available only in the .
Create Blog Categories in Magento
We recommend creating categories before you create posts. However, you can also add a new category when . First, navigate to the Content > Blog > Categories and press the Add New Category button.
1. Fill out general information
Enable your category and enter a Title. Then assign a category to Parent Category, if any. Set the Position of the category in the sidebar and choose whether to Include a category in the top navigation Menu.
Additionally, you can set whether to Include a category in Sidebar Tree.
2. Create contentihor
- 2 min read
Before you install Magento 2, make sure that the webserver (such as ) and are configured and meet Magento 2 requirements.
Install the virtualhost script for the LAMP server, and create a new virtual host dev.mymagento.com, run the command:
virtualhost create dev.mymagento.com
Open this link in your browser and make sure you can see the content, not the error.
Download the archive with the latest version of Мagento 2. When downloading, you can select the "Include sample data" option, so that after you install Magento 2 test products and categories are available in the store.
Once you download the archive, place the folders and files from it in your domain directory /var/www/devmymagentocom.
Edit the virtual host domain configuration file, run the command:
gedit /etc/apache2/sites-available/dev.mymagento.com.conf
and change the string
DocumentRoot /var/www/devmymagentocom
to
DocumentRoot /var/www/devmymagentocom/pub
The pub folder must be the root one for the webserver.
After saving theihor

