Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Multi Vendor
- This topic has 10 replies, 2 voices, and was last updated 5 years ago by id.manage.
- AuthorPosts
- December 9, 2019 at 1:11 am #96627id.manageParticipant
Hi, may I ask you if I can hide more offers on product page while using single product multi vendor? Thanks
- December 9, 2019 at 1:12 pm #96699Ramamurthy KrishnanKeymaster
Hi,
Please add the below given code in your theme’s functions.php file. It’ll remove the “More Offers” tab from product page.
add_filter( ‘woocommerce_product_tabs’, ‘custom_remove_product_tabs’, 9999 );
function custom_remove_product_tabs( $tabs ) {
unset( $tabs[‘wcfm_product_multivendor_tab’] );
return $tabs;
}Thanks,
- December 9, 2019 at 5:44 pm #96758id.manageParticipant
Hey, MolayDas. Thank you, just tried, but the code doesn’t work.
- December 9, 2019 at 9:07 pm #96772Ramamurthy KrishnanKeymaster
Hi,
That code should work but still can you share me your website login credentials so that I can check.
Please send your login credentials as private message over here.Thanks,
- December 11, 2019 at 1:13 am #96948id.manageParticipantThis reply has been marked as private.
- December 12, 2019 at 1:09 pm #97207Ramamurthy KrishnanKeymaster
Hi,
Your website login credentials are not working, please check it once and do share us the correct one.Thanks,
- December 13, 2019 at 4:39 am #97328id.manageParticipantThis reply has been marked as private.
- December 16, 2019 at 12:39 pm #97608Ramamurthy KrishnanKeymaster
Hi,
Please check the login details for yourself once because its still not working.Thanks,
- December 16, 2019 at 6:23 pm #97639id.manageParticipantThis reply has been marked as private.
- December 18, 2019 at 11:39 am #97872Ramamurthy KrishnanKeymaster
Hi,
I’ve corrected the issue in your site, you can check it, its working now.
The given code was correct but there was a quotation issue.Corrected code without quotation issue given below:
add_filter( 'woocommerce_product_tabs', 'custom_remove_product_tabs', 9999 ); function custom_remove_product_tabs( $tabs ) { unset( $tabs['wcfm_product_multivendor_tab'] ); return $tabs; }
Thanks,
- December 18, 2019 at 4:16 pm #97898id.manageParticipant
It works now. Thank you so much. You are a star!
- AuthorPosts
- The topic ‘Multi Vendor’ is closed to new replies.