The short version first: on WooCommerce you control the whole stack, and the markup comes from more than one place. WooCommerce itself emits only basic markup, your SEO plugin generates the fuller Product block, and your theme may emit one of its own. So your check concentrates on the two places WooCommerce shops actually fail: two sources writing the same facts differently, and a crawl or checkout path that a plugin or theme setting quietly blocks.

One source of truth, or none

Start by opening a live product page, viewing the page source, and searching for application/ld+json. Which blocks do you see, and where did each one come from? Look up whether your theme writes its own schema before you change any settings.

When the theme and the SEO plugin both write Product markup, you have two sources of truth, and an agent reading the page has no way to choose between them. Most themes with built-in schema have a setting to switch it off, and both Yoast and Rank Math let you disable their schema output per content type. Use one of those switches. WooCommerce's own documentation describes a Rich Snippets extension that adds structured data, which is a sign of the same split: the platform does not own the markup end to end, so the store owner has to choose one source and stick to it.

The variant trap

Next, look at a variable product with mixed stock, an out-of-stock product, and a product with reviews. Does the availability value match the actual stock for the variant shown? Does the price match the price a shopper sees? Add GTIN, UPC, or MPN values on your products where you have them, since identifiers help engines match your product across sites.

The trap is per-variant availability. The default plugin output does not always set availability per variant, so open the source of a specific variant URL and read the availability value for that variant. If it is wrong, fixing it is a developer job: a small custom plugin or code snippet can correct the availability value per variation. If you are the owner and not a developer, do not edit theme or plugin code alone.

The crawl file lives in two places

Open your robots.txt file at [yourdomain.com]/robots.txt, replacing yourdomain.com with your actual domain. It should let OAI-SearchBot, Googlebot, PerplexityBot, and ClaudeBot through. WordPress builds this file on the fly, and WooCommerce itself adds no entries to it, so the base WordPress rules apply unless a plugin or a physical file changes them.

There are two ways to change it, and they do not behave the same. The easy way is the file editor inside your SEO plugin, for example Yoast SEO or Rank Math, which writes the rules for you from the WordPress admin. The developer way is a physical robots.txt file uploaded to the server root, which WordPress defers to entirely. If you use the plugin route, check the live file afterwards at your robots.txt URL, since a physical file left over from an earlier setup will override the plugin.

Keep the cart, checkout, and account pages out of search results with a noindex setting instead of a robots.txt block, so a crawler can still read the page and see the noindex instruction.

Your sitemap is the other half of this check. WordPress builds a basic XML sitemap on its own, and most SEO plugins replace it with a fuller sitemap index that links to separate sitemaps for posts, pages, products, categories, and tags. Find your sitemap index, most stores have it at [yourdomain.com]/sitemap_index.xml, replacing yourdomain.com with your actual domain, and look for your products in it. A page marked noindex belongs outside the sitemap, and that is what keeps the cart, checkout, and account pages out of it.

Try to buy as a guest

Add a product to the cart and go to checkout without logging in. You need to see shipping, tax, and a total before any payment step, and your shipping zones and payment gateway need to cover the address and method you test with. A store that forces an account before showing shipping stops an agent with no account in its tracks. Make sure your shipping and returns policies exist as real pages that load, and that shoppers can find a way to reach you. Without a total the agent can compute, the order cannot be completed, no matter how good the markup is.

The two protocol routes, and what to confirm first

Google's Universal Commerce Protocol and OpenAI's Agentic Commerce Protocol are the two routes that let an agent buy without leaving its own interface. The Google route needs a Merchant Center account in good standing with approved products, return policies and support information set in Merchant Center, and the checkout eligibility attribute set on the products you want to offer. The OpenAI route is an approved-partner path, not a switch that works for every store. For both, confirm the current availability for your store with the platform before you build against them. A store that has set up neither route can still be bought from by an agent that browses like a human and checks out on the site, as long as the markup and the guest checkout pass the checks above.

A bike parts shop with two blocks

Picture a bike parts shop on WooCommerce with 40 products, half of them variable. You check the page source and find the theme emits a thin Product block with just name and price, while Rank Math emits a fuller one with availability and ratings. The robots.txt file lets the search crawlers through, and the sitemap index lists the product. Checking out as a guest shows the shipping cost before the payment step. You switch off the theme's schema output, keep Rank Math, add the GTIN values on your best sellers, and spot-check a variant that is out of stock to confirm the markup says OutOfStock. After that there is one source, complete identifiers, and availability an agent can rely on.

What this guide does not do

This guide covers checking whether an agent can buy from your WooCommerce store today. It does not cover building a protocol checkout integration, which is engineering work with the platform, or keeping prices and availability accurate as inventory changes, which is ongoing monitoring. It also does not cover running your own shopping agent, which sells from the fixed data this check verifies.

Frequently Asked Questions

Does WooCommerce add product markup by itself?

Only basic markup. In practice an SEO plugin such as Yoast SEO or Rank Math generates the fuller Product block for every product page. Check what your store actually outputs before you assume it is covered.

My theme and my SEO plugin both add Product markup. Which one should I keep?

Pick one. Switch off the theme's schema output or switch off the plugin's schema output for products. Two blocks with different prices is worse than one incomplete block.

How do I edit robots.txt on WooCommerce?

The easy route is the file editor inside your SEO plugin, from the WordPress admin. The developer route is a physical robots.txt file in the server root. If you use the plugin route, check the live file afterwards, since a leftover physical file will override it.

Where is my WooCommerce sitemap?

Usually at [yourdomain.com]/sitemap_index.xml, replacing yourdomain.com with your actual domain, when an SEO plugin is active. WordPress also builds a basic sitemap on its own. Confirm your products are listed in whichever one your store uses.

Can an agent buy from my WooCommerce store without a protocol integration?

Yes. An agent that browses like a human can check out on your site if the markup is right and guest checkout works. The protocol routes are a second option, for buying inside the assistant itself.