Search by

emico / m2-attributelanding-tweakwise

bramstroker

Provides compatibility between Attribute landing module and Tweakwise module.

Package info

github.com/EmicoEcommerce/Magento2AttributeLandingTweakwise

Type:magento2-module

pkg:composer/emico/m2-attributelanding-tweakwise

Statistics

Installs: 118 717

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 1

v5.2.1 2026-11-18 13:14 UTC

README

This is a compatibility module for Magento2AttributeLanding and Magento2Tweakwise. It will install the following packages:

  1. tweakwise/tweakwise
  2. tweakwise/tweakwise-export
  3. tweakwise/magento2-attributelanding
  4. 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.