Preconditions (*)
- 2.3.5-p2
Steps to reproduce (*)
- Set i.e. size attribute to show in layered navigation
- Set attribute to be a visual swatch
- Set Catalog > Catalog > Storefront > Show swatch tooltip to no
Expected result (*)
- The swatches in the layered navigation shouldn't show a tooltip on hover
Actual result (*)
- 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.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
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. Ideallydata-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.