tweakwise / magento2-attributelanding-tweakwise
tweakwise/magento2-attributelanding-tweakwise
Provides compatibility between Attribute landing module and Tweakwise module.
Description
This is a compatibility module for Magento2AttributeLanding and Magento2Tweakwise.
It will install the following packages:
- tweakwise/tweakwise
- tweakwise/tweakwise-export
- tweakwise/magento2-attributelanding
- tweakwise/magento2-attributelanding-tweakwise (this package)
Packages tweakwise/tweakwise and tweakwise/tweakwise-export provides magento2 integration with the Tweakwise navigator (https://www.tweakwise.com/)
Package tweakwise/magento2-attributelanding provides magento2 support for landingspages based on attributes and categories for example "red-pants", here category is "pants" and the attribute is color with value red.
This package provides the integration between the navigator and the landingspages.
Installation
Install package using composer
composer require tweakwise/magento2-attributelanding-tweakwise
Run installers
php bin/magento setup:upgrade
A note on navigation.
It is possible to have your users navigate to a landingpage when the user happens to select a set of filters which matches a landingpage.
In order to do this one has to enable "Allow crosslink" under Stores -> Configuration -> Emico Extensions -> Attribute landing pages -> General.
It is also important to note that in order to achieve this the filter values configured in the landingpage match the tweakwise filter values (as known in the navigator) exactly, this is case sensitive!
Configuration
Configuration can be found under Stores -> Configuration -> Catalog -> Tweakwise -> Attribute Landing Pages.
- Backend API Access Token (optional): Enter the backend API token if you want to use the Tweakwise backend API to retrieve attributes when creating attribute landing pages. Leave empty if you manage attribute landing page filters manually.
API outage safety
When Tweakwise marks the current request as failed, attribute landing pages use
NOINDEX robots metadata, preserving the existing follow/nofollow directive.
This safety measure also applies when Tweakwise SEO is disabled. After rendering,
the response additionally includes X-Robots-Tag: noindex to cover failures
detected after the HTML head was rendered, and Magento's no-store/no-cache
headers. These headers are set before Magento's built-in full-page cache can save
the response and also prevent Varnish from caching the degraded response.
Healthy landing pages and non-landing pages retain their normal behavior.
Native fallback does not reproduce landing-page preset filters or Tweakwise
templates: this module applies them to the Tweakwise navigation request, whereas
native fallback uses Magento's category collection. The base module's
MagentoFilterApplier is not implemented; Tweakwise facet names and values
cannot safely be assumed to be native Magento attribute codes and option IDs.
Degraded pages can therefore show broader category results. The protections above
prevent indexing and full-page caching of those results; they do not restore
equivalent native filtering or purge previously cached responses.
Contributors
If you want to create a pull request as a contributor, use the guidelines of semantic-release. semantic-release automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the package.
By adhering to the commit message format, a release is automatically created with the commit messages as release notes. Follow the guidelines as described in: https://github.com/semantic-release/semantic-release?tab=readme-ov-file#commit-message-format.
4.3.2 (2024-04-12)
Bug Fixes
- Applied phpcs and phpmd rules (9336355)
4.3.2-beta.1 (2024-03-29)
Bug Fixes
- Applied phpcs and phpmd rules (e5dc85d)
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| v5.2.1 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-11-18 13:14:09 |
| v5.2.0 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-09-25 13:41:11 |
| v5.1.0 | stable | Not tested | Not yet tested Details | 2026-08-14 13:44:25 |
| v5.0.0 | stable | Not tested | Not yet tested Details | 2026-07-24 13:02:56 |
| 4.5.0 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2026-04-24 11:31:14 |
| 4.4.2 | stable | Not tested | Not yet tested Details | 2026-03-20 13:48:46 |
| 4.4.1 | stable | Not tested | Not yet tested Details | 2025-04-02 12:02:21 |
| 4.4.0 | stable | Not tested | Not yet tested Details | 2025-01-16 10:59:24 |
| 4.3.6 | stable | Not tested | Not yet tested Details | 2024-12-17 13:50:57 |
| 4.3.5 | stable | Not tested | Not yet tested Details | 2024-09-24 13:25:27 |
| 4.3.4 | stable | Not tested | Not yet tested Details | 2024-05-01 08:15:04 |
| 4.3.3 | stable | Not tested | Not yet tested Details | 2024-04-19 08:36:27 |
| 4.3.2 | stable | Not tested | Not yet tested Details | 2024-04-12 14:14:46 |
| 4.3.2-beta.1 | beta | Not tested | Not yet tested Details | 2024-03-29 12:40:16 |
| 4.3.1 | stable | Not tested | Not yet tested Details | 2023-12-12 13:38:15 |
| 4.3.0 | stable | Not tested | Not yet tested Details | 2023-09-27 11:38:20 |
| 4.2.2 | stable | Not tested | Not yet tested Details | 2023-07-19 08:20:59 |
| 4.2.1 | stable | Not tested | Not yet tested Details | 2023-06-20 08:32:52 |
| 4.2.0 | stable | Not tested | Not yet tested Details | 2023-05-02 10:20:03 |
| 4.1.0 | stable | Not tested | Not yet tested Details | 2023-03-15 10:33:58 |
| 4.0.1 | stable | Not tested | Not yet tested Details | 2022-11-22 08:16:50 |
| 4.0.0 | stable | Not tested | Not yet tested Details | 2022-11-03 11:06:37 |
| 3.0.1 | stable | Not tested | Not yet tested Details | 2022-08-31 10:26:29 |
| 3.0.0 | stable | Not tested | Not yet tested Details | 2022-08-30 12:29:16 |
Requires 3
| Package | Constraint |
|---|---|
| emico/m2-attributelanding | >=8.0.0 |
| php | ^8.2 |
| tweakwise/magento2-tweakwise | >=11.2.1 |
Requires-dev 1
| Package | Constraint |
|---|---|
| emico/code-quality | ^10.8 |
Replaces 1
| Package | Constraint |
|---|---|
| emico/m2-attributelanding-tweakwise | v2.4.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 64 | 64 warnings (ruleset: Magento2), 5 auto-fixable with phpcbf |
| PHPMD | Warning | 18 | 18 rule violations (UnusedFormalParameter:17, ExcessiveClassComplexity:1) |
| Cpd | Warning | 1 | 1 duplicated chunk spanning 20 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from tweakwise
View vendorHyvä Themes Compatibility module for Tweakwise_Magento2Tweakwise
Magento 2 module for Tweakwise export
Magento 2 module for Tweakwise integration
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.