Originally Posted by Ajeh The weight is in: $_SESSION['cart']->weight How bad does this look? Code: if (IS_ADMIN_FLAG == false) { // disable if weight over 300lbs if ($_SESSION['cart']->weight('weight) > 300) { $this->enabled = false; } }
if (IS_ADMIN_FLAG == false) { // disable if weight over 300lbs if ($_SESSION['cart']->weight('weight) > 300) { $this->enabled = false; } }
Forum Rules