• Resolved Mintal

    (@mintal)


    Hello!

    I can’t allow Woocommerce product categories in settings.
    (Integrates well with Easy Digital Downloads and WooCommerce, allowing you to re-order product categories and terms.)

    Please help me.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @mintal,

    We purposely exclude WooCommerce’s Product Categories because it comes with drag-and-drop re-ordering by default (you can re-order the tabs by grabbing this https://imgur.com/a/Jan9384).

    If you’d like to enable it, you can use this filter function:

    add_filter( 'yikes_simple_taxonomy_ordering_ignored_woocommerce_taxonomies', 'enable_yikes_sto_for_product_categories', 10, 1 );
    
    function enable_yikes_sto_for_product_categories( $taxonomy_slugs ) {
    	unset( $taxonomy_slugs[1] );
    	return $taxonomy_slugs;
    }

    Cheers,
    Kevin.

    • This reply was modified 6 years, 7 months ago by yikesitskevin.
    Thread Starter Mintal

    (@mintal)

    I don’t know why but the default orderin doesn’t work for me. I have tried it but it won’t work.
    Here you can see: https://recordit.co/m5OavSF86p

    • This reply was modified 6 years, 7 months ago by Mintal.
    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    I see. Did you try ordering through our plugin via the filter function?

    Thread Starter Mintal

    (@mintal)

    Not yet.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce’ is closed to new replies.