Skip to main content
How-to

Structured data with schema.org

Schema.org is a shared vocabulary that Google, Bing, Yandex, and Yahoo built together so a page can state what its content actually is. Marking up a product page tells a search engine that a number is a price rather than a part number, and that a set of stars is a customer rating.

That earns you rich results, the search listings that show price, availability, and star ratings under the link. They take up more space on the results page and tend to attract more clicks than a plain listing.

You need storefront access in your UltraCart account to follow this page.

Enable schema.org on your storefront

  1. Sign in and go to Main Menu → StoreFronts → [select your storefront host].
  2. Select Search Engine Optimization.
  3. Select Enable Schema.org Markup.

UltraCart then outputs Microdata for the content types it supports, across the storefront.

Add the ITEMSTRUCTUREDDATA element

The storefront-wide setting covers the defaults. For item pages, add the ITEMSTRUCTUREDDATA element in the Visual Builder so each item emits its own structured data.

The ITEMSTRUCTUREDDATA element in the Visual Builder Hierarchy panel.

  1. Open your storefront in the Visual Builder.
  2. Switch to the Hierarchy view.
  3. Insert the ITEMSTRUCTUREDDATA element where you want it on the item page.

The element has one setting.

The ITEMSTRUCTUREDDATA element settings panel.

SettingWhat it does
Default Price Valid For DaysHow long the published price stays valid. Defaults to 7 days.

The Visual Builder writes the schema.org markup into the page source from then on.

note

You do not edit a template to add structured data. Enable the storefront setting, then add the ITEMSTRUCTUREDDATA element to your item pages. Both steps happen in the UltraCart interface.

Verify your markup

View the page source in your browser and look for the generated markup, or run the URL through Google's Rich Results Test to see what Google can actually extract.

Where to go next

Was this page helpful?