No. They can not refuse to sell you penny items that are in your cart. They can however not let you go back to get more items. Below is an email I received when I asked Dollar General about their policy: