Answer the question
In order to leave comments, you need to log in
WordPress. woocommerce. Some items are not editable. How to be?
There is a site on Wordpress (4.4.2 with the Sommerce theme) + Woocommerce 2.5.5.
Everything worked until the site was hacked.
The site and databases were restored from a backup copy of the host. Everything worked, but some of the images disappeared (it was decided by changing the rights to the /wp-content/uploads/ folder and using the Regenerate Thumbnails plugin) and, the most unpleasant thing, some of the products stopped being edited. That is, the products are all visible, but in some of them, any changes in the product card are not saved and there are no fields (for example, "A short description of the product").
What I did:
- reinstalled Wookommerce and Wordpress
- deleted all products using SQL query and uploaded again.
SQL query:
DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type = 'product');
DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type = 'product');
DELETE FROM wp_posts WHERE post_type = 'product';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question