Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › add vendor details to product page
- March 23, 2020 at 7:32 am #112759
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 #112787
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/
- March 24, 2020 at 11:32 am #112933
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 #112934
In PHP you need to write,
echo do_shortcode('[wcfm_store_info data=""]');
- March 24, 2020 at 12:36 pm #112939
Wow, you blew my mind. THANK YOU!
- March 25, 2020 at 11:29 am #113058
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?
- You must be logged in to reply to this topic.