Skip to content

boolfly/product-label

Repository files navigation

Product Label

Installation

Using Composer (we recommended)
composer require boolfly/module-product-label

1. Configuration

General Configuration

Login to Magento Admin, go to Stores > Configuration > Boolfly > Product Label

General Configuration

General Settings

Enable :
  • Select “Yes” to display the product label on front-end.
  • Select “No” to hide the product label on front-end.

2. Add new rule for the product menu

Login to Magento Admin, go to Catalog > Manager Rule > Add New

New Rule

General

New Rule

Enable :
  • Select “Yes” to turn on rule for the product label.
  • Select “No” to turn off rule for the product label.
Title:

Enter name for the product label.

Type:
  • New: The product label display with green background.
  • Sale: The product label display for products are discounted with red background.
  • Best Seller: The product label display with blue background.
  • Custom: The product label display without background.
Description:

Enter note for the rule of product label.

Store View:

Select store view to display the product label.

Customer Groups:

Select customer groups to apply the rule

From:

A beginning date applies the rule.

To:

An ending date applies the rule.

Priority:

Enter the priority number showing the product label (the smaller number is the higher priority)

Conditions

New Rule

New Rule

Conditions (don't add conditions if rule is applied to all products) : Select the rule to apply for all products

Product Listing

Is Display:
  • Select “Yes” to display the product label on the product list page of front-end.
  • Select “No” to hide the product label on the product list page of front-end.
Position:

select position to display the product label.

Label Type:
  • Text: Display text for the product label.
  • Image: Display image for the product label.
Text:

Enter text to display on the product label (only apply when selecting text for label type)

Image:

Upload image to display on the product label (only apply when selecting image for label type).

Css Style Code:

Style inline css for the product label.

Product Page

Is Display:
  • Select “Yes” to display the product label on the product detail page of front-end.
  • Select “No” to hide the product label on the product detail page of front-end.
Position:

select position to display the product label.

Label Type:
  • Text: Display text for the product label.
  • Image: Display image for the product label.
Text:

Enter text to display on the product label (only apply when selecting text for label type)

Image:

Upload image to display on the product label (only apply when selecting image for label type).

Css Style Code:

Style inline css for the product label.

3. How does it work?

Product Listing

New Rule

Product Page

New Rule

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub

Magento 2 Extensions

Support

If you encounter any problems or bugs, please open an issue on GitHub.

Need help settings up or want to customize this extension to meet your business needs? Please email [email protected] and if we like your idea we will add this feature for free or at a discounted rate.