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 5 years ago by
Sarmistha Chakraborty.
- AuthorPosts
- March 23, 2020 at 7:32 am #112759
memoryengravers
ParticipantIs 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
Sarmistha Chakraborty
MemberHello,
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 #112933
memoryengravers
ParticipantI 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
Sarmistha Chakraborty
MemberHi,
In PHP you need to write,
echo do_shortcode('[wcfm_store_info data=""]');
Thanks.
- March 24, 2020 at 12:36 pm #112939
memoryengravers
ParticipantWow, you blew my mind. THANK YOU!
- March 25, 2020 at 11:29 am #113058
Sarmistha Chakraborty
MemberYou 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 #112986
Steven Kuijpers
ParticipantThanks. Is there a way to do it without the added css as well?
- AuthorPosts
- You must be logged in to reply to this topic.