• Resolved jandelay

    (@jandelay)


    Hello,

    I have some problems with the structured data generated by Yoast.
    I have the following questions:

    1. At {“@context”:”https:\/\/schema.org\/”,”@type”:”Product”,”@id”:”https:\/\/website.com\/product-cat\/productxy\/#product”,”name”:”Product XY 123″,”url”:”https:\/\/website.com\/product-cat\/productxy\/”,”description”

      on description, it drags the complete text from the product. Shouldn’t that drag the meta description? Because I have there partly 600 words in the products and the whole 600 words are dragged.
    2. How can I separate priceCurrency for the different languages? For example, I have one page in German and one in English. When the English page is selected (hreflang=”en”) I want priceCurrency”: “USD” to be displayed. When the German page is selected (hreflang=”de”), the priceCurrency” should be: “EUR”.
    3. Is there a way to add custom code to the structured data? For example, I would like to add aggregateRating to the code. Is there a possibility?

    Thank you in advance for the answer.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @jandelay

    Thanks for reaching out about your site schema. We have addressed your concerns below:

    1. The description here is fetched from the short product description and not the meta description
    2. I understand you want the priceCurrency to be shown based on a visitor’s geolocation. Google only supports one currency per URL, so you’ll have to check how your current multicurrency setup is managed/configured. You might need to do some customization to change this behavior.
    3. Yes, you can extend the Yoast SEO schema out by checking out our Schema API
    Thread Starter jandelay

    (@jandelay)

    Hello,

    thank you very much for the answer.

    To 1) I noticed that structured data is generated by Woocommerce as well as Yoast. Is this correct?

    2) I do not want it to depend on the GeoLocation rather on the link. Customers visiting the website.com/de/ page should have priceCurrency=EUR. Customers visiting website.com should have priceCurrency=USD. However, there should still be a currency switcher at webseite.com, where customers can switch to EUR. Then priceCurrency=EUR should be for webseite.com/?currency=EUR
    Would that be possible with Yoast?

    Thread Starter jandelay

    (@jandelay)

    And one more question,

    for the website.com page, inLanguage = “en-US” is displayed. For website.com/de, inLanguage = “de-DE” is displayed.

    But I would like to have the following:

    website.com inLanguage = “en”
    website.com/de inLanguage = “de”

    Is this possible? I use WPML for translation and in hreflang the “en” and “de” are displayed correctly.

    Plugin Support Suwash

    (@suascat_wp)

    While the Yoast SEO for WordPress plugin doesn’t help with the hreflang implementation, you can refer to several articles on our SEO blog that may be of help:

    For further assistance, please reach out to the WPML support.

    Thread Starter jandelay

    (@jandelay)

    Thank you, but I asked 2 sperate questions https://www.ads-software.com/support/topic/structured-data-28/#post-16684437″
    This question has not been answered yet

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for your questions.

    1. The Yoast SEO plugin adds structured data which you can see in the page source and starts with <script type="application/ld+json" class="yoast-schema-graph"> while WooCommerce’s structured data starts with ?application/ld+json
    2. No, that’s currently not possible with our plugin.
    • This reply was modified 1 year, 7 months ago by Maybellyne.
    Plugin Support Maybellyne

    (@maybellyne)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Structured Data’ is closed to new replies.