public void SetQuantity(string newDisplayText)
 {
     quantityInputField.gameObject.SetActive(false);
     if (product != null)
     {
         int newQuantity = 0;
         if (int.TryParse(newDisplayText, out newQuantity))
         {
             product.SetQuantity(newQuantity);
         }
     }
     else if (bud != null)
     {
         float newWeight = 0;
         if (float.TryParse(newDisplayText, out newWeight))
         {
             bud.SetWeight(newWeight);
         }
         newDisplayText += "g";
     }
     quantityDisplayText.text = newDisplayText;
 }