• Resolved Murat Karag?z

    (@muratkaragoz46)


    Google Rich Snippet Check tool gives error if the product description includes apostrophe or html code. I think you should use $description= str_replace('"', "'", $description);

    or just use strip_tags()

    • This topic was modified 2 years, 3 months ago by Murat Karag?z.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Murat Karag?z

    (@muratkaragoz46)

    <script type="application/ld+json">
        {
          "@context": "https://schema.org/", 
          "@type": "Product", 
          "name": "Bosch 15 Par?al? Mini X-Line Seti",
          "image": "https://www.karagozticaret.com/ortam/bosch-15-parcali-mini-x-line-seti.png",
          "description": "Orjinal Bosch X-Line Vidalama ve Matkap Ucu Seti 15 Par?a (Bosch Resmi Garantili ,ad?n?za fatural? ,Alman Mal? )
    Ayr?nt?lar
    Bosch X-Line Vidalama ve Matkap Ucu Seti 15 Par?a
    ??erik 3 ta? delme ucu, ? 5/6/8 mm 3 ah?ap delme ucu, ? 4/6/8 mm 8 vidalama ucu, L = 25 mm PH 1/2 PZ 1/2 S 4/6 T 20/25 1 üniversal tutucu, manyetik
    Ambalaj Etiketli, ask? delikli plastik kutu
    ?l?üleri (uxgxy) 194 x 83 x 21
    A??rl?k 0.22 kg
    Ambalaj i?eri?i 15 Adet
    i?erik: 1 Adet set g?nderilecektir Garanti :üretim ve i??ilik hatalar?na kar?? 2 Y?l
    
    <strong>Bosch DIY garanti bilgisi</strong>
    Bu ürün Bosch Sanayi ve Ticaret A.?. garantisi alt?ndad?r. ürününüzde olu?an herhangi bir ar?za durumunda tüm Bosch Elektrikli El Aletleri Yetkili Servislerinden hizmet alabilirsiniz veya + 90 216 432 0 432 no’lu mü?teri hizmetlerini aray?p ya da <a href="mailto:[email protected]">[email protected]</a> adresine e-mail atarak bilgi edinebilirsiniz. Bosch Elektrikli El Aletleri garanti ?artlar?na a?a??daki linkten ula?abilirsiniz. ürününüz profesyonel ürün ise: <a href="https://webapp.bosch.de/warranty/locale.do?localeCode=tr_TR">https://webapp.bosch.de/warranty/locale.do?localeCode=tr_TR</a> ürününüz hafif hizmet grubuna ait ürün ise: <a href="https://www.bosch-diy.com/tr/tr/service/garanti">https://www.bosch-diy.com/tr/tr/service/garanti</a>",
          "sku": "KAR0000000128",
          "offers": {
            "@type": "Offer",
            "priceCurrency": "TRY",
            "price": "102.03560399908",
            "url": "https://www.karagozticaret.com/urun/bosch-15-parcali-mini-x-line-seti/",
            "availability": "https://schema.org/InStock",
            "itemCondition": "https://schema.org/NewCondition"
          },
          "aggregateRating": {
            "@type": "AggregateRating",
            "ratingValue": "0",
            "bestRating": "5",
            "worstRating": "1",
            "ratingCount": "0"
          }
        }
        </script>
    Plugin Author Luke

    (@easyschema)

    Hello,

    Thanks for getting in touch with this issue. I agree that using the strip_tags() function or string replace would solve this issue. I will test this out and make sure it doesn’t cause any other compatibility problems and hopefully push it in the next update. I will also give you credit in the release notes for bringing it to my attention + solving it.

    Thankyou for using my plugin,

    Luke.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘apostrophe error’ is closed to new replies.