kowal.info

Tags Bar

Composer kowal/module-amastytagsbar · Version 1.0.3

Product page

Tags Bar — kowal.co

Description

Adds a row of attribute option links above product listings so shoppers can narrow the results.

For whom

For merchants who want frequently used filters to be prominent on category and search results pages.

Features

  • Read option labels from a product attribute.
  • Choose how filter URLs are generated.
  • Set separate text, background and border colours for the active tag.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-amastytagsbar
bin/magento module:enable Kowal_AmastyTagsBar
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Assign values to products using a dropdown attribute available for filtering.
  2. Under Tags Bar → Settings, set Enable, enter the attribute code (default tags) and choose the URL mode for your store’s navigation.
  3. Set the list and “All” labels. Under Design, choose the active option colours.

Requirements / notes

The package requires kowal/base. In query-string mode a link passes one option ID, for example ?tags=12. Check the bar’s placement if the theme customizes product listings.

FAQ

Why do the tags have no product counts?

Show product counts does not provide counts in query-string mode.

Verify the installation

bin/magento module:status Kowal_AmastyTagsBar

Pick a category where two products have different tags. Select one tag and check the URL, active styling and matching products. Repeat on a search results page.