Shopify
import { Render, GlossaryTooltip } from "~/components";
<Render file="provider-guide-intro" params={{ providerName: "Shopify", providerAssets: "websites" }} product="cloudflare-for-platforms" />
Benefits
O2O routing also enables you to take advantage of Cloudflare zones specifically customized for Shopify traffic.
How it works
For more details about how O2O is different than other Cloudflare setups, refer to How O2O works.
When you set up O2O routing for your Shopify website, Cloudflare enables specific configurations for this SaaS provider. Currently, this includes the following:
- Workers and Snippets are disabled on the
/checkoutURI path.
Enable
You can enable O2O on any Cloudflare zone plan.
To enable O2O on your account, create a CNAME DNS record.
| Type | Name | Target | Proxy status |
|---|---|---|---|
CNAME |
<YOUR_SHOP_DOMAIN> |
shops.myshopify.com |
Proxied |
Once you save the new DNS record, the Cloudflare dashboard will show a Shopify icon next to the CNAME record value. For example:

:::caution[Do not use Always Use HTTPS]
Do not enable the Always Use HTTPS setting in an O2O scenario with Shopify.
This setting forces a redirect on all requests, including the /.well-known/acme-challenge/* URI path used for HTTP-01 domain validation. This prevents Shopify from automatically provisioning or renewing SSL certificates via Let's Encrypt for your domain.
Instead, create a redirect rule to enforce HTTPS while excluding the validation path mentioned above (use a wildcard pattern like /.well-known/acme-challenge/*).
:::
For questions about Shopify setup, refer to their support guide.
Product compatibility
Zone hold
<Render file="provider-guide-zone-hold" params={{ providerName: "Shopify" }} product="cloudflare-for-platforms" />
Additional support
<Render file="provider-guide-help" params={{ providerName: "Shopify" }} product="cloudflare-for-platforms" />
DNS CAA records
For details about CAA records</ GlossaryTooltip> refer to the Shopify documentation.
谢谢你的反馈!