How can we improve WHMCS?

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

API Include quantity min and max and order with getproducts on config options and custom fields

when calling API getproducts it should include quantity min and max and the order so it can be added to a website easier without any additional sql calls to get it such as below to get the additional information. so if something is like 50 we can use the price it gets and times it by 50.

foreach ( Capsule::table('tblproductconfigoptions')->where('id', $data->id)->get() as $pco) {
$pid["qtymin"] = $pco->qtyminimum;
$pid["qtymax"] = $pco->qtymaximum;
$pid["order"] = $pco->order;

Post the first comment

Login to post a comment.