Feature Requests
Share ideas, discuss and vote on requests from other users in community
This object is in archive! 

Action Hook for Configurable Options Upgrade

James Wang shared this idea 3 years ago
Under Consideration

As of now, there is no action hook or any way to validate configurable options when upgrading through the WHMCS client area.

You can use the hook "ShoppingCartValidateProductUpdate" to validate configurable options when adding the product to the cart, but clients can simply upgrade their package right after ordering to overcome these limitations.

Comments (1)


This is really important validation to be performed. Modules needs to validate not only if an upgrade of an option is possible, but more important if a downgrade is possible. This is specially applicable to SaaS services where you sell some licenses / SKU, you must check before accepting the order the current usage of such SKU and block / correct the downgrade request before going to checkout