This research focuses on students’ online purchase intentions in Pakistan toward different products available for sale on numerous e-business websites. This study’s main objective is to determine which methodology is better to enhance customer online purchase intention. It also aims to discover how to improve perceived benefits and lower perceived risks associated with any available online product and entrepreneurship. AMOS 24 has been used to deal with the mediation in study design with bootstrap methodology. The study was conducted on 250 students from different educational institutes in Pakistan using a simple random sampling technique. A finding of this study suggests that both methods positively impact online purchase intention of consumers and sustainable digital economy. But social media advertisement is more effective through enhancing the perceived benefits of products. In contrast, product content factors are more effective at lowering the perceived risks associated with available online products.