WCMp Advanced Frontend Manager
-
AuthorPosts
-
-
September 29, 2022 at 11:20 PM #142409
jeffersonballer100
ParticipantHi, I’m using WC-MARKETPLACE PLUGIN, I want to display Vendors Address on the Product Listing page.
Please I need your Assistance to do so, In addition there’s no Cash on Delivery in payment options.
E.g: StoreName, Address, Email. should be shown on product listing page.Thank you.
-
September 30, 2022 at 5:22 PM #142434
GeekyCoder Abhirup
ModeratorHi,
Kindly add below code to your active theme function.phpadd_action('woocommerce_after_shop_loop_item', 'wcmp_custom_vendor_data_after_product', 7 ); function wcmp_custom_vendor_data_after_product() { global $post; $vendor = get_wcmp_product_vendors($post->ID); if($vendor) { $address = $vendor->get_formatted_address(); $email = $vendor->user_data->user_email; echo $vendor->page_title . '<br>'; echo $address . '<br>'; echo $email . '<br>'; } }
CopyRegards,
-
September 30, 2022 at 11:42 PM #142443
jeffersonballer100
ParticipantOkay i will try this and get back to you… How about Payment Option.. There’s no Pay On Delivery Option and user can not make Order…
Thanks for your replies.. I’ll be your best customer if i found this plugin very useful…
-
October 3, 2022 at 10:31 AM #142465
NerdySupportExpert Moumita
KeymasterHi, you need to enable the Pay on delivery, goto WooCommerce >> Settings >> Payment and enable the “Cash on the delivery option”. for further help, check this doc : https://woocommerce.com/document/cash-on-delivery/
-
October 8, 2022 at 8:58 PM #142718
jeffersonballer100
ParticipantI copied the above code to my theme function it works fine, But no search Plugin was able to lookup for the vendor’s address. By searching on my page.. Plugins only see products posted address can not be found. Please kindky Check and help. Thanks I’ll be waiting for your feedback.
-
October 10, 2022 at 6:33 PM #142735
NerdySupportExpert Moumita
KeymasterHi, the search features generally gets carried out by WooCommerce or the theme.
Now by default, they don’t add support for the vendor’s location.That is why you may use our vendor list shortcode, where user can search vendor by their location : [wcmp_vendorslist orderby=”registered” order=”ASC”]
It will create a page like this : http://wcmpdemos.com/all-in-one-demo/vendors/
-
December 15, 2022 at 9:54 AM #148059
Sangita Support Squad
KeymasterWe haven’t heard back from you. We presume this issue has been fixed, so we are closing this one.
if you need any further help, please do open another thread.
-
-
AuthorPosts
The topic ‘I want to display Vendors Address on Product Listing page’ is closed to new replies.