President Cyril Ramaphosa has given all spaza shops in South Africa 21 days to register with their local municipalities or face closure.