public function isWithinWeight()
 {
     $totalWeight = StoreCart::getCartWeight();
     $maxWeight = $this->getMaximumWeight();
     if ($max != 0) {
         if ($totalWeight >= $this->getMinimumWeight() && $totalWeight <= $this->getMaximumWeight()) {
             return true;
         } else {
             return false;
         }
     } elseif ($totalWeight >= $this->getMinimumWeight()) {
         return true;
     } else {
         return false;
     }
 }