Canadian e-commerce platform Shopify lost $1.2 billion in the second quarter as more customers returned to in-store shopping and e-commerce growth slowed from its pandemic highs. It also said it expects to post an adjusted net loss for the remainder of 2022.