The 17-year-old, who cannot be identified, appeared before Wigan Youth Court to admit the weapon possession in Millgate car park and the theft from B&M Bargains on March 27.
His youth rehabilitation order also includes a three-month, electronically-tagged curfew between 7pm and 7am.
There is also £107 to pay victim services and the court.