public function Weight() { if ($this->ProductVariation()->Weight) { return $this->ProductVariation()->Weight; } return $this->Product()->Weight; }