Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
PUP options do not change when changing postal code in stores without geopositioning setup
PUP options do not change when changing postal code in stores without geopositioning setup
ID: 648604
Fixed
Published on 8/30/2022
Last update on 11/25/2022

Summary

When the store does not use a geolocalization setup and the user changes the postal code in the PUP component, it sends only the zip code to our backend which does not affect the distance actually, because this value is calculated based on the geoCoordinates, thus, even though the postal code is different, it maintains the same pickupDistance calculated previously.

Furthermore, if the user chooses the PUP and changes the postal code, in addition to not calculating the new distance as mentioned, it also allows passing postal codes that were not previously accepted.

Simulation

Go to a store without a geolocation setup and enter a valid postal code in the PUP. After that change the zip code to a new one, so you can see the distance doesn't change on the UI.

Workaround

No workaround.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback