Details
Description
See http://www.blesta.com/forums/index.php?/topic/4156-inactive-domain-packages-still-active/
When a package is set on a domain&other order form as the domain package, it can be selected on the first step of the order process after checking domain availability.
However, if the package itself is marked Inactive, the domain availability page still lists available domains with pricing from that package. Selecting one of the pricings and attempting to continue to the next step will redirect back to the domain availability step.
The domain package should not be available for use on the order form when inactive. Because the order form would be rendered useless if the domain package is inactive, we may want to consider how best to handle that case.
e.g. if all domain packages in the order form's domain package group are inactive:
- redirect users away from the order form altogether
- start the process with the other packages set for the order form, if possible
- allow users to check domain availability, but not show pricing, or the ability to continue
e.g. if at least one domain package in the order form's domain package group are active:
- only show TLDs available to the active packages
This needs to be simplified:
This will ensure proper functionality, while at the same time alert users to issues they've created (assigned a package group with no active packages to an order form).