Adding a speed bump to your shopping can help curb impulse buys.