Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Hide Shipping tab from settings
Tagged: filter
- This topic has 4 replies, 2 voices, and was last updated 5 years ago by Sushobhan.
- AuthorPosts
- November 11, 2019 at 5:10 pm #91802Jamie O’ReillyParticipant
Hi there Vendors are using per product shipping which they access through the shipping settings in ther products section. So to avoid confusion I’d like to hide the Shipping tab in the Settings section so they only have one place to add their shipping info to.
Can you give me a filter please?
Thank you - November 11, 2019 at 5:42 pm #91818SushobhanKeymaster
There is a settings for that. Go to Capability menu from your admin dashboard and disable ‘Shipping’ under ‘Panels’ section. See image https://ibb.co/Dbgm1tY
- November 11, 2019 at 8:08 pm #91851Jamie O’ReillyParticipant
Ah thank you – the thing is that we need them to be able to access the shipping settings in the per product shipping and they won’t be able to do this is I switch it off in panels. Thanks for the idea though
- November 11, 2019 at 8:32 pm #91852Jamie O’ReillyParticipant
So to be clear shipping by zones will be selected at admin level but invisible to vendors who will only see per product shipping in their products shipping section. Is there some code for this please? Thank you
- November 12, 2019 at 5:34 pm #91991SushobhanKeymaster
Sorry I misunderstood your query. 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/
add_filter('wcfm_is_allow_vshipping_settings', '__return_false');
- AuthorPosts
- The topic ‘Hide Shipping tab from settings’ is closed to new replies.