abdev/module-products-badges (1.0.0)

Published 2026-09-20 20:26:54 +00:00 by andriiuok

Installation

{
	"repositories": [{
			"type": "composer",
			"url": ""
		}
	]
}
composer require abdev/module-products-badges:1.0.0

About this package

Configurable product-card badges for Hyva storefronts

Abdev_Productsbadges

Hyvä storefront badges for product-card images and product-detail galleries.

Admin configuration

Go to Stores → Configuration → Abdev → Product Badges.

  • Sale and Out of Stock badges can each be enabled/disabled and have editable text.
  • Sale percentage is enabled by default. When the effective final price is lower than the regular price (including catalog price rules), it is calculated as (regular - final) / regular × 100, rounded to a whole percent.
  • Custom global badges support editable text, display condition (Always, Only on sale, Only out of stock), background and text colours.
  • Badge position and shape are configurable per store view.

The module renders overlays on standard Hyvä product-card images and through Hyvä's gallery.additional extension point on product-detail galleries without replacing vendor templates. It does not write catalog data.

Dependencies

Dependencies

ID Version
abdev/module-backend ^1.0
hyva-themes/magento2-theme-module *
magento/module-catalog *
php >=8.1
Details
Composer
2026-09-20 20:26:54 +00:00
5
proprietary
16 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-09-20