With online shopping reshaping people’s buying habits, here is how to integrate mobile apps.