It may well be that our online catalogue is not updated yet. We have a vast network of ingredients, our supply chain team will be happy to entertain any ingrendient enquiry.
If you need to update by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Blog extension was installed with.
Attention! Before the update, we strongly recommend to create a backup of your Magento 2 files and database.
Update using composer
If the blog module was installed via the composer (check if vendor/magefan/module-blog 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:# blog - for Basic plan# blog-plus - for Plus plan# blog-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 blog module was installed via FTP (check if app/code/Magefan/Blog folder exists), then followihor
In order to change the locale of Magento 2 Admin Panel take the following steps:
1. Click on your user icon in the upper right corner and go to Account Settings.
2. Find the Interface Locale select box in the Account Information section, where choose the language you need. Note: the language of Magento 2 admin panel won't actually change unless you you want to have.
You may be interested in:
✔
✔
✔
3. Enter your current password in Your Password field and press the Save Account button to save the Magento 2 language of the admin panel.
Note: this change will affect only a selected customer, to change the admin interface locale for another one, please navigate to System > Permissions > All Users to manage its settings.
Trouble shootings
1. Make sure you have the language pack for the corresponding language installed in case it wasn't applied. You can easily find a free language pack it Google (use query "Magento 2 XXX language pack").
2. If your Magento ihor
Managing a might not seem that hard at first. However, before being published blog posts goes through multiple stages: creation, editing, proofreading and publishing.
Sometimes multiple people work on one article. Correspondingly they have different roles and responsibilities.
So, in this article, you're going to learn more about blog access control list and how you can restrict users' access to different blog sections.
To configure the access rights for the blog admin pages:
1. Go to Admin Panel > System > User Roles.
2. Choose the you want to change the blog access rights for.
3. In the Role Resources section, you will see the resources tree. Find the Blog sections.
Once you have finished don't forget to press the Save Role button.
With the ACL you can restrict the rights for viewing, editing, deleting blog posts, categories, tags, authors and comments. Besides, you can set additional rights to import the blog and administrate the main blog configurations.
As mentioned beforeihor
In order to assign all products to the website please, go to your Magento 2 Admin panel > Catalog > Product and Select All products.
Then, choose Update in the Actions select box.
Afterwards, move to the Product Information > Websites and in the Add Product to Websites section, choose the website you need.
Next, press the Save button.
Wait some time. After a while, you'll see the notification about the assignation being performed.
If you manage store you have the best place to promote your products. You can in blog content or add related products at the bottom of the post.
You encourage people to view your catalog and purchase your products.
However, when you have a lot of blog posts it can be time-consuming to look for products and add them manually for each blog post. That is why there is a related product rule to help you out and here you will learn how to configure it.
Note: you can set up related product rules only if you use .
To configure blog related product rule in Magento 2:
1. Go to Content > Blog > Posts and choose the blog posts you want to configure the related products rule for.
2. Scroll down to the Related Product Rules section and set the Conditions based on product attributes like category, SKU, price, etc.
Note: if some attribute is missing in the attributes list, you have to .
3. Once you finish with the related product rules, don't forget to Save the blog post and check the related productsihor
Blog is a great tool not only to drive traffic to a website but to boost brand awareness and promote your products. That's why the related blog products feature in can really come in handy.
Although you can add related products for each post manually, it can be challenging if you have a lot of posts. You need auto-related blog products for this.
Note: you can configure auto-related products only if you use .
To configure auto- related blog products in Magento:
1. Go to Stores > Configuration > Magefan Extensions > Blog > Post View > Related Products and enable the Display Related Products option.
2. Set the Number of Products to display on the blog post page.
3. Enable Auto Related Related Products (Blog+). The system generates blog-related products automatically by the most frequently used words from your posts and products. Thus, it is based on the description and title.
4. In the Black Words For Auto Related field enter words you want to ignore. You don't need to enter one-letterihor
Related posts are the best way to encourage your blog visitors to read more and stay on your website longer. While a few posts are not a problem, it's really time-consuming to add related posts to a blog that has a significant number of articles.
But don't worry, has you covered. It offers you both manual and automatic options which we'll discuss in this guide.
Note: before we start, note that auto-related blog posts are available only in the .
Enable Related Posts
Before you get to adding related content in the posts directly, you need to enable it in the . For that navigate to Stores > Configuration > Magefan Extensions > Blog > Post View and enable a corresponding option.
Additionally, you need to choose a Template for the related posts and set a Number of Posts to display.
Don't forget to Save the settings before moving to the next step.
Add Related Posts in Magento Blog
1. Navigate to Content > Blog > Posts and choose a post.
2. Scroll down to the Related Posts and Products sectionihor
Transactional emails are the primary communication channel used to notify customers about their orders, shipments, refunds, and other details. How you structure and configure them defines how effective they will be.
Luckily, Magento already has all the tools you need to customise default email templates and offers some custom variables to personalise them.
In this guide, you'll learn everything about Magento email templates. From customising the default template to creating a new one from scratch we'll cover every detail to help you successed in your efforts.
What Are Magento Email Templates?
Magento email templates are pre-designed HTML and text layouts you use to send automated emails to your customers. These templates cover different types of customer-store interactions.
There are different types of Magento email templates:
Sales email templates (, order update, invoice, shipment, credit memo) are used to inform customers about their order status.
Customer email templates (new accountihor
There are cases when you want to change page URLs or disable some page and avoid 404 error. Unless you create , you need to create 301 redirects manually.
In order to add 301 redirect in Magento 2 take the following steps:
1. Go to Admin Panel > Marketing > SEO& Search > URL Rewrites.
2. Then press the Add URL Rewrite button.
3. Enter URL Rewrite Information
Choose "Custom" in Create URL Rewrite select box.
Choose the store view you want the URL Rewrite to be added to in the Store field.
Set the path you want to be redirected in the Request Path field.
In the Target Path, you correspondingly set the path you want the old one to be redirected to.
Choose Permanent(301) in the Redirect Type field.
Enter short information why you add this rewrite in the Description text box (optional).
Attention! Do not enter either domain or store view code in the request and target paths.
4. Once you have finished creating the redirect don't forget to save it by pressing the Save button.
Sometimes you mayihor
Magento 2 HTML <head> is a place where you put any custom code to verify you're the website owner or add some custom integration, like , Google Analytics or any other tracking system. In this guide, you'll learn how to do that in a matter of a few clicks.
Add Ownership Verification to Head
To add custom code to the HTML <head> in Magento:
1. Navigate to Admin Panel > Content > Configuration.
2. Choose the store view you want the head tag to be changed on or select Global to change it on every store view.
3. Find the HTML Head section and add your code in the Scripts and Style Sheets field.
Don't forget to press the Save button once you finish and .
Watch this short video to learn how to add custom code to the Magento <head> HTML tag.
Add Tracking Scripts to Head
If the code you add to the HTML head is for data tracking, you need to know that loading that script will influence your store performance. Thus, if you want to set up data tracking and or , try setting this upihor
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
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
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
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
When you run Magento 2 CLI command "bin/magento ..." and get the error:
Allowed memory size of xxxx bytes exhausted (tried to allocate xxx bytes)
You can easily fix it using this command instead of bin/magento:
php -dmemory_limit=-1 bin/magento ....
Examples:
php -dmemory_limit=-1 bin/magento setup:upgrade
php -dmemory_limit=-1 bin/magento setup:di:compile
This error is related to the memory limit configuration in PHP. Parameter -dmemory_limit=-1 allows to run PHP in the CLI without memory limits.
You can also change memory_limit configurations (php.ini file).
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
If you have a product attribute and want to assign it to a single attribute set, it's easy to do via Magento 2 Admin Panel > Stores > Attributes > Attribute Set.But what if you need to assign it to all your attribute sets? What if you have 50+ or ever 100+ attribute sets? It can be time costly.
So what you can do, is to create a simple script that will do all job for you.
1. Create a PHP file "myscript.php" in your Magento 2 root directory.
2. Insert the code:
<?phperror_reporting(E_ALL);ini_set('display_errors', 1);
$ATTRIBUTE_CODE = 'my_attribute';$ATTRIBUTE_GROUP = 'General';
use Magento\Framework\App\Bootstrap;require __DIR__ . '/app/bootstrap.php';
$bootstrap = Bootstrap::create(BP, $_SERVER);
$objectManager = $bootstrap->getObjectManager();$state = $objectManager->get(Magento\Framework\App\State::class);$state->setAreaCode('adminhtml');/* Attribute assign logic */
$eavSetup = $objectManager->create(\Magento\Eav\Setup\EavSetup::class);$config = $objectManager->get(\Magento\Catalog\Model\Config::class);$attributeManagementihor
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
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
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
You can install by Magefan, using composer or archive installation methods.
Note: if you want to install the or please navigate to your Magefan Account > Downloads > Install via Composer to get the composer installation instructions.
Installation via composer (recommended)
Important: this method works only for Blog Basic versions lower than 2.13.0. If you want to install the Blog Basic version starting from 2.13.0 you need to and get a product key.
Open command line.
Using command "cd" navigate to your Magento 2 root directory.
Run CLI commands:
composer require magefan/module-blog ^x.x.x# replace x.x.x with the version you want to install
# 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 downihor