Adamm Posted March 12, 2019 Share Posted March 12, 2019 So if we have 3 products in WHMCS e.g. Small Biz, Medium Biz, Large Biz We want to limit "Small" to 4 x Add-ons, Medium to 8 x Add-ons and Large can have up to 16 Add-ons Any way of doing this? via the client and the admin areas 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 13, 2019 Share Posted March 13, 2019 On 12/03/2019 at 11:42, Adamm said: Any way of doing this? via the client and the admin areas not from the settings - there's no built-in method to limit addons, or products for that matter, to a client... there was a free addon that could limit products to a client, but I can't think of a similar one for product addons. from a technical point of view, you could write a hook (ShoppingCartValidateCheckout) to limit the number of addons in the cart.. though it may have to go further than that, e.g to check if they're logged in and upgrading, and then check how many active addons they already have. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.