How to Enable Revisions for WooCommerce Products

By default, WooCommerce does not work with WordPress revisions.

You will need to add some code to the functions.php file in your theme. Click here to see this code. You can copy-and-paste those 12 lines code into the end of your theme’s functions.php file.

Once that’s done, you can see the revisions in action:

  • Go to edit a WooCommerce product.
  • Make a change to the product.
  • Click “Update”.
  • In the right sidebar, you will see the new “Revisions” link.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Categories and tags have vanished

The problem ended up being that system alerts had caused certain functions to shut down. One of...

Leverage Browser Caching

<IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month"...

How to deactivate all plugins when not able to access the administrative menus?

Sometimes it may be necessary to deactivate all plugins, but you can't access the administrative...

How to Move a WordPress Website from HTTP to HTTPS/SSL

Configuring WordPress for SSL/HTTPS Links in WordPress (such as image attachments, themes CSS...

WordPress Security - Base64 and eval

WordFence has a scanner that can find base64 and eval code. You can use CPANEL file manager to...