At arraignment, the District Attorney may offer a plea to a lesser charge than what you were arrested for originally. Pleas are offered to unburden an extremely congested criminal court calendar, as well as to get rid of lesser criminal cases so the District Attorney can rightfully concentrate on the more serious crimes.
If you were arrested for misdemeanor shoplifting and you arrive at the arraignment with no prior arrests, most likely the District Attorney will offer you the option of pleading guilty to a lesser violation and a few days of community service with a fine. You have the option to end the process by accepting the lower charge of a violation, which is not a crime but will appear on your record in the future.
If you accept the plea then you will actually plead guilty to a lesser offense on the record and the court will most likely impose a fine and community service or counseling, depending upon what you and the District Attorney agreed to.
If you don