Rich Snippet won't display price -
i want add snippets code using mikroformats. succeced on rating item name , availability however, whatever try price not display. here code;
<ul itemprop="offerdetails" itemscope="" itemtype="http://data-vocabulary.org/offer" class="uk-subnav uk-subnav-line"> <meta itemprop="pricecurrency" content="try"> <li itemprop="price" class="element element-text"> <strong>fiyatı: </strong>8,00 ₺ </li> <li class="element element-select"> <strong><span itemprop="availability" content="in_stock">porsiyon</span>: </strong>1 </li> <li class="element element-relatedcategories"> <strong>köken: </strong><a href="/menü/category/türkiye">türk mutfağı</a> </li> </ul>
also tried did not work either;
<ul itemprop="offerdetails" itemscope="" itemtype="http://data-vocabulary.org/offer" class="uk-subnav uk-subnav-line"> <meta itemprop="pricecurrency" content="try"> <li class="element element-text"> **<strong>fiyatı: </strong> <span itemprop="price">8,00</span>** ₺ </li> <li class="element element-select"> <strong><span itemprop="availability" content="in_stock">porsiyon</span>: </strong>1 </li> <li class="element element-relatedcategories"> <strong>köken: </strong><a href="/menü/category/türkiye">türk mutfağı</a> </li> </ul>
i think missing cannot see. here full code works ratings;
<div itemscope="" itemtype="http://data-vocabulary.org/product"> <h1 itemprop="name" class="uk-h1"> tavuklu salata </h1> </div> <div class="uk-margin element element-rating"> <div id="3194f2e2-b29e-4a6b-8555-17c58b42ed6c-547708aa747b1" class="yoo-zoo rating"> <div class="rating-container star5"> <div class="previous-rating" style="width: 100%;"></div> <div class="current-rating"> <div class="stars star5" title="5 / 5"></div> <div class="stars star4" title="4 / 5"></div> <div class="stars star3" title="3 / 5"></div> <div class="stars star2" title="2 / 5"></div> <div class="stars star1" title="1 / 5"></div> </div> </div> <div class="vote-message"> 5.0/<strong>5</strong> derecelendirme (1 oy) </div> <div itemscope="" itemtype="http://data-vocabulary.org/review-aggregate"> <meta itemprop="itemreviewed" content="tavuklu salata"> <div itemprop="rating" itemscope="" itemtype="http://data-vocabulary.org/rating"> <meta itemprop="average" content="5.0"> <meta itemprop="best" content="5"> </div> <meta itemprop="votes" content="1"> </div> </div> <script type="text/javascript"> jquery(function($) { $('#3194f2e2-b29e-4a6b-8555-17c58b42ed6c-547708aa747b1').elementrating({ url: '/salatalar?task=callelement&format=raw&item_id=22&element=3194f2e2-b29e-4a6b-8555-17c58b42ed6c' }); }); </script> </div> <ul itemprop="offerdetails" itemscope="" itemtype="http://data-vocabulary.org/offer" class="uk-subnav uk-subnav-line"> <meta itemprop="pricecurrency" content="try"> <li itemprop="price" class="element element-text"> <strong>fiyatı: </strong>8,00 ₺</li> <li class="element element-select"> <strong><span itemprop="availability" content="in_stock">porsiyon: </strong>1</li> <li class="element element-relatedcategories"> <strong>köken: </strong><a href="/menü/category/türkiye">türk mutfağı</a></li> </ul>
problem solved. turns out have put currency type before price itself;
<strong>fiyatı: </strong>**tl** 8,00 ₺</li>
Comments
Post a Comment