Search by

mhinspeya / special-promotion

adeshmukh

Turn Magento Cart Price Rules into clear, on-brand storefront campaign badges — without rebuilding Magento’s discount engine. MHinspeya Special Promotion helps merchants launch faster promotions with auto-prefill from cart rules, precise product/category/brand/material targeting, stackable badges on

Package info

git.modehaus.de/hyvae/special-promotion

Homepage

Type:magento2-module

pkg:composer/mhinspeya/special-promotion

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

1.0.1 2026-11-13 10:44 UTC

This package is not auto-updated.

Last update: 2026-11-14 06:03:16 UTC


README

Display-only Special Promotion badges for Modehaus (Hyvä / Magento 2.4).

Financial discounts are not calculated here. Use Magento Cart Price Rules
(Marketing → Promotions → Cart Price Rules) for money, coupons, and discount logic.
This module only controls where and how badges appear on PLP, PDP, and cart.

Documentation

Marketing-style guides with admin screenshots, cover pages, and PDF downloads — same pattern as other Inspeya modules.

In admin: Inspeya → Special Promotion → Configuration → Documentation buttons
(View Overview / Installation / User Guide + Download PDF for each).

DocumentHTMLPDF
Overviewdocs/01-Overview.htmldocs/pdf/Special-Promotion-Overview.pdf
Installation Guidedocs/02-Installation-Guide.htmldocs/pdf/Special-Promotion-Installation-Guide.pdf
User Guidedocs/03-User-Guide.htmldocs/pdf/Special-Promotion-User-Guide.pdf
Complete pack—docs/pdf/Special-Promotion-Complete-Documentation.pdf

Screenshots live in docs/images/ (admin be-* and storefront fe-listing / fe-pdp / fe-cart). Index: docs/README.md. Markdown mirrors the same content under docs/*.md.

Quick start

bin/magento module:enable MHinspeya_SpecialPromotion
bin/magento setup:upgrade
bin/magento indexer:reindex mhinspeya_special_promotion_product
bin/magento cache:flush

Admin

  • Manage: Inspeya → Special Promotion → Manage Promotions
  • Config: Inspeya → Special Promotion → Configuration
    (includes Documentation buttons: Overview / Installation / User Guide — HTML + PDF)

Features at a glance

  • Admin CRUD for Special Promotions
  • Optional Associated Cart Price Rule with AJAX prefill + summary panel
  • Targeting Type: Product (product grid), Category, Brand, Material
  • Advanced filters: model, on-sale, visibility, stock, configurable
  • Badge content: label / graphic / both (category, PDP, cart)
  • Label placeholders: {{discount_amount}}, {{coupon_code}}, {{rule_name}}, {{simple_action}}
  • Indexer mhinspeya_special_promotion_product → mhinspeya_sp_product_index
  • Auto index refresh + FPC / block_html clean on promotion save

Configuration (store)

Stores → Configuration → Inspeya → Special Promotion (or menu shortcut above)

SettingDefault
Enable ModuleYes
Brand Attribute Codebrand
Material Attribute Codematerial
Model Number Attribute Code(empty)
Product On Sale Attribute Codesale

Indexer

bin/magento indexer:reindex mhinspeya_special_promotion_product
bin/magento indexer:status mhinspeya_special_promotion_product

Invalidated when products, Special Promotions, or Cart Price Rules change.
After Special Promotion save, Full Page + Block HTML caches are cleaned so storefront badges update without a manual flush.

Module path

app/code/MHinspeya/SpecialPromotion

Out of scope

  • Custom percent / fixed cart discounts inside this module
  • Replacing Magento’s coupon / cart-rule engine
  • Amasty-style cart-rule builders

Use Cart Price Rules for all financial promotion behaviour.