Giter VIP home page Giter VIP logo

product-label's Introduction

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.

product-label's People

Contributors

thaopw avatar mrkhoa99 avatar paugnu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.