Skip to content

Layered navigation swatches ignore show tooltip setting #29971

Open
@MichaelThessel

Description

@MichaelThessel

Preconditions (*)

  1. 2.3.5-p2

Steps to reproduce (*)

  1. Set i.e. size attribute to show in layered navigation
  2. Set attribute to be a visual swatch
  3. Set Catalog > Catalog > Storefront > Show swatch tooltip to no

Expected result (*)

  1. The swatches in the layered navigation shouldn't show a tooltip on hover

Actual result (*)

  1. The swatches in the layered navigation show a tooltip on hover

The reason for that is in vendor/magento/module-swatches/view/frontend/templates/product/layered/renderer.phtml. As you can see there in the js initializing the swatch renderer the 'Show swatch tooltip' setting is not considered at all. Ideally data-option-tooltip-* woudn't be set either if tooltips are disabled. I checked the 2.4 code and the issue there is the same.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions