How to Overwrite a Woocommerce Widgets

Customizing Wocommerce widget is great if you want something to remove or add inside a function.

To do that first you will need to copy the widget you want to edit for example I choose the recent review widget .

You can find the original when you go into wp-content > plugins > Woocommerce > includes > widgets and then copy it on your theme folder.

Make sure you will create a folder name woocommerce in your theme folder.

After that you will need to start to edit the class widget.

Then add this code in your functions.php. Change the include_once URL ofcourse.