mcguffin / acf-quickedit-fields

WordPress Plugin implementing Column Displaying, QuickEdit and BulkEdit for Advanced Custom Fields (ACF)
https://wordpress.org/plugins/acf-quickedit-fields/
GNU General Public License v3.0
359 stars 49 forks source link

Quick Edit now showing in admin WC products list if have this condition #157

Closed MakarovW closed 11 months ago

MakarovW commented 11 months ago

image

mcguffin commented 11 months ago

Sorry, no cyrillic skills on my side. Can you switch to english, and post the screenshot again? Thanks.

MakarovW commented 11 months ago

This happens if you choose to display a group of fields for a record of the “product” type, and not display it if the product has a taxonomy that is not equal to the specified one. The problem is that the product does not have the specified taxonomy, but the quick edit field is not displayed for one product or a group of selected products.

MakarovW commented 11 months ago

image

MakarovW commented 11 months ago

image image But if we leave only the rule to display “product” for post types, then quick edit displays a group of fields. As soon as you add the “and” do not display condition for the specified taxonomy, quick edit no longer displays the group of fields, although the record does not belong to a taxonomy that is prohibited from displaying.

mcguffin commented 11 months ago

Thanks, I can see now. The plugin is searching for field groups that match the current admin view. Including taxonomy filters like categories, etc.

The problem with your field group are the not equal rules – there is no "not in category" option in the products list, so there no matching field group is found for your current list view.

This (ACF related) behaviour has always caused much confusion among users and support requests to answer for me and I am currently trying to figure out a proper solution. Here is a sneak preview (field group settings):

grafik
MakarovW commented 11 months ago

Thanks.