PDP: source review rating from JSON-LD, load BV on intersection - #887
Open
davidnuescheler wants to merge 1 commit into
Open
davidnuescheler wants to merge 1 commit into
davidnuescheler wants to merge 1 commit into
Conversation
- PDP: display star rating/count from the product JSON-LD's aggregateRating instead of the Bazaarvoice rating_summary widget; the summary links to the BV-loaded review details, which now load via IntersectionObserver instead of a fixed timer. - plp-data.js/product-row.js/products.js: source reviewAverage/ reviewCount from the product index's ratingValue/reviewCount columns instead of fetching/joining reviews.json. - product-list: fix inconsistent "Add to Comparison List" casing and swap the compare button's background-image icon for a real <img>.
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
davidnuescheler
requested review from
dylandepass and
fkakatie
and removed request for
fkakatie
September 10, 2026 17:46
|
dylandepass
approved these changes
Sep 10, 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://pdp-reviews-jsonld--vitamix--aemsites.aem.page/us/en_us/products/ascent-x2
https://pdp-reviews-jsonld--vitamix--aemsites.aem.page/drafts/uncled/blenders
Summary
aggregateRatinginstead of the Bazaarvoicerating_summarywidget; the summary links to the BV-loaded review details section.IntersectionObserver(when the reviews section nears the viewport) instead of a fixed 500ms timer, fixing a bug where BV wasn't loading at all.plp-data.js/product-row.js/products.js: sourcereviewAverage/reviewCountfrom the product index'sratingValue/reviewCountcolumns instead of fetching/joining the separatereviews.jsonspreadsheet.product-list: fixed inconsistent "Add to Comparison list" vs "View Comparison List" casing (per PR Product-list: compare icon toggle, conditional Starting At, count-sorted filters #846 review feedback), and replaced the compare button'sbackground-imageicon with a real<img>element.🤖 Generated with GitHub Copilot