• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 09.08.22, 15:12
  • Opened by: Eric Notarianni
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23649 - problem syntax

hello fred some difficulties for google to index pages

Erreurs de syntaxe détectées dans les données structurées
Erreur d’analyse : symbole “}” ou nom de membre d’objet manquants

in this code

<script type=”application/ld+json”>

{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "IPC-HFW5541E-Z5E - DAHUA - Caméra Tube IP - 5MP - 7-35mm",
  "description": "IPC-HFW5541E-Z5E - DAHUA - Caméra Tube IP - 5MP - 7-35mm. La vidéoprotection et la sécurité aux meilleurs prix sur boutique.idms.fr",
  "category": "Caméras IP Tube DAHUA",
  "image" :"https://boutique.idms.fr/3792-home_default/ipc-hfw5541e-z5e.jpg",    "sku": "IPC-HFW5541E-Z5E",
  "mpn": "IPC-HFW5541E-Z5E",
      "brand": {
    "@type": "Thing",
    "name": "IDMS"
  },              "weight": {
      "@context": "https://schema.org",
      "@type": "QuantitativeValue",
      "value": "1.540000",
      "unitCode": "kg"
    },                }

</script>

do you see the problem and how to solve, please

Comments

Fred 17 Aug 2022, 18:45

Hi, Eric.
Sorry for the delay.
I missed your ticket.
I have fixed the file /themes/alysum/templates/_partials/microdata/product-jsonld.tpl
Please check out the issue now, it should be gone