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 Updating Magento 2 Price History Extension by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Price History extension was installed with.
Update using composer
If the Price History module was installed via the composer (check if vendor/magefan/module-price-tracker folder exists), then you need to run these simple CLI commands in Magento 2 directory:
composer remove magefan/module-price-trackercomposer require magefan/module-price-tracker ^x.x.x# 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 Price History module was installed via FTP (check if app/code/Magefan/PriceTracker folder exists), then follow these commands:
1. Download the latest version of the Price History extension archive from magefan.comihor
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 Price History 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 .
When optimising images, you'd want to implement WebP and learn how to upload WebP images to Magento.
While there are multiple options to convert images to WebP automatically, in this guide, you'll learn how to upload WebP files to Magento directly.
But before that, you should ask the main question.
Does Magento Support WebP?
is questionable at first hand, since the platform doesn't allow you to upload WebP images to the admin directly.
However, you can convert images to WebP with the WebP extension, store and render them on the frontend (while the original .png and .jpg images are still displayed in the backend).
Magento 2 Upload WebP Images: Steps
You can upload WebP images to Magento using the Magefan .
Step 1: Install WebP images extension
Just follow all the instructions to . Then enable it under Stores > Configuration > Magefan Extensions > WebP > General.
This automatically allows you to upload WebP to the Magento admin.
Step 2: Upload WebP images to the admin
Goihor
As you know Magento 2 provides various default options for creating an eCommerce store and gives you enough flexibility to customize it. However, some errors may appear on the way. And as a developer should know how to fix them.
One of the most common errors you might face is "An error has happened during application run. See exception log for details". There are various reasons for it to appear. So the solutions may vary as well.
If you are wondering how to deal with this error, you've landed on the right page. Today you'll learn more about the error and find a solution you can refer to.
What Causes the Error?
As we've already mentioned, "An error has happened during application run. See exception log for details" is one of the most .
It usually happens after you . Yet, you can also encounter it after upgrading your Magento to a higher version.
The error in question can be caused by multiple reasons. For example, the database connection is not accurate or the MySQL service is notihor
Having a is a great advantage, especially if you also manage a blog. It's a perfect way to share your content with a global audience.
Yet, to complete this task you have to translate your blog for all store views you have. That said, the translation of blog categories in Magento is something you'll have to deal with.
To translate blog categories in Magento 2:
1. Navigate to Content > Blog > Categories and select the category you want to translate.
Note: you need to to translate a category in Magento. So, you have two options: create a new category by pressing the Add New Category button or Duplicate the existing one and proceed with the translation.
2. Set the Enable Category option to Yes.
3. Translate the Category Title and select a corresponding Parent Category, if you have any.
4. Add a translation of the category Content.
5. Go to the Category in Websites section and choose the Store View you want this category to be displayed on.
6. Move to the Search Engine Optimizationihor
The way your blog pages appear on social media definitely influences the clicks they get. Besides, once you in Shopify, you need to make sure they are displayed properly.
Shopify usually handles OG tags on a theme level. So, for them to appear on some specific pages, like blog, you need to make certain changes to the theme.
In this article, you'll learn how to do that step by step and make your Shopify Blog pages more attractive and clickable on social media.
To enable OG tags for the Shopify blog:
1. Navigate to Sales channels > Online Store.
2. Go to Themes, click on the three dots (near the Edit theme button), and select the Edit code option.
3. Find the theme.liquid file and open it.
4. Find in theme.liquid file row with the {% render 'meta-tags' %} code. All you need is to move OG tags from the meta-tags file to the theme.liquid file so our Blog app can use the OG tags.
5. Insert the following code before the {% render 'meta-tags' %}:
<meta property="og:title" content="{{ihor
Managing a is a responsible job, especially if you also manage a blog. Sooner than later you will have to translate your blog posts. And since Blog Extension support multi-language you can target the global audience in different languages.
That's quite a mission, isn't it? That's why you need to know how to translate blog posts in Magento 2 easily.
To translate blog posts in Magento 2:
1. Go to Content > Blog > Post and choose the blog post you'd like to translate.
Note: to translate blog posts you need to manually . So you can either press the Add New Post button and proceed with adding a translation. Or you can open the blog post, press the Duplicate button and translate the copy.
2. Enable the Post and translate the Post Title.
3. Choose the corresponding Categories to add a blog post to. But don't forget to too.
4. Translate the Content of your blog post and add it via the editor you're using.
5. Look through the Display Settings and make sure to add the translated Tags.
6. Moveihor
If you're working for an easy and effortless way to migrate your blog posts to Shopify, you're at the right place. Magefan Shopify Blog App allows you to import blog posts to Shopify via CSV in a matter of a few clicks, literally.
And today you'll learn how to do that. However, if you want to , there is the other tool you should check out.
To import blog posts to Shopify via CSV:
1. Navigate to Apps > Magefan Blog > Imports and find the Import from CSV/XML file option.
2. Upload the CSV file and press Continue.
3. Associate the blog post columns and press Import again.
Note: the columns in your original CSV file can differ from those in our Shopify blog. So you need to associate the columns with the corresponding fields.
Once you import in finished you'll be redirected to the Magefan Blog Posts section to continue working with your posts. Nevertheless, you might want to homepage, post lists, design and learn how to manage Magefan Blog first.
The process of in Magento 2 consists of numerous steps. One of the last ones is creating a shipment. It is a relatively simple task, but it's useful to know how to cope with it as quickly as possible.
On one hand, you can . This method is entirely manageable and not time-consuming. On the other hand, you might prefer an alternative — create a shipment in Magento programmatically. And in this article, you'll learn more about it.
Create a Shipment Using Dependency Injection
It is one of the most common ways to create a shipment. So, in order to create a shipment in Magento 2 programmatically using dependency injection, use the below code:
<?php
namespace Vendor\ModuleName;
class ClassName
{ public $orderRepository;
public $convertOrder;
public $shipmentNotifier;
public function __construct(
\Magento\Catalog\Api\ProductRepositoryInterface $productRepository
) {
$this->productRepository = $productRepository;
}
public functionihor
Although the default Shopify blog offers you some features to manage a blog, they really come down to creating posts. This is one of the many reasons why you might start to look for a blog app that offers you more flexibility.
So, once you make up your mind and choose the right app for you, your need to move all your posts to a new app.
Our Shopify Blog App allows you to export and import blog posts from the default Shopify blog to our app in a few clicks. Let's get right to it.
Import Posts From Default Shopify Blog
1. Navigate to Apps > Magefan Blog > Imports and choose the Import from Shopify option.
2. Choose if you want to create permanent redirects from default Shopify blog to your new posts.
3. Wait for the import to finish.
3. View your blog post in a Magefan Blog posts dashboard.
In case you want to import only some specific blog posts, navigate to Sales channels > Online Store > Blog posts and find a post you'd like to move to the Magefan blog.
Then choose the Export toihor
As a Magento 2 developer, you know that some coding is inevitable for successful store operations. There are many tasks you need to do programmatically, especially when it comes to getting some information like or .
One of them also is getting product by SKU in Magento 2. And in this article, you'll learn more about two possible ways of doing that.
Get Product by SKU Using Dependency Injection
Dependency injection is one of the most common solutions when it comes to getting product by SKU in Magento. It's quite simple, yet no less effective.
So, to apply the dependency injection method, go to your phtml block file and create a _construct function:
<?php
namespace Vendor\ModuleName;
class ClassName
{
public $productRepository;
public function __construct( \Magento\Catalog\Api\ProductRepositoryInterface $productRepository ) { $this->productRepository = $productRepository; } public function getProductBySky($sku) { ihor
Magento 2 is a flexible ECommerce platform that provides you with various options to customize your store to your needs. Thus, as a developer, you have to be aware of the coding matters to make everything works as flawlessly as possible.
There may be dozens of tasks that have to be solved programmatically, for instance, or . However, it always goes down to configuration. So, it might also be useful to know how to get config value in Magento 2. And this is exactly what you'll learn today.
There are two ways to get config value in Magento 2. Let's have a look at both in more detail.
Get Config Value Using Dependency Injection
One of the most common methods to get configuration value in Magento is dependency injection.
In order to apply it, you need to go to the phtml block file and create a _construct function:
<?php
namespace Vendor\ModuleName;
class ClassName
{
public $scopeConfig;
public function __construct( \Magento\Framework\App\Config\ScopeConfigInterfaceihor
If you're looking for easy and no-extra-cost way to drive more people to your blog you need social sharing. To enable social sharing buttons in Shopify blog means getting exposed to new audiences and offer a great experience.
Your blog readers can share your on social media and increase your blog visibility, without any effort from you. You just need Magefan Shopify Blog to enable this option.
The process literally takes seconds.
To enable social sharing buttons in Shopify Blog:
Navigate to Apps > Magefan Blog > Configuration and find the Social settings section.
Enable the Social share link option and choose which Social networks to enable it for.
Don't forget to Save the settings and go to any of your articles to check the social share. You can find the social sharing buttons at the bottom of the page.
Social share is the best free marketing idea since people who already like your blog will drive even more people to it.
However, you also need to , so it is attractive andihor
If you know (and you most certainly do) then you must have landed on this page because it doesn't work as expected. When you configure our Lazy Load extension in Magento, you need to specify lazy load blocks for images to be lazy loaded.
Nevertheless, sometimes this doesn't work for content that has been added via page builder: CMS pages or blocks. So, in this guide, you'll learn how to lazy load images added via page builder in Magento.
To lazy load images added via page builder:
1. Navigate to the CMS block or page you want to lazy load images for.
2. Add a new row at the bottom of the content, and insert an HTML code from Elements.
3. Add the following comment to the HMTL row.
<!-- MAGEFAN_LAZY_LOAD -->
Note: it is important to use a new row at the bottom of the content, since if you add the command at the top of the existing block, it will be deleted.
4. Don't forget to Save the block, and then the CMS page (or block) and check the content on the frontendihor
Although our Shopify Blog App will inherit your website design, you might want to change something specifically for your blog. It could fonts, links colour, font size, etc.
In these cases, you usually need to call out for developers and dive deep into the code. But not if you use our blogging solution. Today, you'll learn how to add custom CSS to Shopify Blog from the admin panel with no effort.
We'll change the colour of the blog post title as an example, but you can change anything you like by adding multiple styles.
To add custom CSS to Shopify Blog:
1. Navigate to Apps > Magefan Blog > Configuration > Design and find the Custom CSS section.
2. Enable the custom CSS option and insert your Custom CSS there.
Then Save the settings and go to the frontend to check how your blog changed according to the CSS styles you've set.
In our case, the colour of the blog post title changed to blue. However, you can change as many details as you want so your blog fits your brand styleihor
The way you present content to people is as important as the relevancy of the information you share in your posts. That's why you need to make sure your blog design is stunning and attention-grabbing.
Except for multiple blog templates, you can find different layouts in the Magefan Shopify Blog to structure your blog pages. And today you'll learn how to configure them and how they are displayed.
Note: this feature is available in the Standard and Pro plans.
How to Configure Shopify Blog Design?
1. Navigate to Apps > Magefan Blog > Configuration and find the Design section.
2. Specify the layout you'd like to use for different post lists:
Blog Index Page Layout
Blog Post Page Layout
Blog Category Page Layout
Blog Tag Page Layout
Blog Author Page Layout
Blog Search Page Layout
3. Here, you can also set the custom page width, set the color mode (light/dark, and manage .
Don't forget to Save the settings and check out what each layout looks like on the frontend. ihor
Hello, dear friends,
The first summer month is almost over and we are ready to share our most recent news and updates.
Before we proceed we’d like to tell you some really exciting news! On July 12-13, you can join one of the greatest events of this summer - MageUnconference NL which will take place in the Netherlands, Utrecht.
And we are so happy to be among the sponsors of this great event. Follow the official Mage Unconference Twitter account to stay updated.
So, let's move to the new features of Magefan extensions.
New features of the Magento 2 Facebook Pixel Extension!
We added compatibility with Hyva Theme. Added page speed optimization option. Added functionality which If enabled Facebook Pixel JavaScript will be loaded only after users first click, scroll, or mouse touch. Added an option to include product categories in the pixel data. We also added auto space trimming for config values.
For Facebook Pixel Plus & Extra version, we added the following options: Productihor
Organizing information on product pages into tabs is great not only for SEO and speed optimization. When you you improve customer experience.
As you might know Magento provides you with some default product tabs. They include product reviews, descriptions and attributes. While those tabs might come in handy, a lot of merchants would rather rename, or remove them.
So, in this guide, you'll find how to reorganize, rename or remove default Magento product tabs from the admin panel. No code editing is required. You'll just need the Magento 2 Product Tabs extension.
To rename or remove default product tabs in Magento:
1. Navigate to Stores > Configuration > Magefan Extensions > Product Tabs and find the Default Tabs section.
2. Unfold a tab you'd like to rename, reorganize or remove and go through the settings:
Enable or disable the default tab.
Set a Title you want to be displayed on the frontend to rename the default product tab.
Specify the Position to define where toihor
Did you know displaying is not the only way to show how popular your posts are? You can also use the views count in your Shopify Blog.
But the best part is you don't need to customize any templates or change the code. Just enable one option Magefan Shopify Blog App offers you.
To enable views count for Shopify blog posts:
1. Go to Apps > Magefan Blog > Configuration > Post Page (Post View) and find the Views Count section.
2. Enable the Calculate & Display Views Counts option and Save the settings.
After this go to any of your and check the views. They will be displayed at the top of the blog post page.
The will start being calculated once you enable the option. But as long as you keep it enabled the number will grow, showing your blog readers and visitors the popularity of your posts.
Nevertheless, you should also explore other to make reading your posts extra engaging.
Although blog sidebar improves navigation it is not always enough to drive visitors' attention. You might want to show some information like promotional banners, links, or videos to notify your blog visitors about new products, etc.
We've covered that as well in our Shopify Blog App. It offers you to add a custom HTML block to the blog sidebar.
In this article corresponsingly, we'll set up a promotional banner on the blog sidebar, as an example. However, you can add any custom HTML content there.
To add a banner to Shopify Blog sidebar:
Navigate to Apps > Magefan Blog > Configuration > Sidebar and find the Custom HTML block - 1 section.
Enable the widget and insert your custom HTML in the corresponding section.
Set the Sort Order.
Note: the Sort Order option defines the position of the widget in the sidebar. The lower the number, the higher your custom block will be displayed in the sidebar.
Once you Save the settings you'll see your banner in the sidebar. ihor
Every creates a session once they start their shift and close it after. Each session is correspondingly linked to a certain terminal and store location. So it allows you to track sales, returns and other activity in each store through Z and X reports.
Since many confuse these two concepts, in this guide, you'll learn everything you need to know about Z and X reports in Magento POS System. And we'll also cover the details of how you can manage them.
What is the Difference Between Z and X Reports?
The X report is a report that shows current session information, from the session opening up till the report is run.
Z reports, on the other hand, cover information on the entire session from open to close.
Correspondingly, to check the transaction details you can print Z reports any time during the day and X reports — at the end of the day.
How to Manage Z and X Reports in Magento POS?
As we've said before, each cashier starts a session at the beginning of their shift. In the Magefan POSihor