pir81
Forum Replies Created
-
Hi @mosesmedh ,
unfortunately your statement
“Reviews can only be left by verified owners” setting, which will allow any logged-in user to leave a review.
is incorrect. That is exactly what we would like to achieve. But, if you disable the above setting ALL visitors are able to leave a review, even without login.
Forum: Plugins
In reply to: [WooCommerce] how to PUT in Postman to change Woo REST API meta_dataHi Shameen,
thank you for your reply
- the header includes “Content-Type” application/json
- I am using PUT (see inital post)
- I am using the full string (see inital post)
So I guess I have set up everyhting as it should be. Still something is wrong. I will try the Slack Channel. Thanks.
Forum: Plugins
In reply to: [WooCommerce] how to PUT in Postman to change Woo REST API meta_dataNo suggestions at all?
Forum: Plugins
In reply to: [WooCommerce] Delete all customers under “Woocommerce > Customers”I also figured out, what the steps are to make them “undeletable”. The user registers through woocommerce my_account (does not show in customers). Then a LearnDash course is assigned to them through users > all users (now they show up as customers). Even if you than remove the course from their account, they remain in the woocommerce list.
I will submit a ticket with LearnDash as well.
Forum: Plugins
In reply to: [WooCommerce] Delete all customers under “Woocommerce > Customers”Hi @igor,
the “Found a solution section” stating the following
- deleted the wp new created or unwanted users
- deleted data in wp_wc_customer_lookup table in PHPMyAdmin
- cleared the transient in woocommerce>status>tools
- Download this plugin –> https://ww.wp.xz.cn/plugins/transients-manager/
- Go to Wp-admin > Tools > Transients
- Click straight on DELETE ALL TRANSIENTS option at the top.
was exactly what needed to be done. Now my question is, why this is still an issue given that once I understood the issue and was looking how to best delete the wp_wc_customer_lookup table one comes across many other users having similar issues (from a few years ago!). To name just two other:
https://ww.wp.xz.cn/support/topic/delete-customers/page/2/
https://ww.wp.xz.cn/support/topic/deleting-customers-info/
Will there be a solution for this? The reason we needed it, was because I have found a bug in another plugin and we need to give access to the company without sharing any customer data. I believe that there should be a single button “delete all customers”.
Any thoughts on this?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Delete all customers under “Woocommerce > Customers”Hi @xue28
I have spoken to our provider. He confirmed that all caching was flushed. I am also working with chrome developer open and always flush any local caching on closing the browser.
So it does not seem to be a caching issue.
I have tested the proposed solution from the supplied link to delete all customers https://www.wpservices.com/2022/02/01/how-to-delete-all-customers-in-woocommerce/
SELECT * from wp_users where wp_users.ID not in ( SELECT meta_value FROM wp_postmeta WHERE meta_key = '_customer_user' ) AND wp_users.ID not in ( select distinct(post_author) from wp_posts )It returns with only 1 user, which is our test user and that is expected, that is the only other user/customer (besides admin) under “users > all users” in wordpress. It does not find the other 16 that are shown in the woocommerce backend “woocommerce > customers”
I also checked the following proposal to delete all orders https://www.wpservices.com/2022/01/31/how-to-delete-all-orders-in-woocommerce/ and ran the following code as “test preview”
DELETE FROM wp_woocommerce_order_itemmeta; DELETE FROM wp_woocommerce_order_items; DELETE FROM wp_comments WHERE comment_type = 'order_note'; DELETE FROM wp_postmeta WHERE post_id IN ( SELECT ID FROM wp_posts WHERE post_type = 'shop_order' ); DELETE FROM wp_posts WHERE post_type = 'shop_order';it came back with 0 actions as expected, as there are no orders under “woocommerce > orders”.
Any other suggestions on how to get rid of those customers?
Thanks
Forum: Plugins
In reply to: [WooCommerce] Delete all customers under “Woocommerce > Customers”Hi @xue28,
it seems the link you provided offers a solution for the 0 orders, but I really, really dislike messing directly with the database. So much could go wrong, when doing it manually. As it seems others have the same issue with 0 orders, would it be sensible to have a button to delete all customers (vs. just the ones that have 0+ orders)?
Thanks.
- This reply was modified 3 years, 1 month ago by pir81.