A deal you can't resist! Get upto 35% Off on this entire cyber week.

00Day 03Hr 35Min 47Sec

Add product form – view subcategories

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Vendors Add product form – view subcategories

Viewing 1 reply thread
  • Author
    • #82359


      In the add product form, the vendor can see the categories to fill in but he has to click on the arrow to see the subcategories and then check the box (images attached).

      I would like to display directly the categories and subcategories (the seller no longer needs to click on the arrow) (image attached)

      Do you know if it’s possible ?

      Best regards

      You must be logged in to view attached files.
    • #82811
      WCFM Forum


      Please add this code to your site –

      add_action( 'after_wcfm_products_manage', function() {
      	jQuery(document).ready(function($) {
      		setTimeout(function() {
      			$('#product_cats_checklist').children('.product_cats_checklist_item').each(function() {
      				if( $(this).children('.product_taxonomy_sub_checklist').length > 0 ) {
      		}, 1000);
      }, 50 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.