Tell yourself (If this happens again)... If I really want it... (whatever it is) I can have it tomorrow. They will be available tomorrow. I don't need it now!
That's how I get past that urge! (98% of the time LOL)
Good for you bypassing them yesterday!