How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Add a way to get the OrderProductPricingOverride product price inside the OrderProductUpgradeOverride hook



With this feature, you can use the OrderProductPricingOverride to set a price for a product with a certain configurable location selected, for example, you have a product with locations and you have a location that needs to be charged extra (Miami) for example will be charged $3 extra from the rest of locations.

In the hook, we will set the product with this config option to have a price of $6.00, let's say the product itself was $3.

So now in the OrderProductUpgradeOverride we can get that override price from the product and use it to give the client the proper upgrade price.

Post the first comment

Login to post a comment.