This extension adds developer-friendly, programmable badges to Magento.
This extension adds a section into System > Configuration > Catalog > Product Badge Options that allows users to configure and create badges. A "Badge" product attribute is also added into the product configuration.
Each badge is created with a label and a class which allow the developer to style the badges differently on the frontend.
Take following steps in order to add a new badge.
Step 1: Add new class to productbadge.css in following format.
.badge--percent-off-90 {
background: url("../images/badges/90Off-Icons.png") no-repeat scroll 0 0;
background-position: center center;
background-size: 100% 100%;
background-color: transparent !important;
}
Step 2: Add badge image to appropriate location.
Step 3: Add new badge option at System > Configuration > Catalog > Product Badge Options > Add New Badge
Step 4: Assign badge to a product by going to product configuration.
Step 5: Flush cache.
You can refer PR https://github.com/sdinteractive/Papyrus-PapyrusOnline/pull/1087 where we added extension to papyrus repo. (not through modman though)