Get rid of "enquiry button" on product page view

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
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Get rid of "enquiry button" on product page view

Viewing 1 reply thread
  • Author
    • #97313


      I am builidn a marketplace where depending on the product we don wanna to have any “enquirys”.
      So i would like to know in what file of the plugin, or into what hook is hooked the displaying of this button, so i con modify when i want it to be displayed.

      I attach a photo showing the button i refer to.

      You must be logged in to view attached files.
    • #98226

      You can use ‘wcfm_is_allow_product_enquiry_bubtton’ filter and add your conditions. Refer to the sample snippet-

      function add_your_conditions_here(status) { //default status is true
          if(YOUR CONDITIONS) return false; //enquiry button will not show when false is returned
          return status;
      add_filter('wcfm_is_allow_product_enquiry_bubtton', 'add_your_conditions_here');
Viewing 1 reply thread
  • The topic ‘Get rid of "enquiry button" on product page view’ is closed to new replies.