Hello Everyone,
In this blog, you will learn how to install a Product Label extension in Magento 2.
Don’t waste your time, let us guide you straight away. Follow the easy steps below to install and configure a Product Label extension.
Why Magecurious Product Label?
- Enable or disable it from Magento admin.
- Intuitive and adaptable configuration for users.
- Attractive product labelling to engage and entice customers.
- Customize labels with text, colour options, and placement.
- Ability to upload custom text and images.
- Control visibility based on store views and customer groups.
- Create dynamic conditions using stock status, such as new and sale items.
- Compatible With 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
Steps to Install Product Label in Magento 2.
STEP 1: Extract the downloaded extension package from your Magento root folder using FTP(File Transfer Protocol) Tools. For verification of the root folder, you can see some folders inside the Magento root folder like app, bin, lib, PHP server vendors, etc.
STEP 2: Next Need to run some Magento commands to install the extension in your system, so connect with your server via SSH, go to the Magento root folder (e.g: cd /var/www/html/magentp243), and run the below commands one by one.
- php bin/magento setup: upgrade
- php bin/magento setup:static-content:deploy-f
- php bin/magento indexer: reindex
- php bin/magento cache: clean
- php bin/magento cache: flush
- chmod-R 777 var/ pub/ generated/
STEP 3: If all your commands run successfully, then log in to your system Admin Panel and go to Store > Configuration, if you see a new Tab in the left sidebar with the MageCurious Logo it means the extension was installed successfully.
Steps to Connect Product Label with Magento 2.
STEP 1:- To Configure Extension, go to Stores > Settings > Configuration > MageCurious Tab > Product Label Tab > Configuration.
STEP 2:- Extension Configuration:
- Enable Extension: Enable or disable the Product Label extension.
STEP 3:- The admin can set up the custom product labels by navigating through Catalog – > Inventory -> Product Label as shown below in the screenshot.
STEP 4:- After clicking on the Product Label menu option, the admin will be redirected to the New Product Label as per the image shown below.
Furthermore, the admin can:
- View the complete list of Custom Product labels.
- Edit or delete the product labels by clicking on the Select link.
- Add new Product labels by clicking on the Add New label.
Add New Label:
The admin shall navigate to the General information page and click on the Add New Label button.
Further, the admin can set the configurations under General Information, like:
- Status: Enable/disable the label.
- Label Name: Enter the name of the Label.
- Priority: set priority 0 show first label, set 99 show at last.
- Store view: Selected store views that show product labels.
- Feature Categories: Selected categories that show product labels.
STEP 5:- After clicking on the Product Label Information, open a new section as per the image shown below.
- Label Type: you can select a label text or label image.
- Label Text: if you select the text below, show the text field and colour picker.
- Text colour: you can select a text colour and show a preview of the image.
- Label Position: Select the position as – Top Left, top right, Bottom- Left, or bottom right to display the label.
STEP 6:- If you select the upload label image option show below image uploader field below.
- Upload Label Image: if you select the upload label, the image option below shows the image preview.
- Image field: upload your product label image.
- Label Position: Select the position as – Top Left, top right, Bottom- Left, or bottom right to display the label.
STEP 7:- After clicking on the Product Label Conditions, open a new section as per the image shown below.
- Customer Group: selected groups show Product Label.
- Stock Status: You can select out-of-stock, in-stock, and does not matter what options.
- New: if select Yes show only the new product label.
- On Sale: if selected Yes show only the Sale product label.
- Note: Using stock status is New and on Sale creates multiple conditions.
- Note: The admin can assign only one label at a time to the product.
STEP 8:- In Product Specific Product Label :
- To Configure product specific enable and then go to Catalog -> products -> Click any product -> Select Product Label -> YES/NO.
Note: The label will be shown only for the product in which yes is selected.
STEP 9:- Frontend View
- The label will be shown on the front end as per the configuration by the admin.
Category Page: Product Label enabled on Category Page:
Product View Page:
Product Label enabled on View Page:
Final Thoughts:
So this was the easiest way we told you in this blog. This is how you can install a Product Label in Magento 2. Hope you liked the blog.
So quickly go to the comment box and tell me how you like this blog.
Stay tuned to our site to get new updates on Magento.
Thanks for reading and visiting our site.
