BigCommerce Troubleshooting

Product rich results fail for a price range or variants

Rich results fail on price-range or variant products when the theme Offer lacks a valid price; render price and currency, nest ranges in priceSpecification, then retest.

Last updated · SEO, analytics and marketing · Applies to: Stencil themes based on Cornerstone, including custom themes that reuse its product schema template

Symptoms

  • The Rich Results Test or Search Console flags an error on product pages that show a price range, such as products whose variants have different prices, while single-price products on the same store pass.
  • The reported problem is that the Offer has no usable price. The exact message wording varies by tool, but it points at the price in the offers block.
  • Product snippets or merchant listings do not show in Google for those products, even though the page looks correct to shoppers.

Cause

The most common cause is the theme's product schema. In Cornerstone the markup lives in templates/components/products/schema.html. A public Cornerstone issue, still open, documents that when product.price.price_range is set, the template outputs minPrice and maxPrice on the Offer and omits price, which only appears in the single-price branch. The current template on the Cornerstone master branch still uses that conditional, so stock Cornerstone and themes derived from it can carry the problem. Google's product snippet documentation requires price or priceSpecification.price on an Offer, and a contributor on the issue points out that minPrice and maxPrice belong in a PriceSpecification, not directly on the Offer.

Other causes to rule out:

  • Duplicate Product markup. The theme outputs JSON-LD and an SEO or reviews app injects a second Product block with different prices.
  • Wrong offer type. Some suggested fixes switch to AggregateOffer. Google's product snippet documentation says AggregateOffer is for a product sold by multiple merchants and should not be used to describe a set of variants, and the merchant listing documentation requires an Offer because the merchant has to be the seller.
  • Invalid price values. Merchant listings require a price greater than zero, and priceCurrency is required when price is set. A priceValidUntil date in the past may stop the listing from showing. Stock Cornerstone sets it one year ahead, but custom templates may hard-code a date.
  • Variant URLs that do not preselect the variant, so the price on the page does not match the variant the URL represents.

Resolution

  1. Run the exact parent product URL, and one variant URL if you use them, through the Google Rich Results Test. Note every Product block it finds and the price fields in each one.
  2. If you see more than one Product block, decide which source owns product schema (the theme or one app) and turn off the other.
  3. Back up the live theme before editing. In the control panel, go to Storefront > Themes, open the Advanced menu on the current theme and choose Make a Copy, or download a copy of the theme. BigCommerce notes that copies count toward the limit of 20 custom themes.
  4. In schema.html, always render price and priceCurrency, outside the price_range conditional. If you want to express the range, move minPrice and maxPrice into a priceSpecification object instead of leaving them on the Offer. The contributor who posted this change on the Cornerstone issue reported that it validated in both the Schema.org validator and the Rich Results Test. Do not switch to AggregateOffer for a store that sells its own products.
  5. Confirm the rendered price is above zero, uses the correct three-letter currency code, and that any priceValidUntil value is in the future.
  6. For products with real options such as size or color, consider Google's product variant markup: a ProductGroup with hasVariant, variesBy and productGroupID, with each variant as a nested Product. Google requires that each variant can be preselected with a distinct URL that shows the right image, price and availability. This is a larger theme change, so test it on a copy of the theme first.
  7. Re-run the Rich Results Test on the same URLs and confirm the price errors are gone, then use URL Inspection in Search Console to request indexing. A passing test does not guarantee display, so check over the following weeks that product results appear for those pages.

If errors persist after one clean Product block validates, collect the test URL, the rendered JSON-LD and the theme version before asking your theme developer or BigCommerce support for help.

How to prevent it

  • Keep a short list of product URLs to retest after every theme upgrade or app install: a single-price product, a price-range product, a sale item and a variant URL.
  • When you merge an upstream Cornerstone release, check that your custom schema.html changes survived.
  • Allow only one source of Product structured data on the storefront.

B2B and ERP considerations

Google crawls as a guest, so the markup reflects guest pricing. On BigCommerce, guests get the pricing of the group set under Customers > Customer Groups > Manage Default Customer Groups, if one is assigned. Contract or group pricing for logged-in buyers should never appear in public markup. If an ERP connector or price sync can write a zero price, the Offer fails the merchant listing requirement for a price above zero, so check synced products after large imports. If you sell in several currencies, Google advises a distinct URL per currency, so test each one.

More in the BigCommerce knowledge base, including every article on SEO, analytics and marketing.