Resolvedgoogle map api issue
Tagged: GOOGLE MAP API ISSUE
- This topic has 8 replies, 2 voices, and was last updated 1 year, 5 months ago by
Althemist.
- AuthorPosts
- April 12, 2022 at 8:38 pm #33609
cloud2core
ParticipantHello, I have configurd the google map API KEY. but still it is not working.
Can i create ticket here for support.I don’t know that my query will be public or private here.I am sharing image link
April 12, 2022 at 8:39 pm #33610cloud2core
ParticipantHello, I have configurd the google map API KEY. but still it is not working.
Can i create ticket here for support.I don’t know that my query will be public or private here.I am sharing image link
https://yourimageshare.com/ib/cVOMixSgq3April 13, 2022 at 3:45 am #33613cloud2core
ParticipantThis reply has been marked as private.April 13, 2022 at 4:03 am #33614cloud2core
ParticipantHey I just fill the API KEY in theme option-> general. I am sharing it.
I just want to know that do we need to fill restricted key over here or non restricted key which we inserted in Lafka shipping setting or we need to create a new key?April 13, 2022 at 10:26 am #33618Althemist
KeymasterHello cloud2core,
It looks like you are using 2 identical API key where it has to be 2 different keys with different settings. The first key is recommended to be restricted so no one else can use it. The second key must not be restricted.
All this is clearly explained next to the API keys fields.
Key 1:
Note: Google Maps API Key may already be set in Theme Options. In this case it will be pre-filled.
If you don’t have API key, see how to Generate Google Maps JavaScript API key (Enable following APIs: Places API, Geocoding API, Distance Matrix API)Key 2:
If your main API Key has restrictions by HTTP referrers (web sites) you will need to enter a secondary API Key for the server to serve Distance Matrix API requests which is used for calculation of distance based shipping rates. This Key can not be restricted by HTTP referrers (web sites) and only need the Distance Matrix API activated.
April 13, 2022 at 10:33 am #33620cloud2core
ParticipantThanks for your reply. I think issue has been fixed now. But i have some other concerns please guide me since i need to show my running poruct to client so that i have get approval for further license.
(1)My major concern is that if i am going to create multiple branches having different products.
Now if I have already added some products as a super admin but not the store manager. now what will happen, if user will choose a store then he/she will see the products added by administrator or not.or
This is really confusing for me. I have added products using admin and later create branch but not added any product under that. when customer picks that branch then he is able to see all the proudcts added by admin however I have not added any proudct under that branch.April 13, 2022 at 10:56 am #33624Althemist
Keymaster1) If you set different products per branch, when the user select a branch from the location confirmation popup (no matter for delivery or local pickup) he/she will only see prodcuts assigned for that branch, not matter who created the products.
We have checked your website – users can’t see the products added to a different branch:
For example – you have a total of 16 products in drinks category, but I can only see 1 here:
https://vanpizzakitchen.com/product-category/drinks/
BTW, it looks like your default WooCommerce pages are messed. Your shop page also shows the cart. Check under WooCommerce > Settings > Products and WooCommerce > Settings > Advanced if all default pages are set correctly.
April 13, 2022 at 3:17 pm #33630cloud2core
ParticipantYea it is working now. I have also checked. thanks for your response. I have one minor query.
What I have observed when I open my website it ask me for addresss or choose the branch. If I have choosen one branch and later I open my website again, It does’t ask me for address or to select branch , it automatically shows previously selected branch products. I think it is a cache issue. How i can fix it. Please guide.April 14, 2022 at 9:39 am #33635Althemist
KeymasterThis functionality is tied with the WooCommerce session cookie. The system will ask for address again when the session expires. Meanwhile, you can enable the address info box in cart, minicart, checkout and shop pages, so your users can change the address if needed.
- AuthorPosts
You must be logged in and have valid license to reply to this topic.