vexil Posted January 22, 2015 Share Posted January 22, 2015 Hi, help needed how to get this query https://ohjelmat.posti.fi/pup/v1/pickuppoints?type=smartpost&zipname=helsinki&top=5 to show as drop down selection menu in pickup shipping addon? Store Pickup v1.5b (Shipping Module Addon) Thanks Quote Link to comment Share on other sites More sharing options...
burt Posted January 22, 2015 Share Posted January 22, 2015 What exactly are you trying to achieve ?A dropdown selection menu of what part of the XML (to make the options) ? I guess this: <Address>Kantelettarentie 1</Address> When the option is selected, what then ? Quote Link to comment Share on other sites More sharing options...
vexil Posted January 22, 2015 Author Share Posted January 22, 2015 Hi, this pickuppoint.json file have 5 diffrent pickuppoint in Helsinki and need to list "City", "PublicName", "Address", "Availability" in this order. HELSINKI, Pakettiautomaatti, Prisma Kannelmäki, Kantelettarentie 1, ma-pe 8.00 - 21.00, la 8.00 - 18.00, su 12.00 - 18.00 HELSINKI, Pakettiautomaatti, Prisma Viikki, Viikintori 3, ma-pe 8.00 - 21.00, la 8.00 - 18.00, su 12.00 - 18.00 ..... .... is it possible to get query using customers zip or city? from this url: https://ohjelmat.posti.fi/pup/v1/pickuppoints? I can searh picuppoints all over Finland using different keys after ?-mark: city=turku&top=5 shows 5nearest pickuppoints in Turku or zipcode=00100&top=10 shows 10 nearest pickuppoints in Helsinki [{"FetchLocationSequenceCode":1075,"Language":"FI","CountryCode":"FI","Address":"Kantelettarentie 1","City":"HELSINKI","AdditionalInfo":"Kauppakäytävällä, S-pankin vieressä","Availability":"ma-pe 8.00 - 21.00, la 8.00 - 18.00, su 12.00 - 18.00","ExceptionalAvailability":"","PupCode":"004253201","PupType":"SmartPOST","PickupTime":"16.00","PublicName":"Pakettiautomaatti, Prisma Kannelmäki","RoutingServiceCode":"3201","PostCode":"00425","Municipality":"Helsinki","LabelName":"c/o Pakettiautomaatti, Prisma Kannelmäki","ZipNames":[{"IsPrimary":true,"ZipName":"HELSINKI"},{"IsPrimary":false,"ZipName":"HELSINGFORS"}],"ZipCodes":[{"IsPrimary":true,"ZipCode":"00425"}],"MapLongitude":24.8911572,"MapLatitude":60.2368501},{"FetchLocationSequenceCode":1078,"Language":"FI","CountryCode":"FI","Address":"Viikintori 3","City":"HELSINKI","AdditionalInfo":"Parkkihallin sisääntuloaulassa","Availability":"ma-pe 8.00 - 21.00, la 8.00 - 18.00, su 12.00 - 18.00","ExceptionalAvailability":"","PupCode":"007953201","PupType":"SmartPOST","PickupTime":"16.00","PublicName":"Pakettiautomaatti, Prisma Viikki","RoutingServiceCode":"3201","PostCode":"00795","Municipality":"Helsinki","LabelName":"c/o Pakettiautomaatti, Prisma Viikki","ZipNames":[{"IsPrimary":true,"ZipName":"HELSINKI"},{"IsPrimary":false,"ZipName":"HELSINGFORS"}],"ZipCodes":[{"IsPrimary":true,"ZipCode":"00795"}],"MapLongitude":25.0081288,"MapLatitude":60.2272852},{"FetchLocationSequenceCode":1079,"Language":"FI","CountryCode":"FI","Address":"Ajomiehentie 1","City":"HELSINKI","AdditionalInfo":"Keskusaukiolla","Availability":"ma-pe 7.00 - 21.00, la 7.00 - 18.00, su 12.00 - 18.00","ExceptionalAvailability":"","PupCode":"003953201","PupType":"SmartPOST","PickupTime":"16.00","PublicName":"Pakettiautomaatti, Kauppakeskus Ristikko","RoutingServiceCode":"3201","PostCode":"00395","Municipality":"Helsinki","LabelName":"c/o Pakettiautomaatti, Kauppakeskus Ristikko","ZipNames":[{"IsPrimary":true,"ZipName":"HELSINKI"},{"IsPrimary":false,"ZipName":"HELSINGFORS"}],"ZipCodes":[{"IsPrimary":true,"ZipCode":"00395"}],"MapLongitude":24.851291,"MapLatitude":60.2388521},{"FetchLocationSequenceCode":1081,"Language":"FI","CountryCode":"FI","Address":"Tyynylaavantie 5","City":"HELSINKI","AdditionalInfo":"Market-taso, Citymarketia vastapäätä","Availability":"ma-pe 7.00 - 21.00, la 7.00 - 18.00, su 12.00 - 18.00","ExceptionalAvailability":"","PupCode":"009853201","PupType":"SmartPOST","PickupTime":"16.00","PublicName":"Pakettiautomaatti, K-citymarket Columbus","RoutingServiceCode":"3201","PostCode":"00985","Municipality":"Helsinki","LabelName":"c/o Pakettiautomaatti, K-citymarket Columbus","ZipNames":[{"IsPrimary":true,"ZipName":"HELSINKI"},{"IsPrimary":false,"ZipName":"HELSINGFORS"}],"ZipCodes":[{"IsPrimary":true,"ZipCode":"00985"}],"MapLongitude":25.1447426,"MapLatitude":60.2076017},{"FetchLocationSequenceCode":1086,"Language":"FI","CountryCode":"FI","Address":"Elielinaukio 2 G","City":"HELSINKI","AdditionalInfo":"2.krs, kaupunginkirjastoa vastapäätä","Availability":"Talvi 12.8.-26.5. ma-to 8-22 pe 8-20 la-su 12-18 / Kesä 27.5.-11.8. ma-to 9-20 pe 9-18 la-su 12-18","ExceptionalAvailability":"","PupCode":"001053201","PupType":"SmartPOST","PickupTime":"16.00","PublicName":"Pakettiautomaatti, Helsingin Pääposti","RoutingServiceCode":"3201","PostCode":"00105","Municipality":"Helsinki","LabelName":"c/o Pakettiautomaatti, Helsingin Pääposti","ZipNames":[{"IsPrimary":true,"ZipName":"HELSINKI"},{"IsPrimary":false,"ZipName":"HELSINGFORS"}],"ZipCodes":[{"IsPrimary":true,"ZipCode":"00105"}],"MapLongitude":24.9397235,"MapLatitude":60.1713943}] Quote Link to comment Share on other sites More sharing options...
burt Posted January 22, 2015 Share Posted January 22, 2015 You still have not explained what you are trying to achieve. Can you explain in very simple terms what is that you want your shop to do ? Quote Link to comment Share on other sites More sharing options...
vexil Posted January 22, 2015 Author Share Posted January 22, 2015 Hi, to get this kind of dropdown menu to checkout_shipping page: http://tinypic.com/r/2n7o56d/8 where customer can choose packageautomat where he/she pickup parcel i send? Quote Link to comment Share on other sites More sharing options...
burt Posted January 22, 2015 Share Posted January 22, 2015 So..now I understand. You need to get the customers nearest pickup points. You need to display a dropdown where they can select a pickup point for you to ship to. You need to have that pickup point displayed on the invoice and packing slip I guess ? Seems like a lot of work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.