› Extension page

Introduction

The Product Labels extension allows you to display labels for your product for various conditions such as: when the product is on sale, to highlight new products in the store, to show stock messages and other static messages or dynamic messages using the variables that come with this extension. Thus allowing you to attract more customers showing visually attractive call to action texts.

This extension allows you to show labels manually at a product level as well as using conditions to match multiple products that belong to the same label group. You can upload different images for single product view page and multiple product listing for every rule or every product created. The extension also allows you to position the label using the predefined positions tags or you can add custom css to position it anywhere on the product image.

Features Included

  • Show labels at a product level.
  • Add unlimited rules to show match products and show labels.
  • Add conditions to trigger rules.
  • Configure rules at a store level.
  • Select customer groups that can view labels for a particular rule.
  • Prioritize rules.
  • Specify duration to show labels pertaining to the rule.
  • Upload different images for single product view page and product listing blocks.
  • Use predefined positions to show labels or use custom css.
  • Use predefined variables to show dynamic text on the labels such as product attribute values, stock, special price remaining time etc.
    • ##DP## - discount percentage
    • ##RP## - regular price
    • ##SP## - special price
    • ##SA## - save amount
    • #SPDL# - days left for special price (2 days)
    • #SPHL# - hours left for special price (5 hours)
    • #SPTL# - time left for special price
    • ##NL## - new line
    • ##STK## - amount in stock.
    • ##ATTR:attribute_code## - custom attribute

Compatibility

Compatible with Magento 2.0.0 - 2.2.0 CE and EE.

Installation

Web Setup Wizard

  • Unpack extension files:
    • Log in to our website.
    • Download the Base Extension.
    • Unpack the Base extension file downloaded from our site and upload the contents of the file to the root directory of your magento installation.
    • Unpack the purchased extension file downloaded from our site and upload the contents of the file to the root directory of your magento installation.
 
  • Go to System > Web Setup Wizard.
  • Select component manager to install the extension.
  • Enable Modules:
    • Click on Select link on the Base Extension row(Module Name: HS_All). Click the Enable button on the menu that pops up.
    • Next, click on the Select link on the row corresponding to the extension you downloaded (Module Name: HS_ProductLabels).
  • Step 1: Readiness Check
    • Click on the button Start Readiness Check to check you are running Magento on a compatible environment.
    • Click Next upon completion of previous step.
  • Step 2: Create Backup
    • Create a backup before you install the extension, by selecting the checkboxes against the Backup Options and clicking the button Create Backup.
    • Click Next, upon completion.
  • Step 3: Enable Module
    • Click on the button Enable.
  • You will see this page as your module installation is in progress. You can check for errors in the Console Log.
  • Module installtion complete.

 

Usage

Product labels can be added in 2 ways:

  1. Manually assign label to the product. This method has a highest priority and will override any other matching rules for the product.
  2. Create a rule to add labels to all the products that match the conditions set in the rule. You can create multiple rules and add priority to each rule, the label of the rule with the highest priority will be displayed in the frontend. If priority is not set, the label of the first rule that satisfies the conditions will be displayed in the frontend.

Note: Only one product label will be shown per product even if multiple rules match the product.

Method 1: Manually assign label to product.

To manually assign label to the product,

  • Go to Products > Catalog.
  • Add a new product or select the product you wish to edit.
  • Select Product Labels tab under Advanced Settings.

Product View Page Label

  • Display: Select Yes to enable displaying the label on the product page.
  • Position: You can either enter one of the predefined positions listed at Label Positions or add custom CSS.
  • Image: Click on the Browse button to select an image from your local storage. The selected image will be shown to the left of the Browse button.
    Note: Add a transparent image for better display.
  • Text: Specify the text you want to be displayed on the label. Check section Variables to be used in the Text field

Product List Page Label:

This label will be shown in the category/list page, search page, related products, crossell and upsell blocks.

  • Display: Select Yes to enable displaying the label on the list page/block.
  • Position: You can either enter one of the predefined positions listed at Label Positions or add custom CSS.
  • Image: Click on the Browse button to select an image from your local storage. The selected image will be shown to the left of the Browse button.
  • Text: Specify the text you want to be displayed on the label.

Method 2: Manage Rules

  • Go to Marketing > Product Labels > Product Label Rule
  • To Add new rule, click on Add New Rule button.
  • To Edit existing rule, click on the row corresponding to the rule you wish to edit.

Rule Information:

  • Rule Name: Enter the name of the rule.
  • Description: Describe the rule.
  • Status: Select Active for the rule to be processed and Inactive otherwise. Inactive rules will not be used.
  • Websites: Select the websites you want this rule to apply to. Unselected websites will not use the rule.
  • Customer Groups: Select the customer groups you want to show the label associated with the rule. If the customer doesn't belong to one of the selected groups the rule will not be used.
  • From: Select the date using the date picker next to the field. This will be the date from when the rule will start to be used and applied if all the conditions match.
  • To: Select the date when this rule should be stopped from being used in the frontend.
  • Priority: Add integer values to set the priority of the rule. If multiple rules have the same priority the first rule that satisfies all the conditions will be used.

Conditions:

  • Prepare the conditions that should be satisfied for the rule to be applicable for a product.

Actions:

Set the labels that you wish to show in the frontend product page and other list page/blocks.

For more details on the fields check section Manually assign label to product.

 

Variables to be used in the Text field:

  • ##DP## - Discount percentage
  • ##RP## - Regular price
  • ##SP## - Special price
  • ##SA## - Save amount
  • ##SPDL## - Days left for special price (2 days)
  • ##SPHL## - Hours left for special price (5 hours)
  • ##SPTL## - Time left for special price
  • ##NL## - New line
  • ##STK## - Amount in stock.
  • ##ATTR:{attribute_code)## - Custom attribute, replace {attribute_code} with the attribute code you wish to be displayed.

Label Positions:

  • TopRIght
  • TopLeft
  • BottomRIght
  • BottomLeft

Read More

Benefits

  • Free updates for 1 year.
  • Free support for 1 year. If you have any issues with the extension purchased please contact us using the contact form or by using the live chat.
  • Meets magento standard development practices. No core files will be over written.
  • 100% open source.

 

Live chat: cookie consent required

Copyright © Hungersoft 2019

· Terms & Conditions · Privacy policy