Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Remove vendor name on Shop page, keep only in Product page
- This topic has 4 replies, 2 voices, and was last updated 5 years, 3 months ago by WCFM Forum.
- AuthorPosts
- July 30, 2019 at 4:26 pm #74540Kelanvest SBParticipant
I want to set Seller/Vendor name on single product page. But when i enabling it to WCFM sold by option then It also showing in Shop page too. need to show it only single product page mean when user go in to single product option to see the details about product then want it. Your help is required.
- July 30, 2019 at 4:52 pm #74550Kelanvest SBParticipant
1. I think I should remove something from CSS. Could you please tell me where should I find that CSS?
2. I need my star rating to be centered. So I should add this CSS?
.post-type-archive-product .wcfmmp_sold_by_container .wcfmmp-store-rating {margin: 0 auto;}Which location?
- August 3, 2019 at 5:55 am #74934WCFM ForumMember
Hi,
Please don’t use CSS for such purpose.
Use this code snippet –
add_filter( 'wcfmmp_is_allow_archive_product_sold_by', '__return_false' );
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/Thank You
- August 7, 2019 at 4:28 am #75598Kelanvest SBParticipant
Solved. Big thanks!
- August 9, 2019 at 1:26 pm #75958WCFM ForumMember
Great … thanks for the update 🙂
- AuthorPosts
- The topic ‘Remove vendor name on Shop page, keep only in Product page’ is closed to new replies.