Announcement

Collapse
No announcement yet.

Cannot get Price to work with rich snippets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot get Price to work with rich snippets

    I am adding rich snippets to my pages since they are not present with my template. I've gotten the ones I want to work except PRICE. I get the error code "Warning: Page contains property "price" which is not part of the schema" when I test it. I used the instrucions from the 3dcart KB article. I know I could just use the markup tool in Google, but that won't help Bing.

    When I test the page with google, it appears that the price is being included in the product section even though the offer portion is included in this code. Google says the offer section is present but lists nothing there. So I am guessing the code from the KB article below is missing something?

    <!--START: pricing-->
    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <!--START: ITEMPRICE-->
    <div itemprop="price" id="price" class="price">[price]</div>
    <!--END: ITEMPRICE-->
    <!--START: SALEPRICE-->
    <div itemprop="price" id="price" class="price">[saleprice]</div>
    <!--END: SALEPRICE-->
    </div>
    <!--END: pricing-->

    Has anyone gotten this to work?

  • #2
    Bump! Bump O Rama!!!!!

    Comment


    • #3
      Here is what I am using:

      HTML Code:
      <div class="price2" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
      <span style="display:none;" itemprop="priceCurrency">USD</span>
      <!--START: ITEMPRICE-->
      <span itemprop="price">[price]</span>
      <!--END: ITEMPRICE--> 
      <!--START: SALEPRICE--> 
      <span class="price-old">[price]</span> 
      <span itemprop="price" id="price" class="price">[saleprice]</span>
      <!--END: SALEPRICE-->
      </div> 
      Works just fine.

      jeff
      Jeff

      The Wedding Printer

      Comment

      Working...
      X