New Landing How can we help? Themeforest Theme Support Dante Google Rich Snippets Error when the Product is 'On Sale'

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #121473
    st_bo
    Member
    Post count: 23

    Hi, the theme uses Google Rich Snippets, which works fine.
    But when a product is on sale, then the Rich Snippet Validator (http://www.google.com/webmasters/tools/richsnippets) throws an error: “Incomplete microdata with schema.org.”

    The sourcecode looks as following, where the error seems to be in itemprop=”price”:

    				<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    				
    					<p itemprop="price" class="price"><del><span class="amount">10&nbsp;&euro;</span></del> <ins><span class="amount">8&nbsp;&euro;</span></ins> <small class="woocommerce-price-suffix">(Includes VAT)</small></p>
    					
    					<meta itemprop="priceCurrency" content="EUR" />
    					
    					<link itemprop="availability" href="http://schema.org/InStock" />				
    				</div>	
    

    Additionally, is it possible to exclude the availability information, as I’m having digital products only. I tried to remove the line from woocommerce/single-product/price.php, once in my child theme and once in the original, but without success.

    Thanks!

    #121519
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will have to forward this topic to the development team.
    Thanks.

    -Rui

    #122015
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    This reply has been marked as private.
    #122063
    st_bo
    Member
    Post count: 23

    Ed, awesome – works perfect!

    Last 2 questions:
    1) Will this be updated in the core files and shipped via the next major update?
    2) Can you hide the “In Stock / Out of stock” if the Woocommerce Setting > Product Inventory > “Stock Display Format” is set to “Never show stock amount”?

    This will closes the loop ๐Ÿ™‚

    Thanks!

    #122066
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It only shows the 1st Level categories and only the categories with product. I made a search in your site and it’s working fine.

    -Rui

    #122068
    st_bo
    Member
    Post count: 23

    Rui, was this post for me?

    #122074
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Apologize, wrong topic. ๐Ÿ™‚

    #122097
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    1) It will be in the next update.
    2) Do you mean the display on the product, or in the rich snippet?

    – Ed

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register