Title: Schema mark up availability &amp; url
Last modified: January 11, 2020

---

# Schema mark up availability & url

 *  Resolved [jvandermark](https://wordpress.org/support/users/jvandermark/)
 * (@jvandermark)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/)
 * HI! 🙂
 * We found out that Product Feed PRO for WooCommerce causes some schema mark up
   errors in combination with products that have variations (different size or color).
 * We found out that url & availability don’t show up anymore with a correct format.
 * Is there something we can do?
 * FYI: I temporarily deactivated the plugin and now the errors don’t show up anymore.
    -  This topic was modified 6 years, 5 months ago by [jvandermark](https://wordpress.org/support/users/jvandermark/).
    -  This topic was modified 6 years, 5 months ago by [jvandermark](https://wordpress.org/support/users/jvandermark/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fschema-mark-up-availability-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12315722)
 * Hi Mark,
 * Thanks for reaching out. Sorry to hear you are experiencing issues with your 
   schema mark-up. We have tried to replicate the issue at hand for a variation (
   with two attributes) and it validates fine for us on url and availability.
 * When using Google’s structured data testing tool we are getting this:
    [https://www.dropbox.com/s/deltick5wib6z55/struct-data.png?dl=0](https://www.dropbox.com/s/deltick5wib6z55/struct-data.png?dl=0)
 * Could you show us a screenshot of the errors you are getting?
 * All the best,
    Eva
 *  Thread Starter [jvandermark](https://wordpress.org/support/users/jvandermark/)
 * (@jvandermark)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12316360)
 * Hi Eva,
 * Yeah sure. When the plugin is active i get this message: [https://ibb.co/8gXX7dN](https://ibb.co/8gXX7dN)
 * When i deactivate the plugin the errors is gone.
 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12316386)
 * That’s not Google Structured data testing tool.
 * Could you run it through Google’s tool and let me know what the outcome is:
    
   [https://search.google.com/structured-data/testing-tool?hl=nl](https://search.google.com/structured-data/testing-tool?hl=nl)
 * Also, what URL of your site are you testing? Is it a simple, variable or variation
   URL?
 * Best,
    Eva
 *  Thread Starter [jvandermark](https://wordpress.org/support/users/jvandermark/)
 * (@jvandermark)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12317360)
 * Okay! I switched the plugin on again. And I will leave it on for now.
 * For example this product: [https://shop.fit.nl/product/wrist-wraps/](https://shop.fit.nl/product/wrist-wraps/)
 * Screenshot: [https://ibb.co/NVC9H4d](https://ibb.co/NVC9H4d)
 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12317455)
 * Hi Mark,
 * Thanks for leaving it on. We did some extensive testing and my guess is that 
   you are using some other plugin or theme that also makes changes to the structured
   data that is causing the conflict.
 * This is the code in the plugin itself:
 *     ```
                                               // This is a variation product page but no variation has been selected. WooCommerce always shows the price of the lowest priced
                                               // variation product. That is why we also put this in the JSON
                                               // When there are no parameters in the URL (so for normal users, not coming via Google Shopping URL's) show the old WooCommwerce JSON
                                               $product_price = round(wc_get_price_to_display($product),2);
   
                                               $markup_offer += array(
                                                       '@type'         => 'Offer',
                                                       'price'         => $product_price,
                                                       'priceCurrency' => $shop_currency,
                                                       'availability'  => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
                                                       'sku'           => $product->get_sku(),
                                                       'seller'        => array(
                                                               '@type' => 'Organization',
                                                               'name'  => $shop_name,
                                                               'url'   => $shop_url,
                                                       ),
                                                       'url'           => $link
                                               );
       ```
   
 * As you can see it does contain the availablity and url. Also, when we run a variable
   URL of our test environment through Google’s testing tool we get this:
    [https://www.dropbox.com/s/4qinx28hp18bykb/struct-data-variable.png?dl=0](https://www.dropbox.com/s/4qinx28hp18bykb/struct-data-variable.png?dl=0)
 * Which also sees to be correct and has the url and availability in it.
 * Could you check what other plugins you are using that could cause a conflict?
 * Best,
    Eva
 *  Thread Starter [jvandermark](https://wordpress.org/support/users/jvandermark/)
 * (@jvandermark)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12319045)
 * Thanks Eva for the great help! We will have a look.
 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12341975)
 * Hi,
 * Assuming the issue at hand has been resolved and/or our support is no longer 
   required I am going to close this issue for housekeeping reasons now.
 * Don’t hesitate to reach out to us again whenever you need our help.
 * All the best,
    Eva

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

The topic ‘Schema mark up availability & url’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

## Tags

 * [schema.org](https://wordpress.org/support/topic-tag/schema-org/)

 * 7 replies
 * 2 participants
 * Last reply from: [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/schema-mark-up-availability-url/#post-12341975)
 * Status: resolved