South African retail adapts to technological changes