Recharge Developer Docs
Recharge offers plenty of flexibility out of the box, but in some cases, you might need to add custom functionality to a site that goes beyond basic design changes. The Recharge Developer Documentation, also known as Dev Docs, bridges the knowledge gap between our user Help Center and a technical audience.
This guide covers example use cases for using the Dev Docs, customizations you can achieve using our guides, and common questions.
Recharge widget customization
In the Dev Docs, find guides for complex widget customization beyond Recharge's built-in settings. You'll find guides that show you how to create a custom widget and other advanced customizations.
The Advanced widget use cases guide explains how to use Recharge client-side commands to create and inject a widget, or multiple widgets, into your storefront.
Custom storefronts
Some users may have complex needs for presenting subscription information to customers. The out-of-the-box product page may not fit a user's website branding or users may need to integrate Recharge with an external ecommerce platform that we don't natively support. With the use of the Recharge API and Recharge's Dev Docs, there are a variety of custom solutions to fit your needs.
Understand Recharge's platform
If you're new to Recharge, you can use the Dev Docs to understand how each piece of the platform interacts.
See the API Endpoints articles to understand how each API resource can be used on its own to build custom functionality.
FAQ
Where can I find tutorials and code samples for achieving specific functionality on Recharge?
You can find specific how-to guides within the Dev Docs:
- Add an item to cart with Ajax
- Redirecting to the checkout from an Ajax cart
- Using custom line item properties
- Confirming upgrade of subscription-cart-footer.liquid file
- Creating buy one, get one promotions
- Hiding properties on the cart page
- Offering the subscription option on specific variants
- Create an Add to cart button on any page with Ajax (Recharge Checkout on BigCommerce)