rename myArray to cartEntries in getInventroryText()
replace cartEntries[i] by cartEntry in getInventoryText()
improve varibale names in getInventoryText()
use getPromotionCount() to improve getInventoryText()
format getInventoryText() code
improve text generation in getInventoryText()
remove addProperty()