Hiding fields

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!

Viewing 3 reply threads
  • Author
    Posts
    • #80500
      contact8732
      Participant

      Hello, please could you help me? On /store-manager/products/ how do I hide:

      1. The filter at the top that is says “Archived (0)”
      2. The box and text of “Products Limit: Unlimited”
      3. The area/row that says: Show 25 entries, Filter by category, All Product types, Search
      4. The column “Type”
      5. The button that says ‘Archive’ (in the ‘Actions’ column in each Product row)
      6. The row at the bottom that that lists the column titles: Image icon, Status, Price, Product, Views, Date (it is enough for me to only have it at the top, not necessary to have at the top and bottom)

      Thank you for your support

    • #80578
      WCFM Forum
      Keymaster

      HI,

      1. The filter at the top that is says “Archived (0)”

      Add this PHP –
      add_filter( 'wcfm_is_allow_archive_product', '__return_false' );

      2. The box and text of “Products Limit: Unlimited”

      Add this PHP –

      add_filter( 'wcfm_products_limit_label', function( $label ) {
        return '';
      }, 100 );
      

      3. The area/row that says: Show 25 entries, Filter by category, All Product types, Search

      Add this CSS –

      #wcfm-products_length, #wcfm-products_filter, .wcfm_products_filter_wrap.wcfm_filters_wrap {
          display: none!important;
      }

      4. The column “Type”

      – Disable this using WCFM Screen Manager – https://www.loom.com/share/1d44dae5b0c24ef7a06483beb72461af

      5. The button that says ‘Archive’ (in the ‘Actions’ column in each Product row)
      – Point 1 code will remove this as well

      6. The row at the bottom that that lists the column titles: Image icon, Status, Price, Product, Views, Date (it is enough for me to only have it at the top, not necessary to have at the top and bottom)

      – Add this CSS –

      #wcfm-products tfoot {
          display: none !important;
      }

      Add PHP codes 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

    • #80595
      contact8732
      Participant

      Thank you very much 🙂

    • #80599
      WCFM Forum
      Keymaster

      You are always welcome 🙂

      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.