Show Product Location not working

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Show Product Location not working

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #93494
      patrick
      Participant

      Hi,
      I have enabled to show product location on single product page, but this does not appear. Have entered the address in GEO my WP, updated WCFM to the latest version and we use the Woodmart theme.

    • #94016
      WCFM Forum
      Member

      HI,

      Well, this feature does not require GEO my WP plugin.

      It’s in built feature.

      Just be sure you have setup Map location for the product’s vendor.

      Thank You

    • #102990
      Sandeep Tiwari
      Participant

      Hi,

      I want to show product location in compare table of single product multiple vendor: just below vendor name for each vendor.

      Please help in getting me a response.

      Attachments:
      You must be logged in to view attached files.
    • #105835
      WCFM Forum
      Member

      Sure, please add this code to your site for the purpose –

      add_action('after_wcfmmp_sold_by_label_product_page', function( $vendor_id ) {
      	$store_user        = wcfmmp_get_store( $vendor_id );
      	$address  = $store_user->get_address_string();
      		
      	if( $address ) {
      		echo '<div class="wcfm-clearfix"></div>';
      		echo $address;
      		echo '<div class="wcfm-clearfix"></div>';
      	}
      });

      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

Viewing 3 reply threads
  • The topic ‘Show Product Location not working’ is closed to new replies.