1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions
  5. WooCommerce Subscriptions

Minimum Periods for WooCommerce Subscriptions

Overview of Minimum Periods ↑ Back to top

Minimum Periods for WooCommerce Subscriptions is an extension for WooCommerce that allows shop owners & administrators to restrict the display of the “Cancel” button for active subscriptions on the customer’s account page. Shop owners & administrators can provide access to that button by configuring the number of minimum payments/renewals that should be made before the “Cancel” button is available.

Installation ↑ Back to top

Once you’ve purchased Minimum Periods for WooCommerce Subscriptions, you can download the plugin from your confirmation email or WooCommerce account. To install it, follow these steps:

  1. Go to Plugins > Add New > Upload
  2. Select the ZIP file you just downloaded
  3. Click Install Now, and then Activate

Once you’ve installed and activated the plugin, navigate to WooCommerce > Settings > SubScriptions > Cancelling to configure the plugin.

More information at: Installing and Managing Plugins.

Setup and Configuration ↑ Back to top

Storewide Settings ↑ Back to top

 

To configure minimum periods for all subscriptions products, navigate to WooCommerce > Settings > SubScriptions > Cancelling:

  • Enable Cancelling: Enable to allow customers to cancel their active subscriptions. Disabling this means that no subscription on your website can be cancelled.
  • Minimum Period(s): Set the minimum number payments/terms (also known as payments) that a customer needs to have completed before the cancellation button is visible in the account page on the front-end. A payment is counted when the order status is set to Completed.
  • Show Paid Periods: Enable to show the number of paid periods/terms that have already been completed. This field will only be shown on the my-account page for your customer.
  • Show in Account Page: Enable to show the number of periods/terms that need to be completed before cancellation is possible. This field will only be shown on the my-account page for your customer.
  • Show as Subscription Meta: Enable to show the number of periods/terms that need to be completed as part of the subscription meta. This field will be shown on the checkout confirmation page, on the my-account page and in the order-confirmation emails.

Setting the number of Minimum Period(s) to 0 will result in customers being able to cancel their subscriptions immediately.

Per Subscription Settings ↑ Back to top

Minimum period settings on a per-subscription product basis.

To configure minimum periods on a per-product basis, navigate to Products > All Products > Your Subscription Product > Product Data > General > Cancelling:

  1. Select Override storewide settings to overide the default store settings outlined in the previous section
  2. Enter the number of Minimum Period(s) (also known as payments) that a customer needs to have completed for this subscription product before the cancellation button is visible in the account page on the front-end.

Per Variable Subscription Settings ↑ Back to top

Since version 1.1, minimum periods can also be configured on a per variable subscription basis. To configure minimum periods per variation, navigate to Products > All Products > Your Subscription Product > Product Data > Variations > Your Variation Cancelling:

  1. Select Override storewide settings to overide the default store settings outlined in the previous section
  2. Enter the number of Minimum Period(s) that a customer needs to have completed for this variation before the cancellation button is visible in the account page on the front-end.

Usage ↑ Back to top

On the customer’s account page under My-Account > Subscriptions, the customer will see the “Cancel” button if any of the following conditions are met:

  1. The Allow Cancelling checkbox is selected under WooCommerce > Settings > SubScriptions > Cancelling
  2. The Minimum Period(s) have been reached as configured in either the storewide settings or on the per-product settings

 

In instances where the Allow Cancelling checkbox is not selected or the Minimum Periods have not been reached, customers will only see the details of the subscription without having an option to cancel.

Hiding the cancel button when minimum periods have not been reached.

Frequently Asked Questions ↑ Back to top

Will the cancel button be hidden immediately upon activation of the extension?

Yes – As soon as the extension is activated, the “Cancel” button will be hidden on the customer’s account page on the front-end.


How are minimum periods calculated?

Minimum periods are based on the number of completed orders that have been placed (a new order is created for each renewal). This also includes the initial order of the subscription product. As an example: If a subscription can only be cancelled after the first renewal, the minimum period to set is 2. This includes the original order and the first renewal.


Can I configure minimum periods for variable subscriptions?

Yes – Since version 1.1, minimum periods can be configured for both simple subscriptions and variable subscriptions.


Is it legal to hide a subscription cancellation button?

This varies between countries. Before disabling the “Cancel” button, we recommend discussing potential implications with a legal professional.


Will minimum periods apply to current subscriptions or only to new subscriptions?

It will apply to all current and future active subscriptions. Deactivating the extension also means that the cancellation button will be visible for all subscriptions.


Does minimum periods disable the “Suspend” button as well?

No – At the moment, Minimum Periods for WooCommerce Subscriptions will only remove the “Cancel” button. To hide the “Suspend” button for all subscription products, configure the settings under WooCommerce > Settings > Subscriptions > Customer Suspensions to 0.


Can customers cancel during a free trial?

Yes – Free trials by their very nature mean that no payments have taken place yet and that they’ll only have the product for a trial period (unless cancelled or the subscription is processed). During the trial period, subscriptions can be cancelled regardless of the minimum period that is configured.


Is it possible to show the number of paid terms/periods on the my-account page?

Yes – Version 1.4 allows store owners/manager to configure settings under WooCommerce > Settings > Subscriptions > Cancelling > Show Paid Periods to optionally display the number if paid terms/periods on the my-account page. If enabled, the my-account page will look as follows:


Is it possible to show the minium terms/periods for the subscription on the my-account page?

Yes – Version 1.4 allows store owners/manager to configure settings under WooCommerce > Settings > Subscriptions > Cancelling > Show in Account Page to optionally display the number if minimum periods on the my-account page.

When configured correctly, the subscription overview on the front-end under the my-account page will appear as follows:


Is it possible to show the minium terms/periods for the subscription on order confirmation emails?

Yes – Version 1.5 allows store owners/managers to configure settings under WooCommerce > Settings > Subscriptions > Cancelling > Show in Subscription Meta to optionally display this information on the order confirmation page, the my-account page and the order confirmation page.

When configured correctly, the subscription meta information containing the minimum periods will look as follows:

WooCommerce

The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment