> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://ordergroove.ferndocs.com/docs/the-subscription-lifecycle/enrollment/add-a-subscription-to-cart/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ordergroove.ferndocs.com/_mcp/server. # Add a subscription to cart > APIs, SDKs, and guides for building subscription commerce with Ordergroove. ## Docs - [Troubleshooting Cart Offers](https://ordergroove.ferndocs.com/docs/the-subscription-lifecycle/enrollment/add-a-subscription-to-cart/troubleshooting-cart-offers.md) - [Offer Code Elements](https://ordergroove.ferndocs.com/docs/the-subscription-lifecycle/enrollment/add-a-subscription-to-cart/offer-code-elements.md) - [Domain Objects](https://ordergroove.ferndocs.com/docs/the-subscription-lifecycle/enrollment/add-a-subscription-to-cart/domain-objects.md) - [Helper Methods](https://ordergroove.ferndocs.com/docs/the-subscription-lifecycle/enrollment/add-a-subscription-to-cart/helper-methods.md)