Shopify managed to reduce selling expenses in Q2 2024 by optimizing efforts and implementing strategic cost management1. The company's commitment to maintaining a healthy gross margin profile and investing in its platform to fuel growth, while keeping operating expenses in check, contributed to this reduction.