How to add extra field to Bulk Edit option and filter on frontend

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 Marketplace How to add extra field to Bulk Edit option and filter on frontend

Viewing 1 reply thread
  • Author
    Posts
    • #121594
      anton
      Participant

      Hi guys,

      I added a dropdown extra field called “Country of origin” using the “Product Custom Field” menu in the Marketplace with pre-set list of country names.

      1) How do we add the ability for Marketplace admin and vendors to bulk edit this field?
      2) How to add a filter by this field on frontend which will show the list of values entered in this field?

      Thanks,

      Anotn

    • #121687
      Sushobhan
      Keymaster

      Hi,

      1. Please use wcfm_product_bulk_edit_end action to add your custom field to product bulk edit form. To save the custom field data use the following action-
      do_action( 'wcfm_product_bulk_edit_save', $product, $wcfm_bulk_edit_form_data );
      2. But for filtering products using this custom field, you have to use a WooCommerce product search plugin. You can use any suitable plugin for this purpose.

      Thank You

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