These are some candy treats I made. The first two hold a mini candy bar. The "box" was made with a strip of paper that I scored 4 times, forming the top and botton, to fit the candy.The word window punch from Stampin' Up! is the perfect size to punch a slot to hold the candy. Then you adhere the strip just above the slot to hold it together. You can either adhere the front flap with a little adhesive, or use a velcro dot.
The slider box is really easy to make. Just wrap a piece of cardstock around a candy box and adhere (without adhering to the box.) Remove the candy, punch a hole on each side of the slider top, thread ribbon through both holes, slide your candy in the slider on top of the ribbon, push the box down and knot the ribbon at the top. Then when you pull the ribbon, the box slides up. You could do the same thing for candy bars, bags of popcorn, etc.