Plan switching configuration is accessible at DMSI → Subscriptions Pro → General tab (Plan Switching section).
📌 What This Extension Adds: The plan switching feature toggle and proration method setting are provided by Subscriptions Pro. They do not exist in core DDLS.
Configuration Options #
| Option Key | Default | Description |
|---|---|---|
dmsilm_sp_plan_switching_enabled | false | Master toggle to enable the plan switching feature |
dmsilm_sp_proration_enabled | true | Whether to apply proration on plan switches (if false, switches are free) |
dmsilm_sp_proration_method | daily_rate | Proration calculation method: daily_rate or full_period |
Enabling Plan Switching #
- Navigate to DMSI → Subscriptions Pro → General tab.
- Enable the Plan Switching feature toggle (
dmsilm_sp_plan_switching_enabled= true). - Optionally configure the proration method and whether proration is applied at all.
Disabling Proration #
Set dmsilm_sp_proration_enabled to false to allow plan switches without any immediate charge or credit. In this mode, the customer is switched to the new plan immediately, and the new plan price takes effect at the next renewal. This is useful for stores that prefer simplicity over accurate proration.
Restricting Available Plans #
By default, customers can switch to any other subscription plan in the same product family. To restrict which plans a customer can switch to, use the dmsilm_sp_plan_switch_available_plans filter to return a filtered list of eligible plans.
Plan Mapping #
If your products use tiered pricing or product variations, ensure that plan switching is tested between all relevant product combinations. The proration engine compares plan prices by WooCommerce product ID/variation ID.
For the customer-facing plan switch experience, see Plan Switch Customer Experience.
