Adding shop policies

You've added product description pages to the marketplace, populated with details pulled from storefronts. Each page has a Buy Now button taking buyers to a shop's online checkout. However, a competitive marketplace might have multiple shops selling the same product.

You want to show store policies, which could affect a buyer's decision to purchase from one shop over another. You'll surface store policies on the product pages, because buyers might arrive at the product page without having seen the shop's page.

In this tutorial, you'll use the Storefront API's shop object to include a store's terms of service and its refund, shipping, and privacy policies on marketplace product pages.

A gif showing the tabs on the product page being selected to display different information