Taxonomy bug still not fixed (since April)
-
I wrote you email in April showing you bug where it’s impossible to chose any taxonomy in product grid or carousel woodmart widget. Simply nothing happens when you try to type category, brand or anything similar. Widget is practically worthless and unusable.
On April 14th i reported this bug and you gave me following patch:
function woodmart_vc_autocomplete_taxonomies_field_search( $search_string ) { $data = array(); $taxonomy = array( 'product_cat', 'product_tag' ); if ( woodmart_woocommerce_installed() && function_exists( 'wc_get_attribute_taxonomies' ) ) { foreach ( wc_get_attribute_taxonomies() as $attribute ) { $taxonomy[] = 'pa_' . $attribute->attribute_name; } } $vc_taxonomies = get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => false, 'search' => $search_string, ) ); if ( is_array( $vc_taxonomies ) && ! empty( $vc_taxonomies ) ) { foreach ( $vc_taxonomies as $t ) { if ( is_object( $t ) ) { $data[] = vc_get_term_object( $t ); } } } return $data; }
This patch is no longer working as well. Please fix the issue.
Attachments:
You must be
logged in to view attached files.
Hello,
This code is no longer needed and you can remove it. But there is a different issue; you have the following list of empty attributes. You need to remove them and the problem will be gone
Širina rezanja (metalna oštrica)
Širina rezanja (žica za trimere)
Tip podešavanja visine košenja
Tip podešavanja visine rezanja
Kind Regards
Yes, removing empty attributes has solved the issue. Thank you!
Great, you are welcome! Feel free to contact us if you have any further questions.
The topic ‘Taxonomy bug still not fixed (since April)’ is closed to new replies.