Suspect charged after being shot by store clerk during attempted robbery