-
Dear Rank Math Support Team,
I hope this message finds you well.
I am experiencing an issue with setting up the priceSpecification array within the offers object in the Schema Markup for my product pages using Rank Math. Despite following the documentation and setting up multiple UnitPriceSpecification entries within the priceSpecification array, the JSON-LD output is not reflecting the correct structure. As a result, only one price is being recognized, and the structured data is not displaying both the list price and the sale price as intended.
Here are the steps I have taken:
Opened Rank Math Schema Builder and navigated to the appropriate schema template.
Added the main offers properties:
@type: Offer
url: %url%
priceCurrency: CHF
availability: https://schema.org/InStock
Created a nested priceSpecification array within the offers group.
Added multiple UnitPriceSpecification entries within the priceSpecification array:
Entry 1 (List Price):
@type: UnitPriceSpecification
priceType: https://schema.org/ListPrice
priceCurrency: CHF
price: 50
priceValidUntil: 2025-10-20
Entry 2 (Sale Price):
@type: UnitPriceSpecification
priceType: https://schema.org/SalePrice
priceCurrency: CHF
price: 30
priceValidUntil: 2024-12-30Could you please guide me on what might be going wrong or provide the correct steps to achieve the desired schema markup? I would greatly appreciate any assistance you can provide to resolve this issue.
I’m trying to submit the normal price aswell as the sale price to google merchants in form of a schema so the customers see that there is a sale going on.
Thank you for your support and looking forward to your guidance.
.
The ticket ‘Issue with priceSpecification Array in Schema Markup’ is closed to new replies.