Label each product page's name, price, currency and availability with schema.org markup drawn from your shop's own data, mark up ratings only from reviews on the page, test it, and give Google time to recrawl.

Two results, and only one shows a price

The manager of a small online shop searches Google for one of its best sellers, using the words a customer would use. The shop's page is there, a few results down.

Above it, a competitor's result shows a price, the words in stock and a row of review stars. The shop's own result shows its title and a line of text from the page.

The product is the same and the shop's price is lower. A shopper scanning the page has no way to know that without clicking.

Where the extra details come from

Google calls these details rich snippets. It can show them when a page labels its facts in a vocabulary Google understands, so that a price is marked as a price and not just a number.

The most widely supported vocabulary is schema.org, launched last year by Google, Bing and Yahoo together. Its labels go into the page's existing HTML, around text visitors can already see.

Visitors notice no change. The labels are read by search engines, which can then trust that a figure on the page is the product's price rather than a shipping charge.

What a product page can label

For a shop, the useful labels describe the product and the offer:

Google decides which of these to show, and for which searches. Labelling them makes the details available to Google; it does not promise they will appear.

Nothing shows until Google returns

Markup added today means nothing to Google until its crawler fetches each page again. Busy pages are revisited often; product pages deep in a large catalogue may wait weeks.

A current sitemap listing every product page helps the crawler find them. In Webmaster Tools, Fetch as Google can submit a few important pages for a fresh look.

That delay is why the work should not wait for January. Pages labelled this week have a chance of showing their prices during the busiest searches of December; pages labelled later may not.

Honest markup only

Label only what a visitor can see on the page. A price in the markup that differs from the price on screen, or a rating with no reviews behind it, misleads the shopper.

Google's guidelines ask for the same, and Google can stop showing rich snippets for a site whose markup does not match its pages.

Reviews need the most care. Mark up ratings only from your own customers' reviews on that page, never ratings copied from another website or written by staff.

A worked example

A camera store in West Kelowna sells bodies, lenses, tripods and bags from a storefront and through an online shop of about six hundred products.

Its product pages showed prices clearly, but as plain text with nothing to say what the figure was. Stock levels lived in the shop system and never appeared on the site.

Searches for popular camera models found the store's pages, sitting as plain titles below rivals' results that carried prices and stock.

Its web developer added schema.org labels to the product template: name, brand, model, the price in Canadian dollars and availability, drawn from the same stock count the till uses.

Reviews were left unlabelled for now, since the store has only a handful. They will be added once products have reviews of their own on the page.

Because the labels come from the template, a lens that sells out reads out of stock on the page and in the markup at the same moment, without anyone editing either.

Test before Google sees it

Google offers a testing tool for structured data. Give it a product page's address and it lists the labels it found, flags errors and shows roughly how a result could look.

Test one page of each kind: a product in stock, one sold out, one on sale and one with reviews. A template mistake repeats across every product at once, so one test catches many pages.

Afterwards, the Structured Data report in Webmaster Tools shows how many pages Google has found with product markup as it recrawls the site.

Markup that keeps up with the shop

Markup typed into each page by hand goes stale the first time a price changes. Generate it from the same data that prints the price and stock on the page.

Sale prices need one rule: mark up the price the visitor will actually pay, and end the sale in the shop system rather than by editing the text.

When an item is discontinued, show it as out of stock or retire the page properly. A result promising stock you cannot ship turns a search into a complaint.

What your shop system may already add

Some shop systems and themes already add product labels; others add none, or only the name. Run the testing tool on a product page before planning any work.

Where labels exist but are incomplete, the fix belongs in the template, so every product gains the missing price or availability in one change.

The counter-case

A shop selling made-to-order work, or one whose prices depend on a quote, has little to label. A price range or a request button gives Google nothing reliable to show.

Rich snippets also matter less where shoppers search for the shop's name rather than a product. They want the shop itself, and the home page answers them.

For a shop selling branded products that others also sell, price and stock are exactly what shoppers compare, and putting them in the result is worth careful template work.

Price labels before the holidays

  1. Search for your best sellers as a shopper would.
  2. Run a product page through Google's testing tool.
  3. Add schema.org labels to the product template.
  4. Draw price and stock from the shop's own data.
  5. Label reviews only where they appear on the page.
  6. Update the sitemap and submit key pages.
  7. Watch the Structured Data report over the coming weeks.

Step four keeps the result honest. Labels drawn from live stock change when the shelf does, so the details under a search result never promise more than the shop can deliver.

For a shop whose stock sits in a distributor's warehouse, an honest availability label starts with the daily stock file explained in drop-shipped products the supplier has run out of.


Frequently asked questions

What are rich snippets?

Extra details Google sometimes shows under a search result, such as a price, availability or review stars, drawn from labels the page adds to its own content.

Does adding markup make the details appear?

Not by itself. Google decides whether to show them and for which searches, and it has to crawl each page again before it can read the new labels.

What is schema.org?

A shared vocabulary for labelling facts on web pages, supported by Google, Bing and Yahoo. For a shop it covers products, prices, availability and reviews.

Can I mark up reviews from other websites?

No. Mark up only ratings that customers left on that page. Ratings copied from elsewhere or written by staff mislead shoppers and go against Google's guidelines.

How do I check that the markup works?

Run a few product pages through Google's structured data testing tool, then watch the Structured Data report in Webmaster Tools as Google recrawls the site.

Should prices in the markup be typed by hand?

No. Generate them from the same data that shows the price and stock on the page, so a change in the shop changes the markup too.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Rivals' results showing prices and yours not?

Give us the address of one product page, and we will check what Google can read from it and what the template needs.

Start a Conversation