What I said was that I entered the store not knowing and that I didn't know while shopping. When I did find out what was going on I left the store. (approx. 2 mins. prior to my friend) I didn't think I needed to go into the details for thus forum but since you all think I'm guilty as hell, I will.....When I left the store, before my friend, I was pulled aside by the security guy and told not to make a scene. He showed me his badge and held me by the arm until he saw my friend coming out and that is when we were arrested.
I tried to leave when I realized what was going on. And I was not trying to get the "get-a-way-car"....we were on foot.
By the way, I don't know where the heck you come from, but $400 in california won't fill one basket, especially if you buy any meat!
If you didn't have the intent to steal, then you aren't guilty. Therefore, the prosecutor will have to prove beyond a reasonable doubt that you intended to steal the groceries. What does your friend (the one who definitely stole the groceries) say about your involvement? If she claims that she acted alone, that will probably go a long way. Of course, she'd be admitting that she's guilty.
As for whether the crime is burglary or petty theft:
459. Every person who enters any ... store ... with intent to commit grand or petit
larceny or any felony is guilty of burglary. As used in this
chapter, "inhabited" means currently being used for dwelling
purposes, whether occupied or not.
460. (a) Every burglary of an inhabited dwelling house, vessel, as
defined in the Harbors and Navigation Code, which is inhabited and
designed for habitation, floating home, as defined in subdivision (d)
of Section 18075.55 of the Health and Safety Code, or trailer coach,
as defined by the Vehicle Code, or the inhabited portion of any
other building, is burglary of the first degree.
I'm stuck on "dwelling," which usually means people live there. It doesn't sound like the grocery store would meet that definition. Perhaps somebody with more knowledge of California law can comment.