Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Hiding fields
- This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by WCFM Forum.
- AuthorPosts
- September 7, 2019 at 12:06 am #80500contact8732Participant
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
- September 7, 2019 at 12:08 pm #80578WCFM ForumMember
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 well6. 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
- September 7, 2019 at 1:04 pm #80595contact8732Participant
Thank you very much 🙂
- September 7, 2019 at 1:12 pm #80599WCFM ForumMember
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.
- AuthorPosts
- You must be logged in to reply to this topic.