You don't have to store coconut oil in the refrigerator. You can store it in a clean container in the pantry. As long as the surrounding temperatures are not high, it should keep well. This way, the oil will have a smooth, creamy texture that's perfect for spreading.
Put coconut oil in plastic bottles. If it freezes you can melt it by dropping some hot water on the bottle and it will melt and can be used as required. You can keep the bottle in sunlight for some time it will melt.