Skip to content

fix product structured data on pdp#1302

Open
JimmyHoenderdaal wants to merge 3 commits into
masterfrom
feature/pdp-rich-snippets
Open

fix product structured data on pdp#1302
JimmyHoenderdaal wants to merge 3 commits into
masterfrom
feature/pdp-rich-snippets

Conversation

@JimmyHoenderdaal

Copy link
Copy Markdown
Member

Description

Fixes invalid structured data on product detail pages by making the core Product and Offer microdata more complete and consistent with Google’s product structured data guidelines.

The product microdata now includes an explicit product name and cleaned plain-text description near the Product item. The visible PDP title and description no longer carry duplicate itemprop attributes, keeping the structured data in one predictable place.

Offer data now includes itemCondition, and priceValidUntil is rendered as a date-only value when present.

Breadcrumb structured data was also adjusted so linked breadcrumb items expose an explicit item URL, fixing the missing item field in Google validation.

Review microdata stays handled by the reviews package, as before.

Tests

Checked rendered Product and Offer microdata on rapidez.test/marco-lightweight-active-hoodie.html
Checked rendered breadcrumb structured data on rapidez.test/marco-lightweight-active-hoodie.html
Checked rendered review/product separation by keeping rapidez-reviews microdata include intact
Ran PHP syntax checks
Ran git diff --check

Reference

RAP-1899

Comment thread resources/views/product/partials/microdata.blade.php Outdated
Comment thread resources/views/product/partials/microdata.blade.php Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants