Documents
-
Customizing the My Subscriptions Page
WooCommerce Subscriptions adds a My Subscriptions section to the My Account page to help customers manage their subscriptions more easily. If you want to customize the My Subscriptions section, you can modify the template associated with it. You can update the template the same way you override core WooCommerce templates. Look for the template is […]
-
Introduction to Subscriptions Developer Documentation
This documentation is written for WooCommerce developers who want to extend or integrate with the Woo Subscriptions plugin. To follow this documentation, you need an advanced understanding of PHP and WordPress development. If you intend to support Subscriptions in your payment gateway extension, read this overview and then the Payment Gateway Integration Guide. If you […]
-
Complete Guide to Scheduled Events with Subscriptions
Subscriptions Scheduled Events Overview Scheduled events are actions that happen at particular times. WP-Cron and Action Scheduler are systems that trigger and run events. Both of these systems run in the background of a WordPress website. Action Scheduler excels at batch processing, storing the actions, error logging, and providing an interface for interacting with the […]
-
Developer Guide to Cart and Recurring Cart Fees
The following guide is written for developers who want to add fees to the WooCommerce cart and would like to learn about how these fees interact with WooCommerce Subscriptions. The guide explains how fees added to the cart act by default, and how they can be customized to be applied only to the initial order […]
-
Subscriptions Data Structures & Storage
This guide introduces the fundamentals of the data structures used to instantiate and work with subscription data with the WooCommerce Subscriptions extension. It is not intended to provide tutorials on how to achieve certain tasks with the subscription object, or as a comprehensive reference of all the subscription properties and methods. This documentation is written […]
-
Subscriptions Action Reference
If you are looking for a guide to creating and managing subscription products in a WooCommerce store, please refer to the Store Manager Guide instead. This document provides a reference for a few of the more important action hooks triggered by the WooCommerce Subscriptions extension. It is not an exhaustive list of all actions triggered […]
-
Subscription Order & Cart Function Reference
The Subscription Order & Cart Function Reference guide provides a reference for a few utility functions in the WooCommerce Subscriptions code base, relating to orders and the cart. It is neither exhaustive nor instructive of when to use these functions. It is simply intended as a reference for a few public functions that 3rd party […]
-
Subscription Product Function Reference
The WC_Subscriptions_Product class is the Subscription extensions counterpart to the WC_Product class. It is used to extend the WC_Product class provide an API for accessing details of a subscription product type. This Subscription Product Function Reference guide is for WooCommerce developers who want to extend or integrate with the WooCommerce Subscriptions plugin. To follow this […]
-
Subscriptions Filter Reference
This document provides a reference for a few of the more important filter hooks triggered by the WooCommerce Subscriptions extension. If you are looking for a guide to creating and managing subscription products in a WooCommerce store, please refer to the Store Manager Guide instead. This is not an exhaustive list of all filters applied […]
-
Subscriptions Management Function Reference
The WC_Subscriptions_Manager class is responsible for managing the subscription across its lifecycle. This involves updating subscription statuses when certain events occur, like order status changes, preparing renewal orders when a scheduled renewal payment is due and deleting subscriptions when a user’s account is deleted. For example, subscription activation and cancellation functions are hooked directly to […]