You can remember the meaning of 箱子 with this easy mnemonic:
I once got a box (箱) for a birthday present for my child (子), and he loved it. He also loves presents like suitcases or empty luggage bags.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.