ecomhouse / externalcategory
Magento 2 External Category by ecomhouse
Package info
github.com/ecomhouse/externalcategory
Type:magento2-module
pkg:composer/ecomhouse/externalcategory
Requires
- php: >=7.4
- ecomhouse/base: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
ecomhouse/externalcategory lets a category in the Magento top navigation menu link to an
external URL instead of its own product listing. Enable it per category, type the target URL,
and optionally have it open in a new tab — the menu link then points outside the store while the
category itself stays in the catalog and menu structure.
Requirements
| Requirement | Version |
|---|---|
| Magento Open Source | 2.4.x |
| PHP | >= 7.4 |
ecomhouse/base |
^1.0 |
Magento_Catalog |
core |
Magento_Store |
core |
Installation
Composer
composer require ecomhouse/externalcategory bin/magento module:enable EcomHouse_ExternalCategory bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush
Manual
cd app/code mkdir -p EcomHouse/ExternalCategory # Extract module files into the directory created above bin/magento module:enable EcomHouse_ExternalCategory bin/magento setup:upgrade bin/magento cache:flush
Verify
bin/magento module:status EcomHouse_ExternalCategory
Expected: Module is enabled. Installation also adds three category attributes
(external_url_enable, external_url, open_in_new_tab) via a data patch.
Configuration
There is no store-wide configuration. Each category is configured individually at
Catalog > Categories, in the collapsible EcomHouse External URL Settings section:
| Field | Type | Description |
|---|---|---|
| Enable external url | Yes/No | Turns the external link on for this category. Off by default. |
| External url | Text | The full destination URL (e.g. https://blog.example.com/). Shown only when Enable external url is on; validated as a URL. |
| Open in new tab | Yes/No | When on, the menu link opens in a new browser tab. |
These attributes are global scope — one external URL per category, shared across all store views. See docs/how-to-use.md for the full walkthrough. Polish version: docs/jak-uzywac.md.
Uninstalling
bin/magento module:disable EcomHouse_ExternalCategory composer remove ecomhouse/externalcategory bin/magento setup:upgrade bin/magento cache:flush
Uninstalling does not remove the external_url_enable, external_url, or open_in_new_tab
category attributes or their stored values — remove them manually at
Stores > Attributes > (category attributes) first if you want a clean removal.
Support
- Email: opensource@ecom.house
- Website: https://ecom.house/
- Changelog: CHANGELOG.md
- License: OSL-3.0