I\'m having issues with creating an item and assigning the ID for the category it belongs to. sorry for the long code below I hope I can find some answers.
class