Cum apare produsul tău în Google cu preț și steleHow to get your product showing price and stars in Google

Paul Gog·3 minute · actualizat 14 septembrie 20263 min · updated September 14, 2026

Pentru cine vinde online și vrea ca rezultatul din Google să arate prețul, stocul și recenziile sub titlu, nu doar un link sec. Cu exemplu de cod complet pentru o pagină de produs.For anyone selling online who wants the Google result to show price, stock and reviews under the title, not just a plain link. With a complete code example for a product page.

Minimalist image featuring a shopping cart with products and a sale-tagged bag.

Ai văzut rezultate în Google unde sub titlu apare direct prețul, un stoc disponibil și niște stele galbene cu numărul de recenzii. Pagina ta de produs nu are asta — arată ca un link simplu, cu titlu și descriere, la fel ca acum zece ani. Diferența nu e magie, e un bloc de cod pe care Google îl citește și pe care concurentul tău probabil deja îl are.

Blocul se numește date structurate și folosește un vocabular numit schema.org. Nu schimbă nimic vizual pe site-ul tău — utilizatorul care intră pe pagină nu vede nicio diferență. Codul e invizibil pentru om și vizibil pentru motorul de căutare, care îl citește și decide ce să arate în rezultat.

Ce pui exact pe pagină

Se adaugă un tag <script type="application/ld+json"> undeva în <head> sau chiar înainte de </body>. Înăuntru, un obiect JSON cu tipul Product și câteva câmpuri obligatorii: nume, imagine, preț, monedă, disponibilitate și, dacă vrei stelele, o evaluare agregată.

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Scaun birou ergonomic Model X",
  "image": "https://exemplu.ro/imagini/scaun-x.jpg",
  "description": "Scaun de birou cu suport lombar reglabil",
  "sku": "SBX-2024",
  "offers": {
    "@type": "Offer",
    "priceCurrency": "RON",
    "price": "899.00",
    "availability": "https://schema.org/InStock",
    "url": "https://exemplu.ro/produs/scaun-x"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "38"
  }
}
</script>

Câmpul aggregateRating apare doar dacă ai recenzii reale pe pagină. Nu ai voie să pui o notă inventată — Google verifică asta și, dacă prinde o discrepanță între ce scrii în cod și ce vede pe pagină, poate să-ți scoată complet rich snippet-urile din rezultate, nu doar la produsul respectiv, la tot site-ul.

Pașii concreți

  1. Deschizi fișierul șablon al paginii de produs (în WordPress, de obicei single-product.php din tema sau din WooCommerce).
  2. Verifici mai întâi dacă nu ai deja date structurate puse de un plugin — Yoast SEO și Rank Math le generează automat pentru produse WooCommerce, ca să nu dublezi.
  3. Adaugi blocul JSON-LD cu valorile luate direct din baza de date: preț, stoc, imagine — nu scrise de mână, ca să rămână corecte când se schimbă prețul.
  4. Salvezi și testezi cu Rich Results Test de la Google, unde lipești URL-ul paginii.
  5. Aștepți — rezultatul cu stele nu apare instant, poate dura de la câteva zile la câteva săptămâni, cât timp Google reindexează pagina.

Ce nu merită să faci

Nu pune date structurate pe pagini care nu au încă recenzii, doar ca să arate bine — fără aggregateRating real, câmpul lipsește pur și simplu, și e mai bine așa decât cu o notă falsă. Și nu copia schema de pe alt site cu alt tip de produs; câmpurile pentru cărți, pentru servicii sau pentru rețete diferă de cele pentru produse fizice, iar Google respinge blocul dacă tipurile nu corespund.

Ce faci mâine dimineață

Alegi o singură pagină de produs, cea cu cele mai multe recenzii reale, și îi adaugi blocul JSON-LD de mai sus cu valorile ei. Testezi cu Rich Results Test înainte să publici pe toate produsele — dacă e corect la unul, îl multiplici cu un script pe restul catalogului.

Întrebări frecvente

Cât timp durează până apar stelele în rezultate?

Nu e instant. Poate dura de la câteva zile la câteva săptămâni, cât timp Google reindexează pagina și decide să folosească datele.

Google garantează că afișează snippet-ul cu preț și stele?

Nu. Datele structurate corecte îi dau lui Google materialul, dar decizia de a-l arăta rămâne a lui. Nu e o bifă pe care o pui și primești automat rezultatul.

Pot pune eu o notă de 4.8 ca să atrag clicuri, chiar dacă nu am recenzii?

Nu. Google verifică discrepanța dintre cod și conținutul vizibil al paginii și poate elimina toate rich snippet-urile de pe întregul site dacă prinde una falsă.

You have seen Google results where the price, stock status and yellow stars with a review count show up right under the title. Your product page doesn't do that — it shows up as a plain link with a title and description, the way results looked ten years ago. The difference isn't magic, it's a block of code that Google reads, and your competitor probably already has it.

That block is called structured data, written in a vocabulary called schema.org. It changes nothing visually on your site — a visitor landing on the page sees no difference. The code is invisible to people and visible to the search engine, which reads it and decides what to show in the result.

What exactly goes on the page

You add a <script type="application/ld+json"> tag somewhere in <head> or right before </body>. Inside it, a JSON object with type Product and a few required fields: name, image, price, currency, availability, and, if you want the stars, an aggregate rating.

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Ergonomic Office Chair Model X",
  "image": "https://example.com/images/chair-x.jpg",
  "description": "Office chair with adjustable lumbar support",
  "sku": "SBX-2024",
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": "199.00",
    "availability": "https://schema.org/InStock",
    "url": "https://example.com/product/chair-x"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "38"
  }
}
</script>

The aggregateRating field only goes in if you have real reviews on the page. You can't make up a rating — Google checks this, and if it catches a mismatch between what's in the code and what's on the page, it can pull rich snippets from your entire site, not just that one product.

The concrete steps

  1. Open the product page template (in WordPress, usually single-product.php in the theme, or handled by WooCommerce).
  2. Check first whether you already have structured data added by a plugin — Yoast SEO and Rank Math generate it automatically for WooCommerce products, so you don't end up with duplicates.
  3. Add the JSON-LD block pulling values straight from the database — price, stock, image — not typed by hand, so they stay correct when the price changes.
  4. Save, then test with Google's Rich Results Test by pasting in the page URL.
  5. Wait — the starred result doesn't show up instantly, it can take anywhere from a few days to a few weeks while Google reindexes the page.

What's not worth doing

Don't add structured data to pages that don't have reviews yet just to make them look better — without a real aggregateRating, leave the field out entirely; that's better than a fake number. And don't copy the schema from a site selling a different kind of product — fields for books, services or recipes differ from those for physical products, and Google rejects the block if the types don't match.

What to do tomorrow morning

Pick a single product page, the one with the most real reviews, and add the JSON-LD block above with its actual values. Test it with Rich Results Test before rolling it out — once it's correct on one page, you script it across the rest of the catalog.

Frequently asked

How long until the stars show up in results?

It's not instant. It can take anywhere from a few days to a few weeks while Google reindexes the page and decides to use the data.

Does Google guarantee it will show the price and stars snippet?

No. Correct structured data gives Google the material, but the decision to display it stays with them. It's not a switch you flip and automatically get the result.

Can I just put a 4.8 rating to attract clicks, even without real reviews?

No. Google checks for mismatches between the code and the visible page content, and can remove all rich snippets from your entire site if it catches a fake one.

schema.orgrich snippetsSEO produsdate structurateGoogle Shopping

Mai departeRead next