kalicr/popup (1.0.0)

Published 2026-06-25 21:01:42 +00:00 by kalicr-packages

Installation

{
	"repositories": [{
			"type": "composer",
			"url": ""
		}
	]
}
composer require kalicr/popup:1.0.0

About this package

Magento 2 module that displays a configurable modal popup on the homepage using a CMS block.

Kalicr_Popup

Configurable homepage modal popup that displays CMS block content on a scheduled date range.

Features

  • Modal popup displayed on the homepage using a configurable CMS block.
  • Schedule-based visibility — the popup only appears between an initial and final date.
  • Cookie-based display — shows once per browser session.
  • Optional URL redirect when the user closes the popup.
  • Admin date-range validation — JavaScript validator prevents invalid date ranges.

Installation

Via Composer

composer require kalicr/popup:^1.0
bin/magento module:enable Kalicr_Popup
bin/magento setup:upgrade

Manual (local debugging only)

Copy the module to app/code/Kalicr/Popup, then enable and upgrade.

Configuration

Located at Stores → Configuration → Kal-í CR → Popup:

Field Description
Enable Enable/disable the popup
Initial Schedule Start date for popup visibility
Final Schedule End date for popup visibility
CMS Block Identifier The CMS block to render inside the popup
URL Redirect Optional URL to redirect to on popup close

Config path: kalicr_popup/configuration/*

Dependencies

  • Magento: 2.4.8-p4 (Open Source / Adobe Commerce)
  • PHP: ^8.2 || ^8.3
  • Modules: Kalicr_Core, Magento_Backend, Magento_Ui, Magento_Cms, Magento_Config
  • Packages: kalicr/core

Technical Notes

  • Block/Popup.php checks the enable flag and date range.
  • Helper/Data.php reads configuration values.
  • view/frontend/templates/popup.phtml renders the jQuery modal.
  • view/frontend/web/css/_popup-welcome.css provides styling.

Changelog

See CHANGELOG.md.

License

Proprietary KaliCR commercial license. See LICENSE.md.

Support

contacto@kalicr.com

Dependencies

Dependencies

ID Version
kalicr/core ^0.2.0
magento/framework ^103.0
magento/module-cms ^104.0
magento/module-config ^101.0
php ^8.2 || ^8.3
Details
Composer
2026-06-25 21:01:42 +00:00
1
Kal-i CR Development Team
proprietary
12 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-06-25