Configuration of Woo Subscription Cancellation Custom Rules
Applying Multiple Conditions for Subscription Cancellation on the Product Level
Go to WP Admin Panel > Products.
Choose any product for which you wish to configure subscription cancellation.
Locate “Product Data” and choose “Simple Subscription” from the dropdown.
Configuring Subscription Cancellation Rules:
Select Rule: Set separate configurations for when cancellation is allowed and when its not.
- Enable Cancellation: Choose this option to allow users to cancel their subscriptions based on the specified conditions.
- Disable Cancellation: Choose this option to prevent users from cancelling their subscriptions based on the specified conditions.
Interval for Cancellation Rule: Select the preferred interval type for the cancellation rule:
- Minute
- Hour
- Day
- Week
Enter Start Time: Define from when users can start or are prevented from cancelling the subscription.
Enter End Time: Define until when users can cancel or are prevented from cancelling the subscription.
Enable Cooling Period: The cooling period is the time before the start of the cancellation rule during which no cancellation rule settings will be applied.
Enter Cooling Period: Specify the length of the cooling period. The cooling period must be shorter than or equal to the starting time.
Cancellation Rule Applicable For: Specify the maximum number of billing periods or successful payments after which a user cannot cancel or reactivate their subscription.
Choose User Roles: Apply the subscription cancellation rule to specific user roles. Only the user roles added in the field will be affected by the rule.
- Administrator
- Editor
- Author
- Contributor
- Subscriber
- Customer
- Shop Manager
- Wholesale
- B2B
- Retailer
- Manager
Hide Switch Button: Enable this option to hide the switch button. The switch button allows users to switch to another subscription plan easily.
Hide Suspend Button: Enable this option to hide the subscription suspend button. The suspend button allows users to temporarily pause the subscription for a defined period.
Customize Cancellation Messages & Countdown Timer
Go to WooCommerce > Settings > Custom Cancellation Subscription Settings > Settings.
Disable Cancellation Message: Enter the message to be displayed when subscription cancellation is disabled for users.
Enable Cancellation Message: Enter the message to be displayed when subscription cancellation is enabled for users.
Enable Countdown Timer: Check the option to provide users with a visual countdown for cancellation eligibility.
Configure Display Options:
Year Display: Check this option to include years in the countdown timer.
Month Display: Check this option to include months in the countdown timer.
Days Display: Check this option to include days in the countdown timer.
Hours Display: Check this option to include hours in the countdown timer.
Minutes Display: Check this option to include minutes in the countdown timer.
Seconds Display: Check this option to include seconds in the countdown timer.
Select Template: Choose a template that fits the design and functionality you desire for the countdown timer.
Once all the settings have been configured, click on the Save Changes button to apply your customizations.
Styling the Countdown Timer
Go to WooCommerce > Settings > Custom Cancellation Subscription Settings > Style.
Countdown Timer General Styling:
Enable Cancellation Text Color: Set the text color for the countdown timer when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown timer when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown timer when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown timer when cancellation is disabled.
Styling Years Display in Countdown Timer:
Enable Cancellation Text Color: Set the text color for the countdown years display when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown years display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown years display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown years display when cancellation is disabled.
Styling Month Display in Countdown Timer:
Enable Cancellation Text Color for Month: Set the text color for the countdown months display when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown months display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown months display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown months display when cancellation is disabled.
Styling Days Display in Countdown Timer:
Enable Cancellation Text Color: Set the text color for the countdown days display when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown days display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown days display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown days display when cancellation is disabled.
Styling Hours Display in Countdown Timer:
Enable Cancellation Text Color: Set the text color for the countdown hours display when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown hours display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown hours display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown hours display when cancellation is disabled.
Styling Minutes Display in Countdown Timer:
Enable Cancellation Text Color: Set the text color for the countdown minutes display when cancellation is enabled.
Enable Cancellation Background Color for Minutes: Set the background color for the countdown minutes display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown minutes display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown minutes display when cancellation is disabled.
Styling Seconds Display in Countdown Timer:
Enable Cancellation Text Color: Set the text color for the countdown seconds display when cancellation is enabled.
Enable Cancellation Background Color: Set the background color for the countdown seconds display when cancellation is enabled.
Disable Cancellation Text Color: Set the text color for the countdown seconds display when cancellation is disabled.
Disable Cancellation Background Color: Set the background color for the countdown seconds display when cancellation is disabled.
Once all the styling options have been configured, click on the Save Changes button to apply your customizations.