Vendor lat&lng BUG

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!

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #130026
      va30363
      Participant

      Hi,

      there is a bug at plugin “WCFM – WooCommerce Multivendor Marketplace”, when a vendor get registered for the first time the lat and lng are not gona be saved in wp_usermeta table.

      To fix go to file \wc-multivendor-marketplace\helpers\class-wcfmmp-store-setup.php and betwen lines 963-1009 add this:

      if (isset($wcfm_setup_data['store_lat']) && !empty($wcfm_setup_data['store_lng'])) {
                      update_user_meta($user_id, '_wcfm_store_lat', $wcfm_setup_data['store_lat']);
                      update_user_meta($user_id, '_wcfm_store_lng', $wcfm_setup_data['store_lng']);
                  }

      Add this fix to next update!
      thanks

    • #131540
      SebastianFloKa
      Participant

      Hi @va30363

      just figured out during testing that I have entered geo-information of a shop but open the store-manager of this vendor there’s not even the possibility to enter a location, nor is the one entered during checkin safed. I assume that’s the issue you are talking about.

      The issue is, if I open the mentioned file it has only 726 lines. Do you mind to send a screenshot of the section where to implement this, please?
      Thank you very much.

    • #131555
      SebastianFloKa
      Participant

      But checking from admin backend the store-location was safed properly and is displayed correctly as set during the setup-process with the setup-widget. But for vendor it’s not visible (screenshot).

      Also not OK is that the PayPal API credentials (direct PayPal Pay – plugin) were not safed properly, they disappeared after setup-widget-process


      @sushobhan
      – what’s your opinion on this, please?

      Attachments:
      You must be logged in to view attached files.
Viewing 2 reply threads
  • You must be logged in to reply to this topic.