do walmarts erase your items if you didn't been on it

No, Walmart does not erase items from a customer's shopping cart if they have not visited the item in a while. Items will remain in the customer's cart until they are removed or purchased.