Woocommerce License Manager - Bulk Edit
-
@Dan-Korneff I've got 400 lines to edit - is there a practical way to do it in myPHPAdmin?
-
@DanH you can do it using a SQL command ('UPDATE') . I'm not an expert but you can easily Google it.
-
@Matt_SF Thanks, I'm going to abort, seems too risky!
-
@DanH Test it on a staging environment! You can then decide to do it or not
-
@Matt_SF real devs only test on production.
My advice is to test on a Friday evening as well and take the weekend off
-
-
@DanH said in Woocommerce License Manager - Bulk Edit:
Out of interest what's the best method to set up a staging area?
I just have a clone of my server running on my proxmox system. Some web hosts provide a dedicated staging system that allows you to test changes before automatically pushing them to the live server, I prefer to do it manually though.
-
@DanH
If you have a decent hoster you can just hit the staging button and it automatically copy over your setup to a new server.If this is not available for you. Contact support and get a new dedicated server migrated by them professionally.
If none of these are available you will need to buy a new WP hosting package, then use one of the numerous export Wordpress plugins to that will export all your wordpress setup and data. Install the same plugin on the new clean wordpress and import your setup.
CAUTION - please do good research for the export plugin here since you are dealing with customer data, this will also probably cost some money.
@d-healey my recommendation is usually not to do this manually. In your case its fine since its a super minimal setup with good plugin choice but for the average wordpress user it causes more trouble.
-
@oskarsh said in Woocommerce License Manager - Bulk Edit:
use one of the numerous export Wordpress plugins to that will export all your wordpress setup and data
If you're going this route then follow this video - https://www.youtube.com/watch?v=tIurrwfsCOg&t=22s
-
@DanH i've had this plugin for quite some time, because my host back then didn't offer a staging environment, and I was a complete beginner : https://wpvivid.com/
I don't use it to push the changes I'm making, but it's a wp plugin so it's an easy-to-use solution -
@DanH you can do it with a single line of code. Do you know the table and key you want to change?
-
@Dan-Korneff I've got the name of the table yep. I need to change the maximum activation amount on a specific product id.