Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › add vendor details to product page
- This topic has 6 replies, 3 voices, and was last updated 4 years, 9 months ago by Sarmistha Chakraborty.
- AuthorPosts
- March 23, 2020 at 7:32 am #112759memoryengraversParticipant
Is there some example code of pulling vendor details in php to display in the single product page ? my emarket theme refuses to display the vendor name, so I’d like to pull all the details based on the product displayed and show the shop name, maybe their avatar, and the url to their site. Thank you.
- March 23, 2020 at 2:38 pm #112787Sarmistha ChakrabortyMember
Hello,
You can use “[wcfm_store_info id=”” data=””]” shortcode in your product page.
Please check this link : https://wclovers.com/knowledgebase/wcfm-marketplace-widgets-short-codes/Thanks.
- March 24, 2020 at 11:32 am #112933memoryengraversParticipant
I really need the PHP code as the product page isn’t editable in either Elementor or WP Bakery.
- March 24, 2020 at 11:39 am #112934Sarmistha ChakrabortyMember
Hi,
In PHP you need to write,
echo do_shortcode('[wcfm_store_info data=""]');
Thanks.
- March 24, 2020 at 12:36 pm #112939memoryengraversParticipant
Wow, you blew my mind. THANK YOU!
- March 25, 2020 at 11:29 am #113058Sarmistha ChakrabortyMember
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.
- March 24, 2020 at 8:42 pm #112986Steven KuijpersParticipant
Thanks. Is there a way to do it without the added css as well?
- AuthorPosts
- You must be logged in to reply to this topic.