How to Auto Approve Product Review For Registered Customers in Magento 2

How to Auto Approve Product Review For Registered Customers in Magento 2

Customer Reviews are important and these statistics from Invespcro just shows how much:

  • Customers are likely to spend 31% more with a business that has “excellent” reviews.
  • 72% of consumers will take action only after reading a positive review.
  • 88% of consumers trust online reviews as much as personal recommendations.

Whether it is about finding a restaurant, selecting a phone, or choosing software for your business, reviews have a big role to play in the purchase decision.

For Magento 2, which is a platform for shopping variety of products, managing customer reviews can’t be just a low priority task. Unfortunately, Magento 2, by default, does not offer a system to automate the review approvals. When it comes to the product reviews by the registered customers, there is no need to look into it before making them live as they write genuinely without being bots! However, with a pile of work that admin has, approving a customer review to be displayed in the frontend, one by one, as it comes, is not feasible.

Hence, I have implemented a programmatic solution to auto approve product review for registered customers in Magento 2.

The reviews from registered customers can be considered genuine and flaunting them on the frontend only helps you leverage the below benefits:

  • Helps in analyzing and understanding the customers to improve customer service.
  • Credibility and social proof!
  • Leave a positive impression on potential customers with excellent reviews
  • Create customer loyalty
  • Improve rankings
  • Use this user-generated content for marketing
  • Customer engagement

The solution not only auto approves registered customers’ product reviews but also automatically send a “thank you” Email with a custom message. Acknowledging the customers’ efforts immediately is only the right thing to do! Again, automating it saves admin’s time.

Easily enjoy these benefits without having to manage the customer reviews manually in your Magento 2 store with the below solution:

Steps to Auto Approve Product Review For Registered Customers in Magento 2:

  1. Create registration.php file at Meetanshi/CustomModule/
  2. Create module.xml file at Meetanshi/CustomModule/etc
  3. Create events.xml file at Meetanshi/CustomModule/etc/frontend
  4. Create email_templates.xml file at Meetanshi/CustomModule/etc
  5. Create review.html file at Meetanshi/CustomModule/view/frontend/email/CustomModule
  6. Create ReviewApproveBefore.php file at Meetanshi/CustomModule/Observer

That was all about auto approving registered customers’ product reviews to be showcased in the frontend.

Customer reviews are here to stay, and the longer you wait to start leveraging them, the more you stand to lose.

Found the post helpful? Have any doubts? Feel free to write a comment below!


Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

(based on 21 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a reply:

Your email address will not be published.