0

Is it possible to have the tag <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> but no <itemprop="price" class="uc-price"> tag?

I don't want to show the price if the item is out of stock. I just want to use the tag <link itemprop="availability" href="schema.org/OutOfStock" /> but I get an 'incomplete microdata with schema.org' error.

Any ideas how to do this?

unor
  • 92,415
  • 26
  • 211
  • 360
LTech
  • 1,677
  • 5
  • 29
  • 48
  • possible duplicate of [Rich Snippets / Micro Data for Products: Error: Incomplete microdata with schema.org](http://stackoverflow.com/questions/17955572/rich-snippets-micro-data-for-products-error-incomplete-microdata-with-schema) – Paul Sweatte Dec 20 '13 at 18:40

1 Answers1

1

Are you using Google Structured Data Testing Tool? I don't see this error. Anyway there is common way of using "meta" tags for elements you want to be hidden.

ajax
  • 1,896
  • 15
  • 8