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.
Notice: this functionality is deprecated and no longer works in the latest versions of Magento 2 Blog.
Posting to Facebook automatically saves you a lot of time so you don't have to duplicate your Magento 2 Blog posts to Facebook, especially if you publish regularly. In this article, you will learn how to configure the blog posts auto-publication to Facebook.
Publish Posts on Facebook
To configure the auto-publication of your blog posts on Facebook in Magento 2 Blog follow these steps:
1. Navigate to Stores > Configuration > Magefan Extensions > Blog and find the Publish Posts On Facebook section. Note: that this option is available for Blog Plus and Blog Extra users only.
2. Enable the Auto Publish on Facebook option to be able to configure it.
3. Set the Facebook App ID and Facebook App Secret. You need to get them from your Facebook API. If you don't have one, please .
Note: that the application needs to be in the LIVE mode and <a title="How to Request " manage_pages"="" and=""
In order to create a new page on Facebook navigate to Facebook Login Page. Note, that you have to be logged in to your Facebook account to create a new page.
1. Press the Create button and select Page from the flyout menu.
2. Choose what kind of page you would like to create (Business&Brand or Community&Public).
3. Enter the Page Name.
4. Set the Category you want your page to be added to.
5. Specify your Address and set the Phone Number which is optional.
6. Put a checkmark in the corresponding field if you don't want your address to be shown to the public and press the Continue button.
7. Set the Main and the Cover Pictures of your page in two steps. You can skip and complete them later if you like.
Once you've finished up with the settings you will be automatically guided to your newly created facebook page.
In this article, you will learn how to create the Facebook App ID which opens a lot of opportunities for you.Following steps to create Facebook APP:
1. Log in to your Facebook account.
2. Go to Facebook for Developers, click on My Apps and press Create App.
3. Set the Display Name of your application.
4. Enter the Contact Email.
5. Navigate to Facebook Login and press the Set up button.
6. Select Web from the displayed platforms.
7. Go to the Settings section and choose Basic.
8. In the appeared menu some of the fields are generated automatically. All you need to do is fill in the rest of them, such as App Domains and Contact Email in particular. Please note these two are obligatory options. Privacy Policy URL and Terms of Service URL are optional, but we recommend you NOT to leave them blank. You will not be able to switch your application to live mode without them being set.
9. Once you've filled all the necessary fields, press the Add Platform button
If you want to keep your audience engaged and get some feedback about your content, you need comments. However, things can get a little out of hand from time to time, especially without moderation. Luckily that's not the thing with the .
It offers you three different comment types, the ability to edit, approve/disapprove comments and even more. You can disable blog comments for some particular blog posts and protect your blog from spam with reCaptcha.
So, today you'll learn all you need about Magento 2 Blog comments, and how to manage them properly.
Note: some of the options described here are available only in the Blog Plus and Extra.
Magento Blog supports different comment types that are part of the . To configure them navigate to Stores > Configuration > Magefan Extensions > Blog > Post View and find the Comments section.
Magefan Blog Comments
Magefan comments are the built-in comments that give you the most control over what gets published in the comments area.
1. Set the Number
Dates in are important since they give your readers information about your blog posts, blog development, and the relevancy of the content. In this article, you're going to find out more about the dates format, learn where the dates are displayed on Magento 2 Blog and how to disable them.
Magento 2 Blog Plus and Blog Extra v2.9.1 have the option to set the dates format and disable dates displaying. However, note these options are available only for Blog Plus and Blog Extra users.
To configure blog dates displaying in Magento 2 navigate to Stores > Configuration > Magefan Extensions > Blog.
Blog Post Publish Date
In the Design ( Blog+) section you can enable the Display Posts Publication Date and set the Posts Publication Date Format. To learn more about date formats follow this link.
Once you enable the publication date and set it when , you will see the date on the blog posts page, and in the recent, popular and featured posts in the sidebar.
Note: blog post date is used
The examples of some GraphQL queries for the Magento 2 blog module are presented in this article. With these queries, you will be able to extract the necessary blog data for Progressive Web Application (PWA). The queries are easily tested in the .
Note that Magento 2 Blog GraphQL addition should be installed first.
To check the full Blog GraphQL schema please see the schema.graphqls file.
Blog Index Page Posts GraphQL Request
Query:
query GetPosts ($currentPage: Int $pageSize: Int) {
blogPosts (currentPage: $currentPage pageSize: $pageSize sort: ["DESC"]) {
total_count
items {
post_id
title
short_filtered_content
author {
author_id
name
author_url
}
post_url
creation_time
tags {
tag_id
title
tag_url
}
categories {
category_id
title
category_url
}
}
total_pages
}
}
Variables:
{"currentPage": 1,"pageSize": 5}
Result:
As a result, you will receive data for the first 5 blog posts that should be displayed on the first page.
Blog Category Posts GraphQL Request
With this query you will get posts
You can install Magento 2 Blog GraphQL Extension by Magefan using composer or archive installation methods.
Installation via composer (recommended)
Open command line
Using command "cd" navigate to your Magento 2 root directory
Run CLI commands:
composer require magefan/module-blog-graph-ql# 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
1. Create a new folder app/coder/Magefan/BlogGraphQl in your Magento root directory
2. Download Magento 2 Blog GraphQL Extension ZIP-Archive
3. Extract files
4. Copy the files from archive to the app/coder/Magefan/BlogGraphQl folder
5. In a command line, using "cd", navigate to your Magento 2
In order to easily test the GraphQL queries all you need to do is install the ChromeiQL extension for Chrome Browser by pressing the Add to Chrome.
Once you have added it you will see the extension icon in the right top corner of the browser window. Pressing it will move you to the new window where the testing is actually conducted.
This is the example of how we test the GraphQL query for Magefan Magento 2 Blog module:
Set the Endpoint URL in the corresponding field.
In the left field set the query. It is also allowed to state the query parameters if needed below the query section.
Press the Run ( > ) button and see the result on the right.
In case you have a multi-language store and want to add Store Codes to the URLs to make them look like e.g. yourdomain.com/en, yourdomain.com/fr, yourdomain.com/au follow next steps.
Navigate to Stores > Configuration > General > Web and find the Url Options section. There you choose to Add Store Code to URLs selecting Yes from the corresponding select box and Save Config.
Note: Store Codes are set while manually in Stores > All Stores. So in order for store codes to be added to URLs, you need to make sure you've set them for each store view.
Admin Panel Configuration is just one of the series of articles about which include information about the creation of a new store view, language packs installation, useful multi-language store extensions, product&category, CMS pages&blocks, email templates, and other translations in Magento 2 website. You should definitely get acquainted with them in order to know how to manage a multilanguage store.
While your journey requires a lot of steps, translating products is one of the most important ones. Not only because customers prefer shopping in their local language. But because you increase the chances of ranking higher for different languages.
So, in this guide, you'll learn everything you need to translate products in Magento and do it the easy way. Or even without doing it yourself.
Intrigued?
Product Translation in Default Magento
Even though Magento offers you the for general translation, it doesn't cover long-form content. So, you have to translate all the descriptions, metadata and other fields manually for each product.
Just navigate to a product you want to translate and switch to a corresponding store view.
Note: if you don't see the store view you would like to translate the product for, scroll down to the Product in Websites section. Make sure the product is assigned to a corresponding website.
From there, just translate the content visible on the frontend. But note
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 Hreflang Tags extension has been installed in.
1. If you can find the extension files in the folder
app/code/Magefan/AlternateHreflang
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-alternate-hreflang
then run composer CLI command to remove it
composer remove magefan/module-alternate-hreflang*
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)
Attention! This will clean all alternate hreflang configurations.
1. Just in case please make
If you need to update Magento 2 Alternate Hreflang Extension by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Alternate Hreflang extension was installed with.
Update using composer
If the alternate hreflang module was installed via the composer (check if vendor/magefan/module-alternate-hreflang 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:# alternate-hreflang - for Basic plan# alternate-hreflang-plus - for Plus 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
Note: if you don't want your website to be down during deployment, try these .
Update using archive and FTP
If the alternate hreflang module was installed via FTP (check if app/code/Magefan/AlternateHreflang folder exists), then
You can install by Magefan, using composer or archive installation methods.
Installation via composer (recommended)
Please navigate to your Magefan Account > Downloads > Install via Composer to get the composer installation instructions.
Installation using archive and FTP
Download Alternate Hreflang Extension ZIP-Archive from magefan.com website (not GitHub or other sources).
Extract files.
Copy app folder from the archive to your Magento 2 folder.
In a command line, using "cd", navigate to your Magento 2 root directory.
Run 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 .
Once you have installed the Magento 2 Alternate Hreflang extension you can start the .
Blog is a powerful tool that allows you to drive traffic to your store. If you manage a multi-language website you get even more of that traffic. However, it's not as easy to get all those pages to rank in different languages as it seems. You need for that.
They tell search engines that you have multiple pages in alternative languages. So they don't focus on ranking only one of them.
However, adding hreflang tags is not that easy. You need to do that through code or a sitemap. Or you can opt for a much easier option — .
Today we'll show you how easy it is to add hreflang tags to Magento blog pages, using this handy tool.
Note: Magefan Hreflang Tags Extension works with only.
Add Hreflang Tags to Blog Posts
Start by going to the Content > Blog > Posts and choosing the post you want to add the alternate hreflang tags on.
Then find the Alternative Store View Localizations section and set the hreflang tags. Just start typing the page title in an alternative language and choose a corresponding
While are used to improve store switching, that's not only about it. They also help you mark different page alternatives and avoid duplicate content issues if you have multiple language variants. That's exactly what makes it one of the essential SEO factors.
Doesn't sound easy? Because it isn't, especially when it comes to the implementation. You have to add them through code or a sitemap. But only in case you don't have tools like .
So, in this guide, you'll learn how to add hreflang tags in the Magento admin directly. In fact, you don't even have to do it manually for some pages. The Magefan tool will cover them automatically.
Ready to start?
Configure Hreflang Tags
Before you start adding hreflang tags to Magento pages you need to fill out a few important settings. So, just navigate to Stores > Configuration > Magefan Extensions > Alternate Hreflang to start.
General settings
First of all, choose what Pages to enable the hreflang tags option on.
Then go through other available
In today's e-commerce world, people expect a shopping experience that feels personal. Language plays a big part in that.
If you're running a Magento 2 store and want to start serving international customers, the main task is to know how to manage a properly.
If that sounds overwhelming or time-consuming, we have good news. You can automate many of the processes using the right tools.
So here is the list of the must-have Magento multi-language extensions which can help you provide the best experience for your international customers.
Must-Have Extensions for a Multi-Language Store
Icon
Extension Name
Price
Rating
$299.00
5 ⭐⭐⭐⭐⭐
22 reviews
$99.00
5 ⭐⭐⭐⭐⭐
13 reviews
$89.00
5 ⭐⭐⭐⭐⭐
12 reviews
$89.00
5 ⭐⭐⭐⭐⭐
21 reviews
$149.00
5 ⭐⭐⭐⭐⭐
37 reviews
Now, it's time to take a closer look at how each of the listed extensions can help you manage your Magento store and deliver a better service for your customers.
1. Magento 2 Translation
Let's start with the most essential one — the Magento 2 Translation
Once you , you're still not finished with the product localisation. All because you have to translate product attributes and their values too to complete the process.
So, in this guide, you'll learn about multiple translation options: from manual work to automation.
Ready?
Translate Product Attributes in Default Magento
Magento already offers you the functionality to translate attributes and their labels. So, just navigate to Stores > Configuration > Attributes > Product and choose the attribute you want to translate.
Then, set the Attribute Title for each store view in the Manage Labels section.
And move on to the attribute values, translate the Properties for each attribute store view.
That's the final step in your product attribute translation.
Translate Product Attributes Automatically
Depending on the number of attributes, their values, and store views you have, translation can take a while. So, if you want to optimise the process, you need the Extension.
It comes
With the Twitter cards configured for your blog pages, you have a chance to drive more customers through social media. At the same time, if you have a structured blog, it would also make sense to create Twitter cards for the category pages. It will help to provide eager readers with a whole series of related blog posts that cover a certain field.
So, in the following guide, you'll learn how to configure Twitter cards for Magento 2 blog category page.
The steps below will help you to cope with this task.
1. In the admin panel, go to Content > Blog > Categories and click on the category you'd like to configure.
2. Scroll down to the Twitter Cards Metadata section.
3. Set a Twitter Cards Title if you don't want the Meta Title to be used instead. If it is also not configured the post title will be displayed.
4. In the Twitter Cards Description field enter the description of the Twitter card. In case you haven't set it up the Meta Description will be used. If none of the descriptions
Making your blog stand out in search results is one thing. Achieving the same in social media is completely the other. The same titles and descriptions don't work for both since the audience is just different. That's why you need to make blog links "clickable" and attractive on social media.
Once you you should do the same for your blog. So, that's what you'll learn in this guide — how to add Open Graph tags for a Magento blog.
Note: works only for the pages.
Add OG Tags for Blog Post
Navigate to Content > Blog > Posts and find a post you want to add OG tags for. Then scroll down to the Open Graph Metadata section and fill out:
OG Title
OG Description
OG Image
OG Type
Note: if you don't set the OG title, blog post meta title, then blog post title, will be used instead. If you don't set the OG description and OG image, the extension will use the default Facebook OG extension settings.
Don't forget to Save a blog once you finish and check how it looks like when shared on Facebook.
The importance of having a blog is hard to be overestimated. It's a great tool to drive more customers, provide them with valuable information and increase their trust in your brand. This is how you can establish yourself as an expert in the field of your expertise.
Yet, it's important to let people know about your blog and Twitter is one of the best solutions. So, in this guide, you'll learn how to configure Twitter cards for Magento 2 blog post pages.
In order to configure Twitter cards tags for the blog post page please follow the steps below.
1. Go to Content > Blog > Posts and choose the post you want to configure Twitter cards for.
2. Find the Twitter Cards Metadata section.
3. Set a Twitter Cards Title if you don't want Meta Title to be used instead. If it isn't set up either the post title will be displayed.
4. In the Twitter Cards Description field, set the description of the Twitter card. If you don't enter anything here the Meta description will be used. If none of