Issue with priceSpecification Array in Schema Markup

#823018
  • Resolved Einar Chlidi
    Rank Math free

    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-30

    Could 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.

    .

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I apologize for the issue you are facing with setting up the priceSpecification array within the offers object in the Schema Markup using Rank Math. Thank you for providing detailed steps on how you have configured the schema.

    Based on the information you provided, it seems like you are following the correct steps to include both the list price and the sale price in the structured data. However, if the JSON-LD output is not reflecting the correct structure, there might be a technical issue that needs further investigation.

    To assist you better with this matter, I recommend assigning this ticket to our human support team by clicking on the "Assign to Agent" button below. Our team will review your setup and provide you with the necessary guidance to ensure that both the list price and sale price are correctly displayed in the schema markup.

    Thank you for your understanding, and we look forward to resolving this issue for you promptly.

    Sources:
    How to Use Product Schema for WooCommerce Products ยป Rank Math
    Service Schema Type ยป Rank Math
    How to Use Product Schema for Easy Digital Downloads Products ยป Rank Math
    Product Schema Type ยป Rank Math

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    The Schema template is a PRO feature and it seems that you are currently using a Free account.

    Hello,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    Can you please search and forward a receipt from FastSpring.com so we can locate your subscription and verify it first?

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘Issue with priceSpecification Array in Schema Markup’ is closed to new replies.