Product labels for Magento 2

Increase sales by adding custom product labels to your pages. Product labels help attract new customers and can encourage visitors to your store to make purchasing decisions.

Use labels for new arrivals, sales, offers, discounts or whatever you want. Create labels in different shapes, colors and sizes and place them in different positions above your products.

Why Do You Need An Order Reminder?

Grab your customers’ attention with colorful and eye-catching labels. Add product labels that highlight new products or prompt your customers to take an immediate action, such as “Add to Cart”. This extension provides the perfect solution for introducing new products or informing customers about temporary sales or offers.

Interested in Extension Installation Service?

Visit our installation service page https://www.extendware.com/magento-extension-installation-service.html for more information

Support

Got questions? Feel free to contact us! Support Form.

Installation Procedure

Type 1: Zip file

  • Download your extension package from the Download page after purchasing the extension.

  • Open the extension ZIP file you downloaded and extract it to a directory on your computer using a tool like WinRar, WinZIP or similar.

  • Upload the extracted files to the app/code/Extendware directory in your Magento installation, maintaining the folder structure. If updating, overwrite the existing files.

  • Connect via SSH and run the following commands (make sure to run them as the user who owns the Magento files!

    php bin/magento module:enable --clear-static-content Extendware_Core
    
    php bin/magento module:enable --clear-static-content EW_ProductLabel
    
    php bin/magento setup:upgrade
    
    php bin/magento setup:di:compile
    
    php bin/magento setup:static-content:deploy
    
    

USER GUIDE

You will find all extendware settings in Admin Panel → Extendware Menu

alt_text

Product Label General Configuration

To configure the extension you need to go to Admin Panel → Extendware Menu → Extendware Product Label → Configuration.

alt_text

Module Enable - Select Yes to enable the module.

Configure free gift rule

Admin can create product label from Extendware → Product Label → Add Product Label

alt_text

alt_text

Title - Title of the product label for internal reference in the backend.

Attribute - Select the attribute to which the label should be applied for those images.

Product Logo - This field allows you to upload the logo for the product.

Option - Based on the attribute selected from the above field, you can choose the value from the dropdown menu.

Page - Select the page where you want to show the logo.

Product Label - Add the product logo to display on the frontend.

Product Page location - Choose the label/logo location.

Product Page Label Shape - Optional. Choose a shape to use as the label background on the product page. Click the selected shape again to remove it. Without a shape, the background colour is used.

Product label Color / Background Color / Font Weight / Border Radius - Text colour, background colour, text thickness and corner rounding of the label on the product page.

The Category section has the same fields for product listings and category pages (Category Label, Category Logo, Category Page Location, Category Page Label Shape and the category colours). The Preview at the top of each section shows how the label will look.

Label shapes

Shapes let a label use a graphic as its background, for example a star, a ribbon or a badge, with the label text on top.

1. Upload a shape: go to Extendware → Product Label → Label Shapes, click Add New, enter a Name, upload the file under Label Shape and save.

  • Allowed files: SVG, PNG and JPG. Simple SVG outlines look best, because the shape is stretched to the size of the label.

  • For security, SVG files that contain scripts or other active content are rejected.

2. Use the shape on a label: open the label under Extendware → Product Label → Add Product Label, select the shape under Product Page Label Shape and/or Category Page Label Shape, and save.

The shape shows as the label background on the product page and in product listings. Changes are visible in the shop right after saving.

Changelog

All notable changes to this project will be documented in this file.

[2.3.0]

Security

  • Fixed security vulnerabilities related to file uploads, SVG validation, unauthorized access, and code injection.

  • Added role-based permissions for Product Labels, Label Shapes, and module configuration.

Fixed

  • Resolved module update errors.

  • Fixed label form, image upload, and preview issues.

  • Corrected label styling, colours, and shapes on product and category pages.

  • Label shapes now show in the shop: a shape selected on a label is used as the label background on product and category pages (before, it only showed in the admin preview).

  • Label changes now show in the shop right after saving, without clearing the cache.

Changed

  • Label form: click the selected shape again to remove it.

Note: Admin users with limited roles must be assigned the new permissions after updating.

[2.2.0]

Added

  • Product page: labels of the selected variant of a configurable product, for Hyva and Luma (swatches and dropdowns). A label whose attribute only matches a variant (e.g. a bottle size or “organic” set on the simple products) shows once that variant is selected. Labels of the configurable product itself show as before (EW-2318).

[2.1.0]

Added

  • Upload of SVG files as label shapes (EW-1878).

  • More label locations and admin UI design corrections (EW-2150).

  • Label preview on option selection for product and category labels (EW-2157).

Fixed

  • Double entries in the Product Label grid (EW-1746).

  • Saving a new label (EW-1747).

  • PHP 8.4 deprecations (EW-2150).

  • Label form: the “Option” field kept the options of the previously selected attribute and showed “Entity with ID: … doesn’t exist” after switching to an attribute with fewer options.

[2.0.0]

Fixed

  • Duplicate rows in Product Label grid by rendering store column as plain text instead of options.

[1.1.0]

Added

  • First release