I was reading the other day about how if you don't want to be tempted by something, just put it where you can't see it.
At the time I thought 'yeah, right, my inner KitKat monitor would still go off whenever I was within a 10 meter radius'
But I hid the offending (white choc OMG) KitKat, and do you know, I haven't thought about it or been tempted by it since. And we usually have a bag of mixed nuts in the cupboard right on eye level - I used to help myself to a handful every time I made a cup of tea (same cupboard). But now they are at the back of a draw, and I haven't thought about mixed nuts for weeks.
It works!