Page 5 - Monthly Archives: 2024
- 2 min read
Making purchasing decisions is not that easy, especially if customers are buying apparel. The hesitation usually starts when they need to choose a size. Thus, you must ensure customers can choose the correct size to avoid returns and frustration that follow with the wrong size.
That's when the by Magefan comes in handy.
Note: define how your size charts will be displayed on the frontend before you create them. Use the .
Create New Size Charts
1. Navigate to Apps > Magefan Size Chart and hit the Add New Size Chart button.
2. Choose one of the ready-made templates or create a blank one. We'll go for the Women's Top Template. Once you choose a template, a draft is created.
3. Make changes to the template, if needed. Edit the sizes and metrics, change colours, and size guide, etc.
Note: if you want to upload a size chart image, simply choose a Blank template and upload the image via the media tool.
4. Add Custom CSS to adjust the design of your size chart (optional). ihor
- 4 min read
Hi, the Magefan customers and welcome to the newbies of our Magefan blog.
The first News digest of spring 2024 is here!
This month was as usual full of new features and ideas that we gladly added to our Magento 2 extensions and .
So now it's your turn to check and decide what feature is your favourite!
New features of !
Features:
Improved Google Consent Mode.
Added new "Load GTM Script Before Consent" option for default Magento cookie restriction setting.
Improved JSON file export.
Added tracking of the refund event (GTM EXtra).
The latest available version is v 2.5.4
Request a FREE trial
New features of !
Features:
Received "Built for Shopify" Achievement! This means our Shopify Blog App meets Shopify's highest quality standards for speed, ease of use, and merchant value
Added ability to change /a/ in the blog path to apps/tools/community. e.g. myshopify.store.com/tools/blog/post-path
Added ability to change /blog/ in the blog path to any other path. e. g. myshopify.store.com/a/news/post-pathihor
- 4 min read
As you run your online store, you might frequently tweak the strategies or tactics to see which one receives better feedback. For that, you in your store. From viewing product pages to adding items to a cart, you get insights into crucial aspects.
When asked what tracking tool you use, the majority would probably say Google Analytics. It is indeed an efficient solution, but the numbers speak louder than words sometimes. So today we'll look through the 25+ Google Analytics statistics and see what all the fuss is about.
Ready to get started?
What is Google Analytics 4 and Why is it Important?
Google Analytics 4 (GA4) is a profound analytics service that creates reports on website traffic, customer behaviour and overall website activities. This gives you a clear picture of your website performance. So you can rethink your strategy or tweak it for better results and experience.
With the reports Google Analytics 4 provides, you can plan your marketing campaigns based on events, demographicsihor
- 1 min read
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 Base Price extension has been installed in.
1. If you can find the extension files in the folder
app/code/Magefan/BasePrice
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-base-price
then run composer CLI command to remove it
composer remove magefan/module-base-price
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 Base Price configurations.
1. Just in case, please make a full backup (dump) of your Magentoihor
- 1 min read
If you need to update by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Base Price extension was installed with.
Update using composer
If the Base Price module was installed via the composer (check if vendor/magefan/module-base-price folder exists), then you need to run these simple CLI commands in the Magento 2 directory:
composer remove magefan/module-base-pricecomposer require magefan/module-base-price ^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 Base Price module was installed via FTP (check if app/code/Magefan/BasePrice folder exists), then follow these commands:
1. Download the latest version of the Base Price extension archive from magefan.com.
2. Extract archive.
3. Make the backup copy of the app/code/Magefan/BasePriceihor
- 1 min read
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 Base Price 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 .
- 3 min read
Magento 2 catalog price rules allow you to create encouraging offers and prompt your customers to finalize the purchase. Unlike , catalog rules are applied to the entire catalog, not just the shopping cart.
Traditionally, you via the admin panel. That's where you specify the rule information and conditions for the discounts to be applied. But you can perform all these steps using coding, too.
So, today you'll learn how to create a catalog price rule in Magento 2 programmatically.
Create Magento 2 Catalog Price Rule Using Dependency Injection
One of the safest methods to go for is dependency injection. To apply this method, use the code below:
<?phpdeclare(strict_types=1);namespace Vendor\Module;use Magento\CatalogRule\Api\CatalogRuleRepositoryInterface;use Magento\CatalogRule\Model\RuleFactory;use Magento\Framework\Exception\CouldNotSaveException;use Psr\Log\LoggerInterface;class CreateCatalogPriceRule{ protected $ruleFactory; protected $catalogRuleRepository; protected $logger;ihor
- 2 min read
Magento 2 categories help make your store organized and easy to browse through. They enhance navigation greatly since customers can jump from one category to another without looking for some item in the entire catalogue.
As you know, you can easily in the admin panel. That's the most common way. But there is also a different approach.
You can also create a category in Magento 2 programmatically. In this guide, you'll find two methods to do so.
Create Magento 2 Category Using Dependency Injection
One of the methods to create a category programmatically is to use dependency injection. Here is the code you have to run:
<?phpdeclare(strict_types=1);namespace Vendor\Module;use Magento\Store\Model\StoreManagerInterface;use Magento\Catalog\Model\ResourceModel\Category\CollectionFactory;use Magento\Catalog\Model\CategoryRepository;use Magento\Framework\Exception\NoSuchEntityException;use Magento\Framework\Exception\CouldNotSaveException;use Psr\Log\LoggerInterface;class CreateCategoryService{ protectedihor
- 1 min read
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 Admin Action Log extension has been installed in.
1. If you can find the extension files in the folder
app/code/Magefan/AdminActivityLog
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-admin-activity-log
then run composer CLI command to remove it
composer remove magefan/module-admin-activity-log
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 Admin Action Log configurations.
1. Just in case, please makeihor
- 1 min read
If you need to update by Magefan, please follow the steps below.
Note: the updating instructions depend on the method the Admin Action Log extension was installed with.
Update using composer
If the Admin Action Log module was installed via the composer (check if vendor/magefan/module-admin-activity-log folder exists), then you need to run these simple CLI commands in the Magento 2 directory:
composer remove magefan/module-admin-activity-logcomposer require magefan/module-admin-activity-log ^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 Admin Action Log module was installed via FTP (check if app/code/Magefan/AdminActivityLog folder exists), then follow these commands:
1. Download the latest version of the Admin Action Log extension archive from magefan.com.
2ihor
- 1 min read
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 Admin Action Log ZIP-Archive from magefan.com website (not GitHub or other sources).
Extract files.
Copy app and lib 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 .
- 4 min read
Customer segmentation helps merchants and marketers discover behaviour patterns, improve shopping experience and cater to customers' unique needs. However, once you , you might discover that restricting certain content from different customer groups benefits as well.
Thus, in this guide, you'll learn about Magento 2 customer restrictions and how to impose them on different sections of your store. This allows you to take customer experience to an entirely new level and improve sales correspondingly.
Should we start?
Restrictions for CMS Pages and Blocks
Different customers have different needs. To cover all of them, you need to provide personalized content, which is realised through CMS blocks and pages in Magento.
Thus, if you use certain pages or blocks to promote loyalty programs, share some news or for any other purpose, you can restrict them for different customer groups.
For that, you need to and specify what customer groups should a page or block be visible to.
Anihor
- 2 min read
Readers pay attention to your blog's design before they even read the content. Thus, you need to focus on making it straightforward and easy to browse through.
Even though the extension inherits your theme's styles, you may need to change some things, e.g. link colours, font size, font styles, etc. In most cases, this requires deep code editing. But there is an easier way.
You can add custom CSS in the Magento 2 blog right in the admin panel. No tedious code digging is required.
Let's, for example, see how we can change the colour of the blog post title.
To add custom CSS in Magento 2 Blog:
1. Navigate to Stores > Configuration > Magefan Extensions > Blog > Developer > CSS Settings.
2. Choose Yes to include blog CSS on all pages and add your Custom CSS code in the corresponding field.
Note: if you don't want the CSS to be applied to all pages, select No in the Include Blog On All Pages field. Then specify pages to apply the blog CSS on.
Once the custom CSS is added, Save your configurationihor
- 3 min read
To start selling on Google, you need to set up a Google Merchant Account, create a product feed and submit it to Google. Sounds too simple? Well, that's if we put it shortly. There are a lot of requirements you need to comply with so Google accepts your products.
However today we'll focus on the final step — submitting a product feed to Google Merchant Center. There are two most popular ways to do that, and we'll cover each in more detail.
If you use Magento jump to the bottom of the article to find a ready-made solution on how to .
Submit Product Feed to Google Merchant Center via a File URL
This method is best if you have hundreds or thousands of products which you update often.
To upload your products to Google Merchant Center this way you should have a URL that contains your product feed file. It usually comes from Google Sheets or some third-party tool.
1. Log in to your Google Merchant Center Account and go to Products > All Products.
2. Then choose the Add anotherihor
- 2 min read
If you compare the , you'll definitely see the perks of the latter. The API helps to bypass the crawling queue by sending the page content directly to Google. So, the pages are indexed faster.
However, there's still a downside — a daily limit of 200 requests which includes both updated and deleted pages.
Thus, larger websites that update and publish loads of content daily might need to increase Google Indexing API requests or quota per day. And that's what you'll learn today.
Important: the Google Indexing API comes for free. However, additional quota does not. So you may need to create a billing account before you increase your Google indexing quota. Contact Google Cloud support for details since there is no clear explanation about it in the Google Cloud documentation.
How to Increase Google Indexing API Quota?
1. Navigate to the Google API Console and move to the Quotas & System Limits tab.
2. Tick the quota you'd like to increase (it's Publish requests per day in our case)ihor
- 2 min read
Keeping your blog active and relevant is quite a task. Thus, you may often need to disable some posts or update URLs. But here is the twist: your customers will get 404 error pages if you don't redirect customers from the old URLs. Needless to say, it harms both the user experience and your SEO efforts.
Thus, you must create 301 redirects to ensure a smooth ride. Today, you'll find out how to create automatic blog URL redirects in the extension.
Auto Redirects for Deleted/Disabled Entities
In the Magento 2 Blog, the 301 redirects for deleted or disabled blog entities are created automatically. You get this functionality out of the box and don't have to take any extra steps to set it up manually.
The readers are redirected in the following way:
Blog author > blog index page
Blog tag > blog index page
Blog post > blog index page
Auto Redirects for Changed Blog URLs
When you change some blog entity URL, the process of creating an automatic redirect is slightly different.
What youihor
- 10 min read
One of the most important aspects of any business is customer service. High-quality products matter a lot, and so does the ability to communicate with your customers effectively. If you can cater to your clients' needs and solve their requests promptly, you establish yourself as a brand people can trust.
You can assist your customers in different ways depending on your business type. Now, it's easier than ever given the number of available . But there are two sides of the same coin. What option exactly will be the one?
We know how overwhelming such choices can be. Thus, to give you a hand, we prepared a list of the best Shopify customer support apps that cover diverse aspects of customer service.
Let's get right to them!
Top Customer Support Apps for Shopify
Icon
App name
Developer
Price
Free plan
Free trial
Login as Customer: Support
Magefan
Pro - $39/month
MIT AI Chatbot & Sales Bot
Meetanshi
Pro Plan - $49 / month
Hulk Contact Form Builder
HulkApps
Pro Plan - $9.90/month
Pro+ Planihor
- 7 min read
Hi, the Magefan customers and welcome to the newbies of our Magefan blog,
Today we're happy to share our latest developments we've been working on all February 2024.
So, here is what we'd like to share with you!
New features of !
Features:
Added the co-authoring feature. Now you can select multiple authors for the same post. (Blog Extra).
Added option to create automatic 301 redirects on a blog post, category, tag URL Key change (Blog Plus & Extra)
Ability to reply to a blog comment directly from the admin panel.
Added option to set a description for the blog homepage.
Added option to set average reading time for a post.
Added an option to add custom CSS in the blog settings (in the admin panel).
Added NewsArticle rich snippet in addition to Blog Posting. Now there is a new "Rich Snippet / Structured Data" option for each post.
Improved Author Rich Snippet on the author page (Blog Extra).
Included the blog post featured image and gallery images to the XML Sitemap.
Option toihor
- 6 min read
February 24, 2022 marks 2 years or 731 days of full-scale russian invasion of Ukraine…
However, the russian hybrid war began 10 years ago on February 20, 2014. It all started with the Crimea occupation by russia in 2014. Then the russian army invaded other parts of Ukraine - Donetsk and Luhansk regions.
Today, we’d like to remind ourselves and the world: why our lives have split into “before” and “after” since February 24, 2022.
We understand that the world news has slightly switched from the russian full-scale war in Ukraine to other important topics. However, the war in Ukraine is still not over...
Our day doesn't begin with a cup of coffee or tea. Every day begins with reading news of the latest missile attacks and how many people died (these attacks have been ongoing from day one of this war).
Every day at 9 a.m. we have a moment of silence to commemorate those who have been killed in the russian war against Ukraine.
In this article, we recalled the biggest, heartbreaking eventsihor
- 2 min read
Providing high-quality customer service is one of the pillars of a successful business. Magento 2 offers you extensive features for out of the box. Thus, you can configure customer name, address, login, , and more.
However, the default options are not always sufficient if you need to gather some specific info. That said, you'll need to create custom customer attributes.
Unfortunately, Magento 2 doesn't offer the simple admin panel setup of this functionality. So, you need to add customer attributes programmatically.
Don't know how? No worries, you're about to find out!
1. Create a Magento 2 module
Magento handles customer attributes using the EAV model structure and the Data Patches to alter the info. Thus, this is what we'll apply today.
So, before adding customer attributes, you need to . If you already have a suitable one, you can just use it.
The method below requires you to have a module to run the code. So make sure you have it.
2. Create the InstallData.php file
The next stepihor
- 2 min read
Blog post short content is the first few sentences or a quick summary of the post displayed on the . In other words, it is a text you can see on the blog homepage, category and any other post list pages.
In Magefan you can easily configure the length of the short content, and the with the short content. Today, you'll learn more about it.
How to Manage the Length of the Short Content?
While short content should give your reader a glimpse at the post content, it shouldn't be too long. That's why it's important to keep it relatively short.
To configure short content in Shopify blog:
1. Navigate to Apps > Magefan Blog > Configuration and find the Post List section.
2. Specify the Default Short Content Length (in characters) and set the Short Content End Characters. It will be displayed in case you exceed the length of the short content.
Once you Save the settings, your posts' short content will be aligned with them on the frontend.
How to Set Short Content in Shopify Blog Postihor
