Product-list: compare icon toggle, conditional Starting At, count-sorted filters - #846
Open
davidnuescheler wants to merge 4 commits into
Open
Product-list: compare icon toggle, conditional Starting At, count-sorted filters#846davidnuescheler wants to merge 4 commits into
davidnuescheler wants to merge 4 commits into
Conversation
…nt-sorted filters - Compare button now shows a plus icon that swaps to a checkmark once added, with "Add to Comparison list" / "View Comparison List" tooltips. Clicking the checkmark navigates to the comparison list instead of removing (hitting the limit still just shows a toast). - "Starting At" now only renders when a product's variants actually have differing sale prices; otherwise the plain price is shown. - Facet filters (drawer + toolbar dropdowns) now sort by product count descending, falling back to alphabetical on ties, applied to every filter (not just Series). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
|
fkakatie
reviewed
Aug 31, 2026
| .product-list-widget .product-list-widget-compare-icon { | ||
| width: 1rem; | ||
| height: 1rem; | ||
| background: url('/blocks/plp/plus.svg') center / contain no-repeat; |
fkakatie
reviewed
Aug 31, 2026
| "startingAt": "Starting At", | ||
| "compare": "Compare", | ||
| "removeFromCompare": "Remove from Compare", | ||
| "addToComparisonList": "Add to Comparison list", |
Contributor
There was a problem hiding this comment.
which is correct, upper or lower L/list?
fkakatie
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://product-list-tweaks--vitamix--aemsites.aem.page/drafts/uncled/blenders
Summary
Files
blocks/plp/plus.svg(new) — plus icon matchingcheckmark.svg's stroke stylescripts/add-to-compare.js— exportgetHeaderCompareHreffor reusewidgets/product-list/product-list.js— button/price/sort logicwidgets/product-list/product-list.css— icon button stylingwidgets/product-list/product-list.json— new tooltip copy (EN/FR/ES)🤖 Generated with Claude Code