Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Vendor lat&lng BUG
Tagged: Bug
- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by SebastianFloKa.
- AuthorPosts
- May 12, 2020 at 5:32 pm #130026va30363Participant
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 - May 16, 2020 at 1:15 am #131540SebastianFloKaParticipant
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. - May 16, 2020 at 2:18 am #131555SebastianFloKaParticipant
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.
- AuthorPosts
- You must be logged in to reply to this topic.