How to Set Minimum Order per Customer Group

Just tryed this new version (prestashop and I have more problems with this one on a version, with this cart-summary.js file the total amount of the cart is not updated on onepage checkout when you modifiy quantity.

 How to set minimumPurchase amount for a group in Presta

if (self::$cookie->id_customer)
$customer = new Customer((int)(self::$cookie->id_customer));
if ($customer->isMemberOfGroup(???))
$minimalPurchase = ???;

replace ??? with your variables!