Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Multi Vendor
- This topic has 10 replies, 2 voices, and was last updated 5 years, 2 months ago by
id.manage.
- AuthorPosts
- December 9, 2019 at 1:11 am #96627
id.manage
ParticipantHi, 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 #96699
Ramamurthy Krishnan
KeymasterHi,
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 #96758
id.manage
ParticipantHey, MolayDas. Thank you, just tried, but the code doesn’t work.
- December 9, 2019 at 9:07 pm #96772
Ramamurthy Krishnan
KeymasterHi,
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 #96948
id.manage
ParticipantThis reply has been marked as private. - December 12, 2019 at 1:09 pm #97207
Ramamurthy Krishnan
KeymasterHi,
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 #97328
id.manage
ParticipantThis reply has been marked as private. - December 16, 2019 at 12:39 pm #97608
Ramamurthy Krishnan
KeymasterHi,
Please check the login details for yourself once because its still not working.Thanks,
- December 16, 2019 at 6:23 pm #97639
id.manage
ParticipantThis reply has been marked as private.- December 18, 2019 at 11:39 am #97872
Ramamurthy Krishnan
KeymasterHi,
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 #97898
id.manage
ParticipantIt works now. Thank you so much. You are a star!
- AuthorPosts
- The topic ‘Multi Vendor’ is closed to new replies.