Repository navigation
fix: Pickup Point ID that IS expects - #2916
Merged
Merged
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
1 task
lariciamota
marked this pull request as ready for review
June 23, 2025 20:59
lariciamota
requested review from
emersonlaurentino,
gabpaladino,
hellofanny and
lucasfp13
and removed request for
a team,
emersonlaurentino and
gabpaladino
June 23, 2025 20:59
lucasfp13
approved these changes
Jun 23, 2025
lariciamota
added a commit
that referenced
this pull request
Jun 23, 2025
## What's the purpose of this pull request? When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS. ## How it works? Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID when we use the Checkout's API for Pickup Points. IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be like we're sending (`<account>_<seller>_<pickuppoint_id>`). Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format. ## How to test it? If you want to test the core, remember to change `discovery.config.default.js` to use the `vendemo` config and also change the `hideUnavailableItems` to `true`. You can also test it using the `vendemo` previews. Using a Recife CEP, in a PLP/Search page (example `/apparel` page), filter by pickup point `VTEX Recife` - it should return results and not a empty search page. <img width="1499" alt="Screenshot 2025-06-23 at 17 45 56" src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98" /> ### Starters Deploy Preview - Preview without the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/ - Preview with the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/ [PR](dp-faststore-org/vendemo-dp#37) ## References - [Slack thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota
added a commit
that referenced
this pull request
Jul 2, 2025
## What's the purpose of this pull request? When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS. ## How it works? Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID when we use the Checkout's API for Pickup Points. IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be like we're sending (`<account>_<seller>_<pickuppoint_id>`). Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format. ## How to test it? If you want to test the core, remember to change `discovery.config.default.js` to use the `vendemo` config and also change the `hideUnavailableItems` to `true`. You can also test it using the `vendemo` previews. Using a Recife CEP, in a PLP/Search page (example `/apparel` page), filter by pickup point `VTEX Recife` - it should return results and not a empty search page. <img width="1499" alt="Screenshot 2025-06-23 at 17 45 56" src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98" /> ### Starters Deploy Preview - Preview without the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/ - Preview with the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/ [PR](dp-faststore-org/vendemo-dp#37) ## References - [Slack thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
hellofanny
pushed a commit
that referenced
this pull request
Jul 2, 2025
## What's the purpose of this pull request? When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS. ## How it works? Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID when we use the Checkout's API for Pickup Points. IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be like we're sending (`<account>_<seller>_<pickuppoint_id>`). Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format. ## How to test it? If you want to test the core, remember to change `discovery.config.default.js` to use the `vendemo` config and also change the `hideUnavailableItems` to `true`. You can also test it using the `vendemo` previews. Using a Recife CEP, in a PLP/Search page (example `/apparel` page), filter by pickup point `VTEX Recife` - it should return results and not a empty search page. <img width="1499" alt="Screenshot 2025-06-23 at 17 45 56" src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98" /> ### Starters Deploy Preview - Preview without the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/ - Preview with the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/ [PR](dp-faststore-org/vendemo-dp#37) ## References - [Slack thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota
added a commit
that referenced
this pull request
Jul 24, 2025
## What's the purpose of this pull request? When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS. ## How it works? Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID when we use the Checkout's API for Pickup Points. IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be like we're sending (`<account>_<seller>_<pickuppoint_id>`). Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format. ## How to test it? If you want to test the core, remember to change `discovery.config.default.js` to use the `vendemo` config and also change the `hideUnavailableItems` to `true`. You can also test it using the `vendemo` previews. Using a Recife CEP, in a PLP/Search page (example `/apparel` page), filter by pickup point `VTEX Recife` - it should return results and not a empty search page. <img width="1499" alt="Screenshot 2025-06-23 at 17 45 56" src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98" /> ### Starters Deploy Preview - Preview without the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/ - Preview with the fix - https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/ [PR](dp-faststore-org/vendemo-dp#37) ## References - [Slack thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota
added a commit
that referenced
this pull request
Jul 28, 2025
## What's the purpose of this pull request? Feature branch for the Delivery Promise feature - phase 1.2 (filters by shipping method). - #2803 - #2826 - #2845 - #2847 - #2851 - #2852 - #2847 - #2872 - #2886 - #2909 - #2916 - #2918 - #2922 - #2887 - #2944 - #2953 - #2956 - #2955 - #2961 - #2962 ## How it works? <!--- Tell us the role of the new feature, or component, in its context. Provide details about what you have implemented and screenshots if applicable. ---> ## How to test it? <!--- Describe the steps with bullet points. Is there any external link that can be used to better test it or an example? ---> ### Starters Deploy Preview <!--- Add a link to a deploy preview from `starter.store` with this branch being used. ---> <!--- Tip: You can get an installable version of this branch from the CodeSandbox generated when this PR is created. ---> ## References - [Jira epic](https://vtex-dev.atlassian.net/browse/SFS-2038) ## Checklist **Documentation** - [ ] For documentation changes, ping `@Mariana-Caetano` to review and update (Or submit a doc request) --------- Co-authored-by: Lucas Feijó <[email protected]> Co-authored-by: Fanny Chien <[email protected]> Co-authored-by: Fanny Chien <[email protected]> Co-authored-by: Otavio Moreira Meirelles <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's the purpose of this pull request?
When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS.
How it works?
Checkout returns
<seller>_<pickupppoint_id>as the Pickup Point ID when we use the Checkout's API for Pickup Points.IS expects the Pickup Point ID to be
<account>_<pickuppoint_id>or the Checkout format<seller>_<pickupppoint_id>. It doesn't expect it to be like we're sending (<account>_<seller>_<pickuppoint_id>).Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format.
How to test it?
If you want to test the core, remember to change

discovery.config.default.jsto use thevendemoconfig and also change thehideUnavailableItemstotrue.You can also test it using the
vendemopreviews.Using a Recife CEP, in a PLP/Search page (example
/apparelpage), filter by pickup pointVTEX Recife- it should return results and not a empty search page.Starters Deploy Preview
PR
References