Magediary Documentation

Magediary Documentation

  • Home
  • Docs
  • Support
  • Hire Us

›Magediary extensions

Introduction

  • Getting Started

Magediary extensions

  • Product Accessories
  • Rule Based Product Tabs
  • Product Questions Answers
  • Product Scheduler
  • CLI Command Runner
  • Store Maintenance Lite
  • Coupon Codes Assistant
  • Product Labels & Badges
  • Extra Order & Product Fees
  • Payment & Shipping Hider
  • Product Inquiry & Support
  • Restrict Product

Product Labels & Badges

To get this extension, go to the Product Labels & Badges extension page.

Product Labels & Badges

  1. Frontend
    1. Product List
    2. Product View
    3. Home Page
    4. Related and Up-Sells Products
    5. Cross-Sells Products
  2. Add New Label
    1. Label Information
    2. Label Configuration
      1. Enable for Product View
      2. Enable for List View
      3. Label Position
      4. Label Text
      5. Custom CSS for Label
      6. Label Image
      7. Custom CSS
      8. Product Conditions
    3. Additional Conditions
      1. Sale Price Range
      2. Qty Range
      3. Ordered Range
  3. Configuration
  4. YouTube demo

Frontend

Product List

On the category page, it shows all applicable labels.

label_category_page

Product View

On the product page, it shows all applicable labels.

label_product_page

Home Page

On the home page product list block, it shows all applicable labels.

label_homepage_gallery

Related and Up-Sells Products

It shows all applicable labels under the related and up-sells products list block.

label_related_upsell

Cross-Sells Products

It shows all applicable labels under the cross-sells products list block.

label_crosssell

Add New Label

Sign in to Magento Admin panel and navigate to Marketing ⟶ Product Labels by Magediary ⟶ Product Labels.

Here we can add a new label or manage existing labels from the grid. Clicking on Add New Label button will create a new entry.

backend_grid

Label Information

form_general

Here we can set some information about the Label.

Enable Label enable or disable the label.

Label Name specifies the name of the label for the backend purpose only.

Store View determine on which store view the label will be visible on the frontend.

Customer Groups can be set for the audience to whom the label will be visible on the frontend.

From and To fields to make the label visible for a selected time interval or leave blank for the permanent display of label.

Discard subsequent labels set `Yes' to stop processing other labels after this label is applied. It prevents the system from applying multiple labels to the same product.

Priority set priority for the label.

Use for Parent set Yes to update the label with selected option's simple product for configurable product.

Label Configuration

form_label_configuration

Enable for Product View

Enable for the product view page or not.

Enable for List View

Enable for the product list block like category, related, up-sell, cross-sell or not.

Label Position

Set the position of the label. Possible options are:

  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right

Label Text

Specify the product label text. You can use the following dynamic parameters in the label text. Possible options are:

  • {attribute:code} - attribute value
  • {save_percent} - discount percentage
  • {save_amount} - discount amount
  • {price} - regular price
  • {special_price} - special price
  • {qty} - stock amount
  • {br} - new line
  • {sku} - product SKU
  • {spdl} - X days left for special price
  • {sphl} - X hours left for special price

For example,

  • {attribute:brand}
  • {save_percent}% Off
  • Only {qty} left
  • Sale ends in {spdl} days form_label_text

Custom CSS for Label

Add custom CSS that will only apply to the text div block. label_text_css

Label Image

Upload a label image that will show on the frontend.

Custom CSS

Add custom CSS that will only to this label container. label_container_css

Product Conditions

You can specify product conditions.

Label will only display to the product if the conditions are met.

Leave blank to display label to all products.

form_conditions

Additional Conditions

form_label_additional

Sale Price Range

The label will only display if the product has a final sale price in this range. Leave blank to skip this condition.

  • Price From: set the starting price
  • Price To: set the ending price

For example,

  • Price From: 100, Price To: blank
    • The label will be displayed to products that have a sale price greater or equal 100.
  • Price From: blank, Price To: 500
    • The label will be displayed to products that have a sale price less or equal 500.
  • Price From: 100, Price To: 500
    • The label will be displayed to products that have a sale price from 100 to 500.

Qty Range

The label will only display if the product has a quantity in this range. Leave blank to skip this condition.

  • Product Qty From: set the starting qty
  • Product Qty To: set the ending qty

For example,

  • Product Qty From: 100, Product Qty To: blank
    • The label will be displayed to products that a minimum available qty 100.
  • Product Qty From: blank, Product Qty To: 500
    • The label will be displayed to products that have a minimum qty 500.
  • Product Qty From: 100, Product Qty To: 500
    • The label will be displayed to products that have a qty from 100 to 500.

Ordered Range

The label will only display to products if minimum number of qty ordered of the product in the specified date range. Leave blank to skip this condition.

  • Min Ordered: minimum ordered qty
  • Purchase From Date: from the date
  • Purchase To Date: to the date

For example,

  • Min Ordered: 50, Purchase From Date: blank, Purchase To Date: blank
    • The label will be displayed to products that minimum sold 25 qty.
  • Min Ordered: 25, Purchase From Date: 01/01/2019, Purchase To Date: 01/01/2020
    • The label will be displayed to products that minimum sold 25 qty from 1st Jan 2019 to 1st Jan 2020.

Configuration

Sign in to Magento Admin panel and navigate to Store ⟶ Configuration ⟶ Magediary ⟶ Product Label ⟶ General, Here select Yes to enable the product label and save the configuration. backend_config

This preference lets you configure multiple parameters.

Enabled field allows to enable the product label.

Product View Image Container field allows to set the DOM-selector for a product page label container.

Product List Image Container field allows to set the DOM-selector for a product list block label container.

YouTube demo

How it works - Demo

  • https://www.youtube.com/watch?v=XQeZHkdIpkQ
← Coupon Codes AssistantExtra Order & Product Fees →
  • Frontend
    • Product List
    • Product View
    • Home Page
    • Related and Up-Sells Products
    • Cross-Sells Products
  • Add New Label
    • Label Information
    • Label Configuration
    • Additional Conditions
  • Configuration
  • YouTube demo
Magediary
Extensions
Product AccessoriesRule Based Product TabsProduct Questions AnswersProduct SchedulerCLI Command RunnerStore Maintenance LiteCoupon Codes AssistantProduct Labels & BadgesExtra Order & Product FeesPayment & Shipping HiderProduct Inquiry & SupportRestrict Product
Help
SupportHire Us
Copyright © 2022 Magediary