The purpose of this study is to analyse consumer legal protection in buying and selling through online media from the perspective of consumer protection law and effective consumer dispute resolution in the current era of digital advancement in Indonesia. This type of normative juridical research approach concentrates on the principles, systematics, and synchronisation of laws and regulations to uncover problems, conditions, or events as they exist in order to uncover factual findings. The results of the study explain two options for resolving consumer disputes through court (litigation) or outside the court (non-litigation) in Indonesia in cases of electronic commerce or e-commerce for consumers in the digital era, in accordance with Law Number 8 of 1999 concerning Protection Consumer. The Supreme Court (MA) issued Supreme Court Regulation (MA) number 4 of 2019, which regulates the procedure for handling simple lawsuit cases with a simple lawsuit mechanism. The Supreme Court (MA) has implemented a web-based e-court system that makes it easier for both parties to a dispute to submit documents, make payments, and issue subpoenas online or electronically. The Online Dispute Resolution (ODR) system can be used to enhance other conflict resolution procedures, such as e-commerce dispute cases in Indonesia. Therefore, Law Number 8 of 1999 concerning Consumer Protection in Consumer Dispute Resolution needs to be updated. Procedures for resolving consumer disputes online related to trade or e-commerce in the digital era in Indonesia must be accommodated more specifically in the changes to these laws and regulations. Thus, the current legal framework and explanation of the consumer dispute resolution process can be more appropriate, compatible, and inclusive of all consumer dispute resolution processes via the internet or online.