There are no pre-requisites in order for you to be able to implement this solution.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.
Need support with the snippet? We’re Here to Help You, Contact Us!
The WooCommerce review form uses the default WordPress comment form and adds a few sprinkles of meta data, the star rating being one of these meta fields. This guide gives you a visual insight into where the hooks are in the WooCommerce review form. You’ll notice in each of the hook callbacks, we’ve wrapped the echo output in an if statement to check if the review form is on the product page using the function is_product(). This allows us to leave the blog post form untouched, meaning edits are only made to the review form.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.