Skip to content

Related Products Block Breaks Rich Snippets Price on Product View #34063

Closed
@hewgim

Description

@hewgim

Preconditions (*)

We are running on Magento 2.3.5-p1

When the product view related products block is generated after a cache clean, it appears that it generates cached price blocks for each of the related products (without any schema.org offer price rich snippets). If you then click on one of these products and go to the product view for that product, the main price field is loaded from cache, and therefore the schema.org offer price rich snippets are missing. We noticed this because Google was showing incorrect prices for our products as a result of the missing rich snippets.

Steps to reproduce (*)

Set up a simple product A with one related simple product B
Go to product A's product view
Clear the cache
Refresh product A's product view
Look in your web inspector tools at the main price field for product A and you will see the offers rich snippet
From product A's related products block go to product B
Look in your web inspector tools at the main price field for product B and the offers rich snippet is missing. I believe this is because the price block for product B was cached without the offers rich snippet when product A's product view was created.

Expected result (*)

The offers rich snippet should always be present on the main price field on the product view
image

Actual result (*)

The offers rich snippet is sometimes missing from the main price field on the product view which means that Google often displays incorrect prices on its search results.
image


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

Area: ProductComponent: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.5-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions